Click or drag to resize

IMcHistogram2RawValues Property

Returns the raw (non calibrated) histogram values.

Namespace:  MediaCy.IQL.Operations
Assembly:  MediaCy.IQL.Operations (in MediaCy.IQL.Operations.dll) Version: 10.0.6912.0
Syntax
VB
ReadOnly Property RawValues ( 
	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

IMcHistogramRawValuesInt32, 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. The property is exposed as a 2D array Variant ([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 NumberOfChannels is greater than 1, Index=-1 and Channel=-1. A 1D array Variant representing NumberOfChannels channel values if Channel=-1 and Index is non-negative (this will be a single scalar value if NumberOfChannels is one). Or all BinCount values for 1 Channel if Index=-1 and Channel is non-negative or if NumberOfChannels is one. Or a single value when both parameters are positive or null. If the mchmExpose64bitRawValues Mode bit is clear (the default case), then all counts are reported as 32-bit signed integer values. If the mchmExpose64bitRawValues Mode bit is set, then all counts are reported as 64-bit signed integer values. If the mchmExpose64bitRawValues Mode bit is not set and the total count of source pixels needed to compute the histogram exceeds 2147483647 (the maximum positive value that will fit into a 32-bit signed integer), then an overflow error is returned on any attempt to access the RawValues property. Newly written code should set the mchmExpose64bitRawValues Mode bit.
See Also