Hello, I'm using leadtools version 17 and C#.NET.
Until now, to set one image in Pixel Data I've used these methods:
img = new RasterImage(
RasterMemoryFlags.User,
raw_columns, //of raw data
raw_rows, //of raw data
.., //nbit grayscale
RasterByteOrder.Gray,
RasterViewPerspective.TopLeft,
null,
pData, //pointer to raw data
nbyte // of raw data
);
DicomElement pixelDataElement = ds.InsertElement(.., .., DicomTag.PixelData, .., .., ..);
ds.SetImage(pixelDataElement,
img,
..,......);
Now, I need to set a multiframe image (concatenation of raw data of frames) in Pixel Data .
I can use :
ds.SetImages(pixelDataElement,
img //images to set
....);
But how to create the RasterImage multiframe (img) ?? How to pass the correct parameters of all the frames (raw_columns, raw_rows, pData, nbyte)??
Thanks