Hi...
I want to get single frame of a Multi-Frame DICOM file without load all in memorie.
I work with MinGW and Msys and the latest snapshot doesn't work here...
I've make a method that get the pixelData of a specified frame directly from a file (using DcmFileInputStream).
After I clone my dataSet and I modify the NumberOfFrames to 1 and the pixelData with the new single pixelData.
At this point I can create my DicomImage.
The first problem comes when my frame is compressed (for example RLE).
I think that I can use the same way and during the creation of the DicomImage I can register my codec (this way works with single frame DICOM files).
I try and when I create a DicomImage with a single frame of a compressed multi-frame DICOM Image (RLE) the result is an image wrong (not decompressed).
What is it wrong under my reasonment?
Thanks
Question about decodeFrame()
Moderator: Moderator Team
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot], Google [Bot] and 1 guest