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!