📄 lxdicomdef.hpp.svn-base
字号:
#ifndef LXDICOMDEF_H
#define LXDICOMDEF_H
typedef unsigned short int lstuint16;
typedef unsigned int lstuint32;
typedef unsigned char lstuint8;
typedef short lstint16;
//
#define VR_NULL CLXDcmVR("??")
#ifndef NULL
#ifdef __cplusplus
#define NULL 0
#else
#define NULL ((void *)0)
#endif
#endif
//use OFFIS uid_root
#define LIBAO_UID_ROOT "1.2.276.0.7230010.3"
/*** Each site should define its own SITE_UID_ROOT*/#ifndef SITE_UID_ROOT#define SITE_UID_ROOT LIBAO_UID_ROOT /* default */#endif
/************group tag************************/
#define GTagMetaHeader 0x0002
#define GTagImageInfo 0x0028
#define GTagImagePixel 0x7fe0
/********element tag***************************/
//MetaHeader
#define ETagTransferSyntaxUID 0x0010
//ImageInfo
#define ETagImageRows 0x0010
#define ETagImageColumns 0x0011
#define ETagBitsAllocated 0x0100
#define ETagBitsStored 0x0101
#define ETagImageHightBit 0x0102
#define ETagImageIsSigned 0x0103
#define ETagSamplesPerPixel 0x0002
#define ETagImagePhotometric 0x0004
#define ETagNumFrames 0x0008
#define ETagWindowWidth 0x1051
#define ETagWindowCenter 0x1050
#define ETagRescaleIntercept 0x1052
#define ETagRescaleSlope 0x1053
//ImagePixel
#define ETagImagePixelData 0x0010
//UID
/*** Useful UID prefixes. These can be whatever you want.**** These site UIDs are arbitary, non-standard, with no meaning** and can be changed at any time. Do _not_ rely on these values.** Do _not_ assume any semantics when using these suffixes.***/#define SITE_STUDY_UID_ROOT SITE_UID_ROOT ".1.2"#define SITE_SERIES_UID_ROOT SITE_UID_ROOT ".1.3"#define SITE_INSTANCE_UID_ROOT SITE_UID_ROOT ".1.4"/*** A private SOP Class UID which can be used in a file meta-header when** no real SOP Class is stored in the file. -- NON-STANDARD*/#define UID_PrivateGenericFileSOPClass SITE_UID_ROOT ".1.0.1"/*** DICOM Defined Standard Application Context UID*/#define UID_StandardApplicationContext "1.2.840.10008.3.1.1.1"/*** Defined Transfer Syntax UIDs*//* Implicit VR Little Endian: Default Transfer Syntax for DICOM */#define UID_LittleEndianImplicitTransferSyntax "1.2.840.10008.1.2"/* Explicit VR Little Endian */#define UID_LittleEndianExplicitTransferSyntax "1.2.840.10008.1.2.1"/* Explicit VR Big Endian */#define UID_BigEndianExplicitTransferSyntax "1.2.840.10008.1.2.2"/* JPEG Baseline (Process 1): Default Transfer Syntaxfor Lossy JPEG 8 Bit Image Compression */#define UID_JPEGProcess1TransferSyntax "1.2.840.10008.1.2.4.50"/* JPEG Extended (Process 2 & 4): Default Transfer Syntaxfor Lossy JPEG 12 Bit Image Compression (Process 4 only) */#define UID_JPEGProcess2_4TransferSyntax "1.2.840.10008.1.2.4.51"/* JPEG Extended (Process 3 & 5) */#define UID_JPEGProcess3_5TransferSyntax "1.2.840.10008.1.2.4.52"/* JPEG Spectral Selection, Non-Hierarchical (Process 6 & 8) */#define UID_JPEGProcess6_8TransferSyntax "1.2.840.10008.1.2.4.53"/* JPEG Spectral Selection, Non-Hierarchical (Process 7 & 9) */#define UID_JPEGProcess7_9TransferSyntax "1.2.840.10008.1.2.4.54"/* JPEG Full Progression, Non-Hierarchical (Process 10 & 12) */#define UID_JPEGProcess10_12TransferSyntax "1.2.840.10008.1.2.4.55"/* JPEG Full Progression, Non-Hierarchical (Process 11 & 13) */#define UID_JPEGProcess11_13TransferSyntax "1.2.840.10008.1.2.4.56"/* JPEG Lossless, Non-Hierarchical (Process 14) */#define UID_JPEGProcess14TransferSyntax "1.2.840.10008.1.2.4.57"/* JPEG Lossless, Non-Hierarchical (Process 15) */#define UID_JPEGProcess15TransferSyntax "1.2.840.10008.1.2.4.58"/* JPEG Extended, Hierarchical (Process 16 & 18) */#define UID_JPEGProcess16_18TransferSyntax "1.2.840.10008.1.2.4.59"/* JPEG Extended, Hierarchical (Process 17 & 19) */#define UID_JPEGProcess17_19TransferSyntax "1.2.840.10008.1.2.4.60"/* JPEG Spectral Selection, Hierarchical (Process 20 & 22) */#define UID_JPEGProcess20_22TransferSyntax "1.2.840.10008.1.2.4.61"/* JPEG Spectral Selection, Hierarchical (Process 21 & 23) */#define UID_JPEGProcess21_23TransferSyntax "1.2.840.10008.1.2.4.62"/* JPEG Full Progression, Hierarchical (Process 24 & 26) */#define UID_JPEGProcess24_26TransferSyntax "1.2.840.10008.1.2.4.63"/* JPEG Full Progression, Hierarchical (Process 25 & 27) */#define UID_JPEGProcess25_27TransferSyntax "1.2.840.10008.1.2.4.64"/* JPEG Lossless, Hierarchical (Process 28) */#define UID_JPEGProcess28TransferSyntax "1.2.840.10008.1.2.4.65"/* JPEG Lossless, Hierarchical (Process 29) */#define UID_JPEGProcess29TransferSyntax "1.2.840.10008.1.2.4.66"/* JPEG Lossless, Non-Hierarchical, First-Order Prediction (Process 14[Selection Value 1]): Default Transfer Syntax for Lossless JPEG Image Compression */#define UID_JPEGProcess14SV1TransferSyntax "1.2.840.10008.1.2.4.70"/* JPEG-LS Lossless Image Compression */#define UID_JPEGLSLosslessTransferSyntax "1.2.840.10008.1.2.4.80"/* JPEG-LS Lossy (Near-Lossless) Image Compression */#define UID_JPEGLSLossyTransferSyntax "1.2.840.10008.1.2.4.81"/* RLE Lossless */#define UID_RLELosslessTransferSyntax "1.2.840.10008.1.2.5"/* Deflated Explicit VR Little Endian */#define UID_DeflatedExplicitVRLittleEndianTransferSyntax "1.2.840.10008.1.2.1.99"/* JPEG 2000 Image Compression (Lossless Only) */#define UID_JPEG2000LosslessOnlyTransferSyntax "1.2.840.10008.1.2.4.90"/* JPEG 2000 Image Compression (Lossless or Lossy) */#define UID_JPEG2000TransferSyntax "1.2.840.10008.1.2.4.91"/* MPEG2 Main Profile @ Main Level */#define UID_MPEG2MainProfileAtMainLevelTransferSyntax "1.2.840.10008.1.2.4.100"/* JPEG 2000 Part 2 Multi-component Image Compression (Lossless Only) */#define UID_JPEG2000Part2MulticomponentImageCompressionLosslessOnlyTransferSyntax "1.2.840.10008.1.2.4.92"/* JPEG 2000 Part 2 Multi-component Image Compression (Lossless or Lossy) */#define UID_JPEG2000Part2MulticomponentImageCompressionTransferSyntax "1.2.840.10008.1.2.4.93"/* MIME encapsulation (Supplement 101) is only a pseudo transfer syntax used torefer to MIME encapsulated HL7 CDA documents from a DICOMDIR when stored on a DICOM storage medium. It is never used for network communication or encoding of DICOM objects. */#define UID_RFC2557MIMEEncapsulationTransferSyntax "1.2.840.10008.1.2.6.1"/*** Defined SOP UIDs according to 2004 DICOM edition*/// Storage#define UID_StoredPrintStorage "1.2.840.10008.5.1.1.27"#define UID_HardcopyGrayscaleImageStorage "1.2.840.10008.5.1.1.29"#define UID_HardcopyColorImageStorage "1.2.840.10008.5.1.1.30"#define UID_ComputedRadiographyImageStorage "1.2.840.10008.5.1.4.1.1.1"#define UID_DigitalXRayImageStorageForPresentation "1.2.840.10008.5.1.4.1.1.1.1"#define UID_DigitalXRayImageStorageForProcessing "1.2.840.10008.5.1.4.1.1.1.1.1"#define UID_DigitalMammographyXRayImageStorageForPresentation "1.2.840.10008.5.1.4.1.1.1.2"#define UID_DigitalMammographyXRayImageStorageForProcessing "1.2.840.10008.5.1.4.1.1.1.2.1"#define UID_DigitalIntraOralXRayImageStorageForPresentation "1.2.840.10008.5.1.4.1.1.1.3"#define UID_DigitalIntraOralXRayImageStorageForProcessing "1.2.840.10008.5.1.4.1.1.1.3.1"#define UID_StandaloneModalityLUTStorage "1.2.840.10008.5.1.4.1.1.10"#define UID_StandaloneVOILUTStorage "1.2.840.10008.5.1.4.1.1.11"#define UID_GrayscaleSoftcopyPresentationStateStorage "1.2.840.10008.5.1.4.1.1.11.1"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -