Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C DLL Help

DICOMTAG

Show in webframe

typedef struct _DICOMTAG
{
   GENERICLINK; /* reserved */
   L_UINT32 nCode; /* code */
   L_UINT32 nMask; /* mask */
   L_TCHAR *pszName; /* name */
   L_UINT16 nVR; /* value representation */
   L_UINT32 nMinVM; /* minimum value multiplicity */
   L_INT32 nMaxVM; /* maximum value multiplicity */
   L_UINT32 nDivideVM; /* value used to divide the value multiplicity */
} DICOMTAG, * pDICOMTAG;

The DICOMTAG structure contains information about supported tags.

Member

Description

GENERICLINK

Reserved.

nCode

Code that indicates the tag. For a list of default values, refer to Data Element Tag Constants.

nMask

Masking value. Masking allows you to insert multiple elements in the same entry in the table.

pszName

Character string that contains the name of the tag. To see the default values for the Tag Names, refer to the Default Data Element Tag Table.

nVR

Value representation code that indicates the type of value stored in the data element. For a list of default values supported by DICOM, refer to Value Representation Constants.

nMinVM

Value that indicates the minimum number of values that may be stored in the Value Field of the Data Element.

nMaxVM

Value that indicates the maximum number of values that may be stored in the Value Field of the Data Element.

nDivideVM

Value used to divide the value multiplicity. When multiple values are stored in the value field of a data element, the number of values present must be evenly divisible by nDivideVM. For most items nDivideVM will be 1. However, if the values stored in the value field are RGB triplets, for example, you would have to store three values for each triplet. You could store 12 values, since 12 values would be 4 triplets, however, you could not store 13 values. In this case nDivideVM would be 3.

Comments

Internally LEADTOOLS maintains a table or list of available tag values. These values can include default values for standard tags available in DICOM, as well as user defined tags. You can access any of this information, add to the table, or delete items from the table using the L_DicomXXXTag functions. To see the default values, refer to the Default Data Element Tag Table.

See Also

Functions:

L_DicomDefaultTagExt, L_DicomDefaultTag, L_DicomInsertTag, L_DicomDeleteTag, L_DicomExistsTag, L_DicomResetTag, L_DicomGetFirstTag, L_DicomGetLastTag, L_DicomGetPrevTag, L_DicomGetNextTag, L_DicomGetCountTag, L_DicomFindTag, L_DicomFindIndexTag, L_DicomSetNameTag

Topics:

Working with Tags

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.