Click or drag to resize
Accord.NET (logo)

CentralMoments Constructor (Single, Rectangle, Int32)

Initializes a new instance of the CentralMoments class.

Namespace:  Accord.Imaging.Moments
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.7.0
Syntax
public CentralMoments(
	float[,] image,
	Rectangle area,
	int order = 2
)
Request Example View Source

Parameters

image
Type: SystemSingle
The image whose moments should be computed.
area
Type: System.DrawingRectangle
The region of interest in the image to compute moments for.
order (Optional)
Type: SystemInt32
The maximum order for the moments.
See Also