I'm using the following code to get the number of frames (images) in a DICOM file, and the result is always the same: Tag not Found.
OFCondition status = file.getDataset()->findAndGetLongInt(DCM_NumberOfFrames, nNumOfImages); //Tag not Found !!!
But if I use DcmImage class, it works !
DicomImage image(strDICOMFileName);
nNumOfImages = image.getFrameCount(); //It works !!!!
WHY?
Thanks.
Number of images in a DICOM file
Moderator: Moderator Team
Number of images in a DICOM file
Thanks, Marko !!!
Who is online
Users browsing this forum: Google [Bot] and 1 guest