Effacer les filtres
Effacer les filtres

how to find the largest region in binary image and replace all other region with black?

14 vues (au cours des 30 derniers jours)
I have a binary image (attached as 'randomm.jpg') that consists of several shapes.
How to extract the shape with most pixels (white) and replace other figures with black?
Thank you!

Réponse acceptée

Walter Roberson
Walter Roberson le 6 Mai 2017

Plus de réponses (0)

Catégories

En savoir plus sur Geometric Transformation and Image Registration 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