A problem with 'bwconncomp' function ....
이전 댓글 표시
hi all,
please i need a help this is a part of my code ,
T = maketform('affine',[cn -sn 0;
sn cn 0;
(size(im,2)/2-ct(2)) (size(im,1)/2-ct(1)) 1]);
im = imtransform(im,T);
BW = im>thr;
CC = bwconncomp(BW);
when i tried to run it ,i got this error : "??? Undefined function or method 'bwconncomp' for input arguments of type 'logical'."
what is the solution please?
Thanks
채택된 답변
추가 답변 (1개)
Image Analyst
2012년 8월 1일
1 개 추천
It could be newer than your version. Check here: http://www.mathworks.com/help/techdoc/rn/rn_intro.html Either that, or you overrode the definition with your own somehow.
댓글 수: 4
mmm ssss
2012년 8월 1일
Walter Roberson
2012년 8월 1일
You would need to install a newer version, or else write the functionality based upon routines you do have access to.
Sean de Wolski
2012년 8월 1일
or find something on the FEX that does this... (hint hint)
Image Analyst
2012년 8월 1일
You can use bwlabel() instead of bwconncomp().
카테고리
도움말 센터 및 File Exchange에서 Region and Image Properties에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!