Click or drag to resize
Accord.NET (logo)

MomentsBaseCompute Method (BitmapData, Rectangle)

Computes the moments for the specified image.

Namespace:  Accord.Imaging.Moments
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public void Compute(
	BitmapData image,
	Rectangle area
)
Request Example View Source

Parameters

image
Type: System.Drawing.ImagingBitmapData
The image whose moments should be computed.
area
Type: System.DrawingRectangle
The region of interest in the image to compute moments for.
See Also