ImageInfo property (ILEADDicomDS)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

DICOMImageInfo ImageInfo

Overview

Refer to Working with Data Sets.

Remarks

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

You must call the GetImageInformation method to update this property.

ImageInfo has the following Read-Only properties:

Property

Type

Description

Compression

long

Type of compression used on the image.

PhotometricString

BSTR

Name of the photometric type.

Photometric

long

Photometric type code.

SamplesPerPixel

long

Number of samples (or planes) in the image.

Rows

long

Number of rows.

Columns

long

Number of columns.

BitsAllocated

long

Number of bits allocated for each pixel sample.

BitsStored

long

Number of bits stored for each pixel sample.

HighBit

long

The highest (most significant) bit set.

PixelRepresentation

long

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

PlanarConfiguration

long

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

ResolutionX

long

The x resolution.

ResolutionY

long

The y resolution.

SmallestImagePixelValue

long

The smallest pixel value in the image.

SmallestImagePixelValueFlag

BOOL

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

LargestImagePixelValue

long

The largest pixel value in the image.

LargestImagePixelValueFlag

BOOL

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

RedEntries

long

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

RedFirst

long

The first value in the Red Palette Color Lookup Table.

RedBits

long

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

GreenEntries

long

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

GreenFirst

long

The first value in the Green Palette Color Lookup Table.

GreenBits

long

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

BlueEntries

long

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

BlueFirst

long

The first value in the Blue Palette Color Lookup Table.

BlueBits

long

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

PaletteEntries

long

The number of palette entries.

PaletteFirst

long

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

BitsPerPixel

long

The number of bits per pixel.

Gray

BOOL

Flag that indicates whether it is grayscale.

Frames

long

The number of frames.

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

See Also

Elements:

GetImageInformation method

Topics:

Data Sets: Maneuvering Through a Data Set