DICOM Macros

The following macros are available for use with the LEADTOOLS DICOM C++ Class Library:

#define MAKETAG(nGroup,nElement) ((L_UINT32)((((L_UINT32)nGroup) << 16) | nElement)) 
#define GETGROUP(nTag)           ((L_UINT16)(nTag >> 16)) 
#define GETELEMENT(nTag)         ((L_UINT16)(nTag & 0xFFFF)) 

For an example, refer to LDicomDS::ConformanceDS and LDicomDS::GetCharValue.

Help Version 23.0.2024.7.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.