Specifications

Image Statistics Functions
12-7
12
Discussion
The function iplGetSpatialMoment() returns the spatial moment
M
U
(m,n) previously computed by the iplMoments() function.
GetCentralMoment
Returns a central moment
computed by iplMoments.
double iplGetCentralMoment(IplMomentState
mState
, int
mOrd
, int
nOrd
);
mState
The structure storing the image moments.
mOrd, nOrd
The integer exponents m and n (see the moment
definition in the beginning of this section).
These arguments must satisfy the condition
0
mOrd
+
nOrd
3.
Discussion
The function iplGetCentralMoment() returns the central moment
U
U
(m,n) previously computed by the iplMoments() function.
GetNormalizedSpatialMoment
Returns the normalized
spatial moment computed
by iplMoments.
double iplGetNormalizedSpatialMoment(IplMomentState
mState
, int
mOrd
, int
nOrd
);