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

Risposta accettata

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

Più risposte (1)

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

Community Treasure Hunt

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

Start Hunting!

Translated by