Click or drag to resize

IMcHistogramThresholds Property

One or more thresholds separating phases of the histogram.

Namespace:  MediaCy.IQL.Operations
Assembly:  MediaCy.IQL.Operations (in MediaCy.IQL.Operations.dll) Version: 10.0.6912.0
Syntax
VB
ReadOnly Property Thresholds ( 
	Optional WhichThreshold As mcHistWhichThreshold = mcHistWhichThreshold.mchwtBoth,
	Optional Channel As Integer = -1,
	Optional Phase As Integer = -1,
	<OptionalAttribute> SourceImage As Object
) As Object
	Get

Parameters

WhichThreshold (Optional)
Type: MediaCy.IQL.OperationsmcHistWhichThreshold
Channel (Optional)
Type: SystemInt32
Phase (Optional)
Type: SystemInt32
SourceImage (Optional)
Type: SystemObject

Property Value

Type: Object
Remarks
How the Thresholds property is exposed depends on the WhichThreshold, Channel and Phase arguments, as follows If WhichThreshold is mchwtBoth values are type DOUBLERANGE, giving both the Start and End for each threshold; if WhichThreshold is mchwtStart or mchwtEnd then values are type double, giving only the Start or End, respectively, of each threshold. If both Channel and Phase are -1, the default, then a 2-dimensional array of (NumberOfChannels, NumberOfPhases) using VB dimensioning or is the Channel dimension is the fastest moving). If Phase is -1, the default, and Channel a given zero-based channel index, then an array of length-NumberOfPhases is returned. If Channel is -1, the default, and Phase a given zero-based phase index, then an array of length-NumberOfChannels is returned. If both Channel and Phase are zero-based indices then a single value is returned giving the WhichThreshold for that phase and channel. The Compute method is called automatically on the parent IMcImage whenever it is necessary, always if vSourceImg is not empty.
See Also