Click or drag to resize
Accord.NET (logo)

MomentsBaseCompute Method (Single, Rectangle)

Computes the moments for the specified image.

Namespace:  Accord.Imaging.Moments
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.7.0
Syntax
public abstract void Compute(
	float[,] image,
	Rectangle area
)
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.
See Also