[Gdcm-hackers] want to use gdcm to find pixel data offsets in file
Cross-platform DICOM implementation
Brought to you by:
malat
|
From: Aaron B. <bo...@gm...> - 2011-05-25 18:15:12
|
Hello! I want to create a method that will parse a dicom file up until the pixel data, and then return the pixel data size and offset in the file. ( I don't want to read in the pixel data). If the data is compressed, I just want the offset to the compressed data. Also, if it is a multi-frame image, I would like a list of all of the frames, with offset and size. Mathieu has kindly pointed me to the gdcmStreamImageReader class. From a quick look, it seems that this class will do part of the job. It parses up until the pixel data, and then reads the rest of the file in all at once. Can anyone suggest any existing classes that can help me to parse a multi-frame object, and get the frame offsets? Thanks!! Aaron |