I want to load DICOM file but without pixel data (DCM_PixelData).
I am using the following function usually:
DcmFileFormat* D = NULL;
...........
...........
D->loadFile( Name ).good());
Is there some way to load ALL but skip the Pixel Data?
Thank you
Loading DICOM file without pixel data?
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2504
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: Loading DICOM file without pixel data?
By default, the DcmFileFormat::loadFile() method only loads element values from file (to main memory) where the value length is below a certain threshold (4 kbytes, see "maxReadLength" parameter). Does this meet your requirements?
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest