Borrar filtros
Borrar filtros

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

17 visualizaciones (últimos 30 días)
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!

Respuesta aceptada

Walter Roberson
Walter Roberson el 6 de Mayo de 2017

Más respuestas (0)

Categorías

Más información sobre Geometric Transformation and Image Registration 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