You are here: Start » AVL.NET » AVS.ImageMoment Method

AVS.ImageMoment Method

Computes the selected moment of an image in regular and normalized (divided by sum of pixel values) variant.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ImageMoment
(
	AvlNet.Image inImage,
	NullableRef<AvlNet.Region> inRoi,
	AvlNet.ImageMomentType inMomentType,
	bool inCentral,
	out float outMoment,
	NullableValue<float> outNormMoment
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inRoiAvlNet.NullableRef<AvlNet.Region>Range of pixels to be processed. Default value: atl::NIL.
inMomentTypeAvlNet.ImageMomentType
inCentralbool
outMomentfloat
outNormMomentAvlNet.NullableValue<float> Can be null to skip this parameter calculation.

Function Overrides

See also