How to remove surrounding white areas in a easy way ?

3 次查看(过去 30 天)
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.?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Computer Vision with Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by