| LEADTOOLS DICOM C DLL Help > Features of LEADTOOLS DICOM > DICOM Files > Data Sets > Used Structures > DICOMIMAGE | 
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.
| Member | Description | 
| nCompression | Type of compression used on the image. | 
| szPhotometric | Name of the photometric type. | 
| nPhotometric | Photometric type code. | 
| nSamplesPerPixel | Number of samples (or planes) in the image. | 
| nRows | Number of rows. | 
| nColumns | Number of columns. | 
| nBitsAllocated | Number of bits allocated for each pixel sample. | 
| nBitsStored | Number of bits stored for each pixel sample. | 
| nHighBit | The highest (most significant) bit set. | 
| nPixelRepresentation | Data representation of the pixels. Unsigned integers (0) or 2©s complement (1). | 
| nPlanarConfiguration | Planar configuration. Color-by-plane or color-by-pixel. | 
| nResolutionX | The x resolution. | 
| nResolutionY | The y resolution. | 
| nSmallestImagePixelValue | The smallest pixel value in the image. | 
| bSmallestImagePixelValue | Flag that indicates whether the smallest pixel value applies to the entire image or to one plane. | 
| nLargestImagePixelValue | The largest pixel value in the image. | 
| bLargestImagePixelValue | Flag that indicates whether the largest pixel value applies to the entire image or to one plane. | 
| nRedEntries | The number of red entries in the Red Palette ColorLookup Table. | 
| nRedFirst | The first value in the Red Palette Color Lookup Table. | 
| nRedBits | The number of bits per entry in the Red Palette Color Lookup Table. Either 8 or 16. | 
| nGreenEntries | The number of green entries in the Green Palette ColorLookup Table. | 
| nGreenFirst | The first value in the Green Palette Color Lookup Table. | 
| nGreenBits | The number of bits per entry in the Green Palette Color Lookup Table. Either 8 or 16. | 
| nBlueEntries | The number of blue entries in the Blue Palette ColorLookup Table. | 
| nBlueFirst | The first value in the Blue Palette Color Lookup Table. | 
| nBlueBits | The number of bits per entry in the Blue Palette Color Lookup Table. Either 8 or 16. | 
| nPaletteEntries | The number of palette entries. | 
| nPaletteFirst | The smallest value of the first entries in the Red, Green and Blue Color Lookup Tables. | 
| nBitsPerPixel | The number of bits per pixel. | 
| bGray | Flag that indicates whether it is grayscale. | 
| nFrames | The number of frames. | 
Comments
For more information about image information, refer to PS 3.3 of the DICOM Standard.
See Also
| Functions: | |
| Topics: |