ImageMomentsCalculateSpatialMoment Method

CVB.Net Documentation
Get one of the spatial image moments.

Namespace:  Stemmer.Cvb.Foundation
Assembly:  Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax

public double CalculateSpatialMoment(
	MomentsOrder xOrder,
	MomentsOrder yOrder,
	Point2D offset,
	MomentsNormalization normalization
)

Parameters

xOrder
Type: Stemmer.Cvb.FoundationMomentsOrder
X order of the moment to retrieve
yOrder
Type: Stemmer.Cvb.FoundationMomentsOrder
Y order of the moment to retrieve
offset
Type: Stemmer.CvbPoint2D
Offset of the moments.
normalization
Type: Stemmer.Cvb.FoundationMomentsNormalization
Whether or not to normalize.

Return Value

Type: Double
The spatial moment.
See Also

Reference