Description

Returns the absolute minimum and maximum luminanance.

Property type

A Variant value.  

Syntax

object.AbsoluteRange([Channel], [SourceImage])

The AbsoluteRange Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McHistogram.
ChannelOptional. A Long value.

Optional Channel, default value -1 means all channels.

SourceImageOptional. A Variant value.

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.

Remarks

These are not the same as McImage.RangeMin and McImage.RangeMax which are set by the user for floating point images, and represent the minimum and maximum possible values for other image types.

AbsoluteRange is exposed as a 2D array ([IMcIMage.NumberOfChannels][2] in C, (0 to 1,0 to IMcIMage.NumberOfChannels-1) in VB) if Channel=-1, or an array containing two double precision floating point values if Channel is non-negative.

If the source McImage.ActiveFrameRange specifies some frames, then unless the Mode mchmProcessActiveFrameOnly bit is set, the AbsoluteRange 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.

The AbsoluteRange property honors the Interpretation property and also the Mode mchmApplyIntensityCalibration flag. If the Interpretation is one that has a natural luminance channel (e.g., mciHSL or mciHSI), then when the Mode mchmApplyIntensityCalibration flag is set intensity calibration is only applied to only that channel.