Specifications
Morphological Operations
8-3
8
Figure 8-1 shows an example of 8-bit gray scale image before erosion (left)
and the same image after erosion of a rectangular ROI (right).
Figure 8-1 Erosion in a Rectangular ROI: the Source (left) and Result (right)
____________________________________________________________
The following code (Example 8-1) performs erosion of the image inside the
selected rectangular ROI.