How to remove surrounding white areas in a easy way ?

2 vues (au cours des 30 derniers jours)
Piyum Rangana
Piyum Rangana le 16 Avr 2017
Commenté : Piyum Rangana le 16 Avr 2017
Consider the below image. By finding the mean value of the pixels surrounded of the ROIs(degraded/damaged regions) filled out the ROIs with it. Now I need to remove the surrounded white areas of those filled regions. How can I do this in a easy way.?

Réponse acceptée

Image Analyst
Image Analyst le 16 Avr 2017
Dilate your mask one layer of pixels with imdilate().

Plus de réponses (0)

Catégories

En savoir plus sur Computer Vision with Simulink dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by