ImageInfo property

Delphi example

C++Builder example

 

Builder Syntax

DICOMImageInfo ImageInfo

Delphi Syntax

ImageInfo: DICOMImageInfo

Overview

Refer to Working with Data Sets.

Remarks

Read-only. Contains information about the image in a Pixel Data Element, specified by the CurrentElementproperty.

You must call the GetImageInformation method to update this property.

The DICOMImageInfo record has the following fields:

Field

Type

Description

Compression

Integer

Type of compression used on the image.

PhotometricString

String

Name of the photometric type.

Photometric

Integer

Photometric type code.

SamplesPerPixel

Cardinal

Number of samples (or planes) in the image.

Rows

Integer

Number of rows.

Columns

Integer

Number of columns.

BitsAllocated

Cardinal

Number of bits allocated for each pixel sample.

BitsStored

Cardinal

Number of bits stored for each pixel sample.

HighBit

Cardinal

The highest (most significant) bit set.

PixelRepresentation

Integer

Datal representation of the pixels. Unsigned integers (0) or 2’s complement (1).

PlanarConfiguration

Integer

Planar configuration. Color-by-plane or color-by-pixel.

ResolutionX

Integer

The x resolution.

ResolutionY

Integer

The y resolution.

SmallestImagePixelValue

Integer

The smallest pixel value in the image.

SmallestImagePixelValueFlag

Integer

Flag that indicates whether the smallest pixel value applies to the entire image or to one plane.

LargestImagePixelValue

Integer

The largest pixel value in the image.

LargestImagePixelValueFlag

Integer

Flag that indicates whether the largest pixel value applies to the entire image or to one plane.

RedEntries

Cardinal

The number of red entries in the Red Palette ColorLookup Table.

RedFirst

Cardinal

The first value in the Red Palette Color Lookup Table.

RedBits

Cardinal

The number of bits per entry in the Red Palette Color Lookup Table. Either 8 or 16.

GreenEntries

Cardinal

The number of green entries in the Green Palette ColorLookup Table.

GreenFirst

Cardinal

The first value in the Green Palette Color Lookup Table.

GreenBits

Cardinal

The number of bits per entry in the Green Palette Color Lookup Table. Either 8 or 16.

BlueEntries

Cardinal

The number of blue entries in the Blue Palette ColorLookup Table.

BlueFirst

Cardinal

The first value in the Blue Palette Color Lookup Table.

BlueBits

Cardinal

The number of bits per entry in the Blue Palette Color Lookup Table. Either 8 or 16.

PaletteEntries

Cardinal

The number of palette entries.

PaletteFirst

Cardinal

The smallest value of the first entries in the Red, Green and Blue Color Lookup Tables.

BitsPerPixel

Integer

The number of bits per pixel.

Gray

Integer

Flag that indicates whether it is grayscale.

Frames

Cardinal

The number of frames.

For more information about image information, refer to PS 3.3 of the DICOM Standard.

See Also

Elements:

GetImageInformation method