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 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
kaavya subramani
am 1 Nov. 2016
Beantwortet: Walter Roberson
am 1 Nov. 2016
plz help me with matlab code
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 1 Nov. 2016
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!