DcmDicomDir dicomdir(DICOMDIR_FILENAME);
DcmDirectoryRecord * root = &(dicomdir.getRootRecord());
DcmDirectoryRecord * PatientRecord = NULL;
DcmDirectoryRecord * StudyRecord = NULL;
DcmDirectoryRecord * SeriesRecord = NULL;
DcmDirectoryRecord * FileRecord = NULL;
OFString tmpString;
if(root != NULL)
{
while (((PatientRecord = root->nextSub(PatientRecord)) != NULL))
{
//Not enter
}
}
I'm trying to read a dicomdir with these codes,but i fail,could you tell me whether my dicomdir file is wrong?
How to read DICOMDIR wiht DCMTK3.5.4
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2542
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Who is online
Users browsing this forum: Bing [Bot] and 1 guest