Specifications
Intel
®
Image Processing Library Reference Manual
12-8
12
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 iplGetNormalizedSpatialMoment() returns the
normalized spatial moment M
U
(m,n)/(
nCols
m
·
nRows
n
), where M
U
(m,n)is
the spatial moment previously computed by the
iplMoments() function,
nCols
and
nRows
are the numbers of columns and rows, respectively.
GetNormalizedCentralMoment
Returns the normalized
central moment computed
by iplMoments.
double iplGetNormalizedCentralMoment(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 iplGetNormalizedCentralMoment() returns the
normalized central moment U
U
(m,n)/(
nCols
m
·
nRows
n
), where U
U
(m,n)is
the central moment previously computed by the
iplMoments() function,
nCols
and
nRows
are the numbers of columns and rows, respectively.