Specifications
Histogram, Threshold, and Compare
Functions
10-1
10
This chapter describes functions that operate on an image on a pixel-by-
pixel basis: compare, threshold, and histogram functions. Table 10-1 lists
all functions in these groups.
Table 10-1 Histogram, Threshold, and Compare Functions
Group Function Name Description
Thresholding
iplThreshold
Performs a simple thresholding of
an image.
Lookup Table
and Histogram
iplContrastStretch
Stretches the contrast of an image
using intensity transformation.
iplComputeHisto
Computes the intensity histogram
of an image.
iplHistoEqualize
Enhances an image by flattening
its intensity histogram.
Comparing
Images
iplGreater
iplLess
iplEqual
Compares the pixels of two input
images and writes the results
(0 or 1) to the corresponding pixels
of the 1-bit output image.
iplGreaterS
iplGreaterSFP
iplLessS
iplLessSFP
iplEqualS
iplEqualSFP
Compares the input image’s pixels
with a constant and writes the
results(0or1)tothe
corresponding pixels in the 1-bit
output image.
continued
☞