Description

A property used to attach an image to the viewer.

Property type

A mcInterpretation enumeration.  

Syntax

object.Interpretation [= value]

The Interpretation Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McImageType.
valueA mcInterpretation enumeration, as described in settings.

Settings

The settings for value are:

ConstantValueDescription
 mciAnyInterp0

current interpretation

 mciMonochrome1

only one channel

 mciIndexedColor2

8 bits per pixel, pseudo-colored

 mciGenericMultiBand3

multichannel, when needed, pixel luminance is averaged across the channels

 mciRGB4

normal color model, 3 channels arranged as “RGBRGBRGB...”

 mciBGR5

Similar to RGB, except the channels are reversed for DIBs as “BGRBGRBGR...”

 mciHSL6

Three channels, Hue, Saturation, and Luminance

 mciHSI7

Three channels, Hue, Saturation, and Intensity

 mciComplex8

Two channels, real and imaginary arranged as “RIRIRI...”, only supported with McFloat

 mciPolar9

Two channels, magnitude and phase arranged as “MPMPMP...”, only supported with McFloat

Remarks

Describes the type of data contained in each pixel. Typical values are Monochrome, RGB (Red, Green, Blue), HSI (Hue, Saturation, Intensity), etc.

Note that the properties are not verified in context with each other, also there is no interaction -- setting the McImageType object to Monochrome does not set NumberOfChannels to one; the client must explicitlly do it.

Exceptions

E_POINTER implies the argument pointer is invalid. E_INVALIDARG indicates the client is attempting to set the property to an invalid value.