How can remove all regions outside roi?

Fellows I have a image with small coin, I want maintain the coin and remove all object's around the coin, I thought maybe implementing a Roi was possible to do that someone can help me

 Accepted Answer

See my attached masking demos. They show a variety of different ways you can mask an image, such as to blacken outside an ROI.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!