ImageGear Professional for Unix
MED_DCM_DS_TAG_MAKE

This macro takes a 16-bit Group Number and a 16-bit Element Number and returns a 32-bit Tag value.

Declaration:

 
Copy Code
      MED_DCM_DS_TAG_MAKE(gn, en);

Arguments:

gn Supply this with a valid DICOM Group Number.
en Supply this with a valid DICOM Element Number.

Return Value:

Returns the 32-bit Tag value from the 16-bit Group Number and 16-bit Element Number that you provide.

Supported Raster Image Formats:

This function does not process image pixels.

The image must have a DICOM DataSet attached to it. Use MED_DCM_DS_exists to check whether the image contains a DataSet.

Example:

 
Copy Code
AT_DCM_TAG Tag; Tag = MED_DCM_DS_TAG_MAKE(0x0010, 0x0021) /* Tag equals DCM_TAG_IssuerOfPatientID or 0x00100021 */

Remarks:

The returned Tag is compatible with the enumIGMedTag enumeration.

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback