Click or drag to resize

IMcHistogram2Values Property

Returns the calibrated histogram values, according to the current Mode.

Namespace:  MediaCy.IQL.Operations
Assembly:  MediaCy.IQL.Operations (in MediaCy.IQL.Operations.dll) Version: 10.0.6912.0
Syntax
VB
ReadOnly Default Property Values ( 
	Optional Index As Integer = -1,
	Optional Channel As Integer = -1
) As Object
	Get

Parameters

Index (Optional)
Type: SystemInt32
Channel (Optional)
Type: SystemInt32

Property Value

Type: Object

Implements

IMcHistogramValuesInt32, Int32
Remarks
The Compute method is called automatically (on the parent IMcImage) whenever it is necessary. In order to compute the Histogram on another image than the parent, one has to call Compute explicitly. When the spatial calibration is used (mchmApplySpatialCalibration Mode bit is set), each bin count is scaled by multiplying it by the calibration pixel width and height. When the intensity calibration is used (mchmApplyIntensityCalibration Mode bit is set), the array is sorted in increasing intensity order (see BinXValues). The property is exposed as a 2D array of Double ([NumberOfChannels][BinCount] in C, (BinCount,NumberOfChannels) in VB, that is each channel's histogram is the fastest moving dimension and is adjacent in memory) if Index=-1 and Channel=-1, a 1D array Variant representing either channel values (NumberOfChannels) if Channel=-1 or all values for 1 Channel (BinCount) if Index=-1, or a Variant containing a single value when both parameters are positive or null. All counts are reported as double precision floating point values.
See Also