regionpropsで取得したAreaの最大値抽出について
Show older comments
regionprops関数で取得したAreaの最大値(連結ピクセル数)を抽出したいのですが、以下のようなエラーが出て解決策がわからず困っています。
I = imread('image.bmp');
bw = imbinarize(I);
CC = bwconncomp(bw,4);
CCpixels = regionprops(CC,'Area');
A = max(CCpixels.Area);
エラー: max
2 つの入力配列が指定されている場合、次元の引数はサポートされません。
宜しくお願い致します。
Accepted Answer
More Answers (0)
Categories
Find more on イメージ算術 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!