regionpropsで取得したAreaの最大値抽出について
显示 更早的评论
regionprops関数で取得したAreaの最大値(連結ピクセル数)を抽出したいのですが、以下のようなエラーが出て解決策がわからず困っています。
I = imread('image.bmp');
bw = imbinarize(I);
CC = bwconncomp(bw,4);
CCpixels = regionprops(CC,'Area');
A = max(CCpixels.Area);
エラー: max
2 つの入力配列が指定されている場合、次元の引数はサポートされません。
宜しくお願い致します。
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 イメージ算術 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!