In extreme cases, a soft morphological operation is simplified into the standard morphological operation. For example, r = 1 or C = B, a soft morphological operation becomes the standard operation with structure element B. If r > |BC|, a soft morphological operation becomes the standard operation by using the center of structure set C.

images
Figure 8.34: Soft dilation for a binary image.
images
Figure 8.35: Soft erosion for a binary image.

For a grayscale image, let the structuring set B = {(–1, 0), (0, 1), (0, 0), (0, –1), (1, 0)}, and its center C

Get Image Analysis now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.