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 view (last 30 days)
Thanks in advance, plz help me with one or two line matlab code

Accepted Answer

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

More Answers (1)

Jos (10584)
Jos (10584) on 11 Nov 2016
help blockproc

Community Treasure Hunt

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

Start Hunting!