Description

Image operator to provide Histogram processing and analysis, exposed as Image.Histogram.

Remarks

When used as the Image.ColorModel operator, this operator uses its parent Image as the source, unless a different source image is provided in the optional parameter to the Compute method. When this operator is a child of an image, changes to the image data are reflected automatically in the Histogram.

It can also be created independently using CreateOperator. In this case the operator does not have a parent and the parent image to be used as the source must be supplied in the parameter to Compute.

You can keep a snapshot of an histogram at a given time by either creating the Histogram with no parent using CreateOperator, or by detaching the operator from its image.

Members

Methods
Compute

Forces the computation of the Histogram regardless of the internal state of the operator and its source image.

GetThresholdParameters

Gets the current thresholding parameters

SetThresholdParameters

Sets the method and parameters used to compute the Thresholds property.


Properties
AbsoluteRangeRead-only property

Returns the absolute minimum and maximum luminanance.

BestFitRangeRead-only property

Returns a range of calibrated intensities so that the total of the bin counts outside of this range equals to twice a percentage (Percent) of the Sum of all the bin counts.

BinCountRead-write property

A read-write property specifying the number of bins in the Histogram.

BinXValuesRead-only property

Returns the bin intensity values, according to the current Mode.

ChangeCountRead-only property

A count of changes to histogram properties.

InterpretationRead-write property

A read-write property specifying how the image data should be analyzed.

MaxRead-only property

The calibrated (depending on Mode) maximum of all the bin x values (calibrated intensity).

MaxBinCountRead-only property

The maximum allowed number of bins in the Histogram.

MaxThresholdPhasesRead-only property

The maximum number of threshold Phases supported by a given thresholding method.

MeanRead-only property

The calibrated (depending on Mode) Mean of all the bin counts.

MinRead-only property

The calibrated (depending on Mode) minimum of all the bin x values (calibrated intensity).

modeRead-write property

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

NumberOfChannelsRead-only property

The number of Channels in the Histogram.

RawValuesRead-only property

Returns the raw (non calibrated) histogram values.

StdDevRead-only property

The calibrated (depending on Mode) standard deviation of all the bin counts.

SumRead-only property

The calibrated (depending on Mode) Sum of all the bin counts where calibrated bin counts (Values) are multiplied by their x value (calibrated intensity), and accumulated.

ThresholdsRead-only property

One or more thresholds separating phases of the histogram.

ValuesRead-only property

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