resolving IOD Specification for given SOP class

26 views
Skip to first unread message

Mikołaj Klaman

unread,
Sep 29, 2017, 5:33:03 PM9/29/17
to dcm4che
Hello,
my knowledge of DICOM standard is very limited, yet I am trying to develop a simplified PACS system (DICOM STORE SCP) as my engineer thesis project using dcm4che library.

I want to be able to extract attributes from received DICOM files and I struggle with recognizing which attributes are relevant for given DICOM instance.
For example when I receive image with SOP class 1.2.840.10008.5.1.4.1.1.1 I can check here that it means Computed Radiography Image Storage and that all of the relevant attributes are listed in modules that are part it`s IOD.

Is there any way for resolving some kind of IOD object with list of modules, each containing list of attribute tags for given SOP UID using dcm4che?
Or perhaps there is a way of iterating over all set attributes (at the Image level)?

I will appreciate any kind of help/guidance.

fleetwoodfc

unread,
Sep 30, 2017, 9:51:16 AM9/30/17
to dcm4che
The dcm4che toolkits (versions 1, 2 and 3) all include sample store-scp implementations that should help you - see dcmrcv source code (versions 1 and 2).

Mikołaj Klaman

unread,
Oct 1, 2017, 10:58:52 AM10/1/17
to dcm4che
From what I can see dcmrcv/stroscp from dcm4che toolkit 2 and 3 just save the file on the fiesystem. Howewer dcmdump from dcm4che3 does read dicom file and print all of its attributes which is almost what I wanted. 

I guess in order to replicate the structure of different SOP classes` IODs and modules defined in the DICOM specification I need to hardcode them myself (or parse from some external file).
Reply all
Reply to author
Forward
0 new messages