How to remove surrounding white areas in a easy way ?

2 visualizaciones (últimos 30 días)
Piyum Rangana
Piyum Rangana el 16 de Abr. de 2017
Comentada: Piyum Rangana el 16 de Abr. de 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.?

Respuesta aceptada

Image Analyst
Image Analyst el 16 de Abr. de 2017
Dilate your mask one layer of pixels with imdilate().

Más respuestas (0)

Categorías

Más información sobre Computer Vision with Simulink en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by