MATLAB: 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

digital image processing

Thanks in advance, plz help me with one or two line matlab code

Best Answer

blockproc() can do that. I'm attaching two examples that you will easily be able to use directly or modify.
Related Question