|
As can be seen in the first image, closing was successful in removing the pepper noise, yet was unsuccessful in removing the salt noise. However, this was an improvement over dilation because it did little
damage to the original image, while still removing the pepper noise and did not amplify the salt noise. As can be seen in the second image, opening was successful in removing the salt noise, yet was
unsuccessful in removing the pepper noise. Again, this is an improvement over erosion, because it did little damage to the original image, and did not amplify the pepper noise. However, there seems to be
a missing element in the use of these functions. This element is the INVERSE function.
The best way to explain the inverse function is pictorially. The underlying concept is to swap black and white in a binary image. Therefore, the following images are a useful example:
|