indexing elements resulted from bwconncomp

Hi, could any tell me how to access specific elements resulted from bwconncomp function?

 Akzeptierte Antwort

Image Analyst
Image Analyst am 20 Mär. 2012

0 Stimmen

Before you've called regionprops()? Why do you want to do that?

1 Kommentar

hdrmt
hdrmt am 20 Mär. 2012
Because I would like to construct new image while eliminating some elements accoring to some conditions using:
>> bw(CC.PixelIdxList{k}) = 1
if bw is the image, CC is the connected component and k is an index.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by