Description
An optional pixel interpretation cast to be applied before thresholding.
-
Property type
-
A mcThresholdInterpretation enumeration.
-
Syntax
-
object.Interpretation [= value]
The Interpretation Property syntax has these parts: Settings The settings for value are:
 | mctiAnyInterp | 0 |
current interpretation
|
 | mctiMonochrome | 1 |
only one channel, intensity channel
CRW mctiIndexedColor=2, // 8 bits per pixel, pseudo-colored
CRW mctiGenericMultiBand=3, // multichannel, when needed, pixel luminance is averaged across the channels
|
 | mctiRGB | 4 |
normal color model, 3 channels arranged as RGBRGBRGB...
CRW mctiBGR=5, // Similar to RGB, except the channels are reversed for DIBs as BGRBGRBGR...
|
 | mctiHSL | 6 |
Three channels, Hue, Saturation, and Luminance
|
 | mctiHSI | 7 |
Three channels, Hue, Saturation, and Intensity
CRW mctiComplex=8, // Two channels, real and imaginary arranged as RIRIRI..., only supported with McFloat
CRW mctiPolar=9, // Two channels, magnitude and phase arranged as MPMPMP..., only supported with McFloat
|
Remarks
If the Interpretation property is assigned mctiAnyInterp, then the native image type and number of channels is used.
If the Interpretation property is the default mctiMonochrome, then an intensity thresholding is done by casting each pixel to a single intensity channel. In this case, the IntensityRange property is only one DOUBLERANGE value. Only a single IntensityRange value need be supplied (AutoFindPhase mcfpManual) or is automatically detected.
The other allowed Interpretation values are mctiRGB, mctiHSL and mctiHSI corresponding to the three color channels Red-Green-Blue, Hue-Saturation-Lumiance and Hue-Saturation-Intensity, respectively. In this case, the IntensityRange property is an array of 3 DOUBLERANGE values.
|