how to remove spot from an image.?
Mostrar comentarios más antiguos
i want to remove the black spot with character L.
so i want write a piece of code which help me to find this spot and remove it.
bcz i have lots images and want to filter.

Respuestas (2)
Constantino Carlos Reyes-Aldasoro
el 29 de Jun. de 2020
0 votos
You should look for the extreme values of the intensities. The dark regions of the image are not as dark as the circle, so find the lowest values and those will correspond to the black. Use some morphological operators and then you will be able to select only those of the "L".
Image Analyst
el 29 de Jun. de 2020
0 votos
What does "remove" mean to you? Do you want to crop the image? Do you want to fill it with white? Or black? Or smear in the pixels just outside of it with regionfill()?
Categorías
Más información sobre Image Filtering en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!