Multi-file vs. Single file DICOM
Moderator: Moderator Team
-
- Posts: 26
- Joined: Fri, 2015-10-16, 09:18
Multi-file vs. Single file DICOM
Hi,
Is there any particular setting/configuration necessary to handle single file DICOM data?
Thanks,
Evan
Is there any particular setting/configuration necessary to handle single file DICOM data?
Thanks,
Evan
-
- DCMTK Developer
- Posts: 2506
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: Multi-file vs. Single file DICOM
I'm sorry but you need to give us more background information... and, by the way, where is the DCMTK aspect of your question?
-
- Posts: 26
- Joined: Fri, 2015-10-16, 09:18
Re: Multi-file vs. Single file DICOM
Sorry - let me try to provide more info: some DICOM data that we receive contains only one *.dcm file, rather than hundreds of files. I believe this format is called `workbook' or something like that. I am wondering does DCMTK provide a way to read such data?
Thanks,
Evan
Thanks,
Evan
-
- DCMTK Developer
- Posts: 2506
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: Multi-file vs. Single file DICOM
Are you talking about DICOM network services or storage media exchange? I have never heard of "workbook". This has nothing to do with the DICOM standard.
-
- DCMTK Developer
- Posts: 2506
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: Multi-file vs. Single file DICOM
The DICOM file you've sent to us conforms to the SOP Class "Enhanced CT Image" and contains 534 frames (slices).
In your accompanying email you've asked: "Does DCMTK support this kind of data?" The answer depends on what you mean by "support". The DCMTK is able to send and receive such objects, to read and create them...
In your accompanying email you've asked: "Does DCMTK support this kind of data?" The answer depends on what you mean by "support". The DCMTK is able to send and receive such objects, to read and create them...
-
- Posts: 26
- Joined: Fri, 2015-10-16, 09:18
Re: Multi-file vs. Single file DICOM
Thank you for your explanations!
I am making progress understanding how to handle Enhanced Multi-frame. I have a related question here: what is the most reliable way to query the number of slices in a series? I tried the following but it didn't work:
// Obtain series record:
DcmDirectoryRecord seriesRecord;
bool bSuccess = getSeriesRecord(patientIndex, studyIndex, seriesIndex, seriesRecord);
if ( !bSuccess || seriesRecord.getRecordType() != ERT_Series )
return 0;
OFString imageCountStr;
OFCondition status = seriesRecord.findAndGetOFString(DCM_NumberOfSeriesRelatedInstances, imageCountStr);
if ( !status.good() )
return 0;
int imageCount = atoi(imageCountStr.c_str());
Querying the tag fails.
Thanks!
Evan
I am making progress understanding how to handle Enhanced Multi-frame. I have a related question here: what is the most reliable way to query the number of slices in a series? I tried the following but it didn't work:
// Obtain series record:
DcmDirectoryRecord seriesRecord;
bool bSuccess = getSeriesRecord(patientIndex, studyIndex, seriesIndex, seriesRecord);
if ( !bSuccess || seriesRecord.getRecordType() != ERT_Series )
return 0;
OFString imageCountStr;
OFCondition status = seriesRecord.findAndGetOFString(DCM_NumberOfSeriesRelatedInstances, imageCountStr);
if ( !status.good() )
return 0;
int imageCount = atoi(imageCountStr.c_str());
Querying the tag fails.
Thanks!
Evan
-
- DCMTK Developer
- Posts: 2506
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: Multi-file vs. Single file DICOM
Where did you read that "Number of Series Related Instances" is part of a DICOMDIR? It is not. It is used as part of the Query/Retrieve Service.
Before trying to implement something, you should have a clear concept and also a good understanding of the DICOM standard...
Before trying to implement something, you should have a clear concept and also a good understanding of the DICOM standard...
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest