Specifications
Intel
®
Image Processing Library Reference Manual
8-6
8
Open
Opens the image by
performing erosions
followed by dilations.
void iplOpen(IplImage*
srcImage
, IplImage*
dstImage
,
int
nIterations
);
srcImage
Thesourceimage.
dstImage
The resultant image.
nIterations
The number of times to erode and dilate the
image.
Discussion
The function iplOpen() performs
nIterations
of erosion followed by
nIterations
of dilation performed by iplErode() and iplDilate(),
respectively.
The process of opening has the effect of eliminating small and thin objects,
breaking objects at thin points, and generally smoothing the boundaries of
larger objects without significantly changing their area.
See Also
Erode
Dilate