Click or drag to resize
Accord.NET (logo)

RawMomentsCompute Method (Single, Rectangle, Boolean)

Note: This API is now obsolete.

Computes the raw moments for the specified image.

Namespace:  Accord.Imaging.Moments
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Use the Order property to determine the maximum order to be computed.")]
public void Compute(
	float[,] image,
	Rectangle area,
	bool secondOrder
)
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.
secondOrder
Type: SystemBoolean
True to compute second order moments, false otherwise.
See Also