reason for this error??
1 回表示 (過去 30 日間)
古いコメントを表示
Plzz tell me what's wrong with this code?? I want to perform text filtering on my image and want to remove all the non-letter elements.. What else can i do to achieve this??
cc= bwconncomp(Bgmclose);
>> L=labelmatrix(cc);
>> props=regionprops(cc,'BoundingBox');
>> idx=([props.BoundingBox(3)]<0.5);
??? Field reference for multiple structure elements that is followed
by more reference blocks is an error.
0 件のコメント
採用された回答
Walter Roberson
2012 年 4 月 20 日
bb = vertcat(probs.BoundingBox);
idx = bb(:,3) <0.5;
5 件のコメント
Walter Roberson
2012 年 4 月 20 日
What is the "center width" or "center height" of a bounding box?
find( 0.1 < bb(:,3) & bb(:,3) < 0.9 & 0.3 < bb(:,4) & bb(:,4) < 0.7)
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!