Dec 16, 2009

Pre-defined DcmTagKey object for each dicom attribute

DCMTK defines generally used tags as pre-defined DcmTagKey object.

You can find the list of the pre-defined DcmTagKey in dcdeftag.h and it is automatically included if you are including "dctk.h" header file.

The definitions use the syntax as following:

    DCM_<TagNameWidthNoSpace>

To use this pre-defined definitions, we can easily type the tags than typing the group-element values in hex decimal values with less stress.  And also, code's reviewability will goes up, and the typing miss can be eliminated by using this definition.



No comments:

Post a Comment