Description

A read-write property used to specify how the histogram values and statistics are reported.

Property type

A mcHistogramMode enumeration.  

Syntax

object.mode [= value]

The mode Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McHistogram.
valueA mcHistogramMode enumeration, as described in settings.

Settings

The settings for value are:

ConstantValueDescription
 mchmDefault0

Histogram values and statistics are based on raw pixel spatial and intensity values, with bin intensities set to their left value. All frames in an enabled ActiveFrameRange are used and pixels considered are restricted to those within any Aoi.

 mchmApplySpatialCalibration1

Histogram values and statistics take into account the current spatial calibration.

 mchmApplyIntensityCalibration2

Histogram values and statistics take into account the current intensity calibration.

 mchmCenterBinValues4

Bin intensities are set to their center value instead of left.

 mchmProcessActiveFrameOnly8

If set, histogram values and statistics are based only on the source McImage.ActiveFrame. If clear (the default), histogram values and statistics are based on pixels within all frames in the McImage.ActiveFrameRange.

 mchmIgnoreAoi16

If set, histogram values and statistics are based on the entire source McImage. If clear (the default), the histogram is based on only those pixels within any source McImage.Aoi

Remarks

The value of this property is a combination (OR) of mcHistogramMode values.