typedef struct _DICOMIMAGE
{
L_INT32 nCompression; /* compression type */
L_TCHAR szPhotometric[30]; /* photometric type name */
L_INT32 nPhotometric; /* photometric type code */
L_UINT32 nSamplesPerPixel; /* samples or planes */
L_INT32 nRows; /* number of rows */
L_INT32 nColumns; /* number of columns */
L_UINT32 nBitsAllocated; /* number of bits allocated */
L_UINT32 nBitsStored; /* number of bits stored */
L_UINT32 nHighBit; /* highest bit */
L_INT32 nPixelRepresentation; /* type of pixel representation */
L_INT32 nPlanarConfiguration; /* planar configuration */
L_INT32 nResolutionX; /* x resolution */
L_INT32 nResolutionY; /* y resolution */
L_INT32 nSmallestImagePixelValue; /* smallest pixel value */
L_BOOL bSmallestImagePixelValue; /* flag */
L_INT32 nLargestImagePixelValue; /* largest pixel value */
L_BOOL bLargestImagePixelValue; /* flag */
L_UINT32 nRedEntries; /* number of red entries */
L_UINT32 nRedFirst; /* first red entry */
L_UINT32 nRedBits; /* number of bits per red entry */
L_UINT32 nGreenEntries; /* number of green entries */
L_UINT32 nGreenFirst; /* first green entry */
L_UINT32 nGreenBits; /* number of bits per green entry */
L_UINT32 nBlueEntries; /* number of blue entries */
L_UINT32 nBlueFirst; /* first blue entry */
L_UINT32 nBlueBits; /* number of bits per blue entry */
L_UINT32 nPaletteEntries; /* number of palette entries */
L_UINT32 nPaletteFirst; /* first palette entry */
L_INT32 nBitsPerPixel; /* number of bits per pixel */
L_BOOL bGray; /* flag */
L_UINT32 nFrames; /* number of frames */
} DICOMIMAGE, * pDICOMIMAGE;
The DICOMIMAGE structure contains image information.
Type of compression used on the image.
Name of the photometric type.
Photometric type code.
Number of samples (or planes) in the image.
Number of rows.
Number of columns.
Number of bits allocated for each pixel sample.
Number of bits stored for each pixel sample.
The highest (most significant) bit set.
Data representation of the pixels. Unsigned integers (0) or 2s complement (1).
Planar configuration. Color-by-plane or color-by-pixel.
The x resolution.
The y resolution.
The smallest pixel value in the image.
Flag that indicates whether the smallest pixel value applies to the entire image or to one plane.
The largest pixel value in the image.
Flag that indicates whether the largest pixel value applies to the entire image or to one plane.
The number of red entries in the Red Palette ColorLookup Table.
The first value in the Red Palette Color Lookup Table.
The number of bits per entry in the Red Palette Color Lookup Table. Either 8 or 16.
The number of green entries in the Green Palette ColorLookup Table.
The first value in the Green Palette Color Lookup Table.
The number of bits per entry in the Green Palette Color Lookup Table. Either 8 or 16.
The number of blue entries in the Blue Palette ColorLookup Table.
The first value in the Blue Palette Color Lookup Table.
The number of bits per entry in the Blue Palette Color Lookup Table. Either 8 or 16.
The number of palette entries.
The smallest value of the first entries in the Red, Green and Blue Color Lookup Tables.
The number of bits per pixel.
Flag that indicates whether it is grayscale.
The number of frames.
For more information about image information, refer to PS 3.3 of the DICOM Standard.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document