Click or drag to resize
Accord.NET (logo)

CentralMoments Constructor (UnmanagedImage, Rectangle, Int32)

Initializes a new instance of the CentralMoments class.

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

Parameters

image
Type: Accord.ImagingUnmanagedImage
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