Could someone explain the squeeze function
5 ビュー (過去 30 日間)
古いコメントを表示
I'm new to matlab and struggling to understand the squeeze function, what does it exactly do?
1 件のコメント
KALYAN ACHARJYA
2018 年 8 月 28 日
As you changed the question, please ask a new question, don't edit the question again after getting the answer.
採用された回答
KALYAN ACHARJYA
2018 年 8 月 28 日
編集済み: KALYAN ACHARJYA
2018 年 8 月 28 日
Question: would it be possible to extract the row 1 column 2 value from each layer of myimage?
Yes
data1=myimage(1,2,:)
And As per title of the question RGB values extraction-
red=myimage(1,2,:,1);
green=myimage(1,2,:,2);
blue=myimage(1,2,:,3);
Same for second case.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!