Specifications

Morphological Operations
8-1
8
The morphological operations of the Image Processing Library are simple
erosion and dilation of an image. A specified number of erosions and
dilations are performed as part of image opening or closing operations in
order to (respectively) eliminate or fill small and thin holes in objects,
break objects at thin points or connect nearby objects, and generally
smooth the boundaries of objects without significantly changing their area.
Table 8-1 lists the functions that perform these operations.
Table 8-1 Morphological Operation Functions
Group Function Name Description
Erode, Dilate
iplErode
Erodes the image an indicated number
of times.
iplDilate
Dilates the image an indicated number of
times.
Open, Close
iplOpen
Opens the image while smoothing the
boundaries of large objects.
iplClose
Closes the image while smoothing the
boundaries of large objects.