IMcHistogramCompute Method
|
|
Forces the computation of the Histogram regardless of the internal
state of the operator and its source image.
Namespace:
MediaCy.IQL.Operations
Assembly:
MediaCy.IQL.Operations (in MediaCy.IQL.Operations.dll) Version: 10.0.6912.0
SyntaxSub Compute (
<OptionalAttribute> SourceImage As Object
)
Parameters
- SourceImage (Optional)
- Type: SystemObject
RemarksCalculated values depend on BinCount, Interpretation, Mode and
IMcImage.RangeMin, IMcImage.RangeMax for floating point images. Histogram
results are based only on pixels interior to the source image's Aoi
unless the Mode property mchmIgnoreAoi bit is set.
You generally will not need to call Compute directly. This method is called
automatically whenever one of the Histogram properties is requested and the
cached data is not in sync with the parent image and the current Mode. It
is also possible to pass an image parameter in order to compute the Histogram on
an image when there is no ancestor McImage.
Results can be accessed using the IMcHistogram properties RawValues, Values
and BinXValues, as well as the standard statistical properties.
If the source McImage.ActiveFrameRange specifies a Range, then unless the
Mode mchmProcessActiveFrameOnly bit is set, then the histogram is computed from
all of the specified frames. If the Mode mchmProcessActiveFrameOnly bit is set,
then only the McImage.ActiveFrame is conisidered. If the Mode mchmIgnoreAoi
bit is set, then any Aoi is ignored.
See AlsoReference
RangeMin
RangeMax