Borrar filtros
Borrar filtros

how to draw rectangle for biggest labeled area in an image??

4 visualizaciones (últimos 30 días)
santosh patil
santosh patil el 4 de Abr. de 2015
i labeled an image using CC = bwconncomp(BW). and found the biggest area labeled using
numPixels = cellfun(@numel,CC.PixelIdxList);
[biggest,idx] = max(numPixels);
BW(CC.PixelIdxList{idx}) = 0;
now how can i put rectangle for biggest area??

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by