Specifications

Intel
®
Image Processing Library Reference Manual
12-10
12
Discussion
The function iplCentralMoment() computes the central moment U
U
(m,n)
for the
image
.
NormalizedSpatialMoment
Computes a normalized
spatial moment.
double iplNormalizedSpatialMoment(IplImage*
image
, int
mOrd
, int
nOrd
);
image
The image for which the moment will be
computed.
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 iplNormalizedSpatialMoment() computes the normalized
spatial moment M
U
(m,n)/(
nCols
m
·
nRows
n
) for the
image
.
Here M
U
(m,n) is the spatial moment,
nCols
and
nRows
are the numbers of
pixel columns and rows, respectively.