cell内にある最大値をもつ画像を取り出す方法について
Ältere Kommentare anzeigen
ある画像に対し,最大値を検出し,その行列を求めることは,
A = [1 2; 3 4]; % 行列
maximum = max(max(A));
[x,y]=find(A==maximum)
で可能ですが,
cell内にいくつかの画像がある場合には,
cell2mat(A);
max(A(:));
にてcellを行列に分解して最大値を取り出すことはできますが,その最大値が含まれた画像を取り出す場合はどうのようにすればいいのでしょうか.
ご教示のほどよろしくお願い申し上げます.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu イメージ finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!