IMcHistogram2Interpretation Property
|
|
A read-write property specifying how the image data should be
analyzed.
Namespace:
MediaCy.IQL.Operations
Assembly:
MediaCy.IQL.Operations (in MediaCy.IQL.Operations.dll) Version: 10.0.6912.0
Syntax
RemarksThe default value mciAnyInterp means that the image data should be
interpreted as-is, in its native format.
Only certain Interpretation values are supported, and they depend
somewhat on the source Mcimage.Type.Interpretation property. The mciIndexedColor and mciBGR
Interpretation values are always illegal and may not be assigned to the Interpretation
property. Other Interpretation values may be illegal depending on the source
McImage.Type.Interpretation - these further checks may cause the Compute method
to fail (normally called automatically when it is needed).
An Interpretation property of mciMonochrome (i.e., for a luminance histogram) is
legal for any source image type, in which case the number of channels will always
be one. An Interpretation value of mciGenericMultiBand is legal
for a source McImage.Type.Interpretation of mciGenericMultiBand, in which
case the number of channels will be the number of bands. Interpretation
values of mciComplex and mciPolar are only legal for source images of those
types (that is you can get an mciComplex histogram of a mciPolar image and vice
versa, but not for any other source type).
You can use mciMonochrome for a luminance histogram of color images - in this case, the
histogram NumberOfChannels property will always be one. If mciRGB, mciHSI or
mciHSL is specified, then NumberOfChannels property will be three (e.g., Hue,
Saturation and Intensity).
See Also