IMcHistogram2NumberOfChannels Property
|
|
The number of Channels in the Histogram.
Namespace:
MediaCy.IQL.Operations
Assembly:
MediaCy.IQL.Operations (in MediaCy.IQL.Operations.dll) Version: 10.0.6912.0
SyntaxReadOnly Property NumberOfChannels (
<OptionalAttribute> SourceImage As Object
) As Integer
Get
Parameters
- SourceImage (Optional)
- Type: SystemObject
Property Value
Type:
Int32Implements
IMcHistogramNumberOfChannelsObject
RemarksThe number of channels depends both on the source
McImage.Type.NumberOfChannels property and on the McHistogram Interpretation
property. For example, if the Interpretation property is mciMonochrome, then
the NumberOfChannels will be 1, no matter what the source McImage.Type.
Get the NumberOfChannels property to see what the maximum allowed Channel
argument is for methods and properties that take a channel argument (e.g., the
Values property). The maximum allowed Channel argument will be
NumberOfChannels-1 (that is, Channel 0 is the first channel).
Parmeters:
SourceImage: Source McImage for the computation for global
instances of McHistogram (ones with no ancestor McImage). This argument is
required for global instances of McHistogram, and it must be missing
for McHistogram instances with an image ancestor.
See Also