Hi, i have 170x170x36, (i.e,rows=170,col=170,images=36),i need to divide 36 image into 4 equal halves and find max value in each halves, so that i will get 2x2x36 as a final result.
1 回表示 (過去 30 日間)
古いコメントを表示
plz help me with matlab code
0 件のコメント
採用された回答
Walter Roberson
2016 年 11 月 1 日
divided_Array = mat2cell(YourArray, [85 85], [85 85], 36);
Now divided_Array{1,1}, {1,2}, {2,1}, {2,2} all exist and you can take their max()
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!