Image Processing and Acquisition Using Python by Chityala Ravishankar; Pudipeddi Sridevi;

Image Processing and Acquisition Using Python by Chityala Ravishankar; Pudipeddi Sridevi;

Author:Chityala, Ravishankar; Pudipeddi, Sridevi;
Language: eng
Format: epub
Publisher: CRC Press LLC
Published: 2020-06-08T00:00:00+00:00


FIGURE 9.5: An example of grayscale erosion. In grayscale dilation, bright pixels increase or grow and dark pixels decrease or shrink. The effect of dilation can be clearly observed in a region(s) where there is a change in the grayscale intensity. Similar to binary dilation, grayscale dilation fills holes.

The following is the Python function for grayscale dilation.

scipy.ndimage.morphology.grey_dilation(input, footprint) Necessary arguments: input has to be an ndarray. Optional arguments: footprint is a structure element that is an ndarray of integers. Returns: An ndarray.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.