hi, i need to divide an image into 4 equal halves (like + sign) and again divide each block into 4 equal halves( like + sign), and need to find max value of each block, as a result i will get 16 values for an image

1 次查看(过去 30 天)
Thanks in advance, plz help me with one or two line matlab code

采纳的回答

Image Analyst
Image Analyst 2016-11-11
blockproc() can do that. I'm attaching two examples that you will easily be able to use directly or modify.

更多回答(1 个)

Jos (10584)
Jos (10584) 2016-11-11
help blockproc

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by