Specifications
Image Statistics Functions
12-1
12
This chapter describes the Image Processing Library functions that allow
you to compute the following statistical parameters of an image:
• the C, L
1
,andL
2
norms of the image pixel values
• spatial moments of order 0 to 3
• central moments of order 0 to 3
• minimum and maximum pixel values (for floating-point data only)
Table 12-1 lists the image statistics functions.
Table 12-1 Image Statistics Functions
Group Function Name Description
Norms
iplNorm
Computes the
C
,
L
1
,or
L
2
norm of pixel
values.
Moments
iplMoments
Computes all image moments of order
0to3.
iplGetCentralMoment
iplGetSpatialMoment
Return image moments computed by
iplMoments().
iplGetNormalizedCentralMoment
iplGetNormalizedSpatialMoment
Return normalized image moments
computed by iplMoments().
iplCentralMoment
iplSpatialMoment
Compute an image moment of the
specified order.
iplNormalizedCentralMoment
iplNormalizedSpatialMoment
Compute a normalized image moment
of the specified order.
Cross-
correlation
iplNormCrossCorr
Computes the normalized cross-
correlation of an image and a template.
Minimum and
maximum
iplMinMaxFP
Retrieves the actual minimum and
maximum pixel values in an image with
32-bit floating-point data.