Core Optical, Inc.
MorphologicalProcessor GetCentralMoment Method Industrial Strength, Scientific Grade
Gets the central spatial geometric moment (of specified order and normalization) of the input binary object.

Namespace: PrecisionImage.BinarizationAndMorphology
Assembly: PrecisionImage (in PrecisionImage.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax

public double GetCentralMoment(
	BinaryObject binaryObject,
	int RowOrder,
	int ColumnOrder,
	bool Normalize = false
)

Parameters

binaryObject
Type: PrecisionImage.BinarizationAndMorphology BinaryObject
A BinaryObject whose moment is to determined.
RowOrder
Type: OnlineSystem Int32
An OnlineInt32 specifying the row order of the moment. This must be a positive value.
ColumnOrder
Type: OnlineSystem Int32
An OnlineInt32 specifying the column order of the moment. This must be a positive value.
Normalize (Optional)
Type: OnlineSystem Boolean
A OnlineBoolean indicating whether or not to normalize the computed moment to the binary object's area.

Return Value

A OnlineDouble representing the object's computed moment.
Exceptions

Remarks

Use this method to compute the (normalized) central spatial geometric moment of the specified BinaryObject. If the default value of false for Normalize is used, the central moment takes the form:

If a value of true is specified for Normalize, the central moment takes the form:

See Also