indexing elements resulted from bwconncomp

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

 채택된 답변

Image Analyst
Image Analyst 2012년 3월 20일

0 개 추천

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

댓글 수: 1

hdrmt
hdrmt 2012년 3월 20일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

질문:

2012년 3월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by