Available in LEADTOOLS Medical Imaging toolkits. |
DICOMELEMENT
typedef struct _DICOMELEMENT
{
GENERICLINK; /* Reserved */
L_UINT32 nTag; /* Data element tag */
L_UINT16 nVR; /* Value representation */
L_UINT32 nLength; /* length of the value stored in the data element */
L_UINT32 nVM; /* Reserved */
L_UCHAR *pValue; /* Reserved */
L_UINT32 nAttach; /* Reserved */
L_UINT32 *pOffset; /* Reserved */
L_VOID **pFile; /* Reserved */
L_UINT32 *pSize;
/*
Reserved */
L_UINT32 nCount;
/*
Reserved */
L_TCHAR *pStringValue; /* Reserved */
} DICOMELEMENT, * pDICOMELEMENT;
The DICOMELEMENT structure contains information concerning the Data Elements contained in a DICOM data set.
Member |
Description |
GENERICLINK |
Reserved. |
nTag |
Data element tag. For a list of default values, refer to Data Element Tag Constants. |
nVR |
Value representation. For a list of default values supported by DICOM, refer to Value Representation Constants. |
nLength |
Length of the value stored in the data element. If the stored value is a sequence, this value will be ELEMENT_LENGTH_MAX (0xFFFFFFFF). |
nVM |
Reserved. |
pValue |
Reserved. |
nAttach |
Reserved. |
pOffset |
Reserved. |
pFile |
Reserved. |
pSize |
Reserved. |
nCount |
Reserved. |
pStringValue |
Reserved. |
Comments
When a data set is loaded from a DICOM file, only the tag, the value representation and the length of the stored value data is actually loaded. This information is stored in the DICOMELEMENT structure. You can access and modify this data set information, add to the data set, or delete items from the data set.
See Also