How to divide an image into m*n blocks and then find mean and variance of each block?

7 visualizaciones (últimos 30 días)
i have an image of 512*512. i want to divide it into 16*16 blocks. Then find mean and variance of each block. Can anyone help with a matlab code?

Respuestas (1)

Image Analyst
Image Analyst el 13 de Sept. de 2015
You can do this with blockproc(). I'm sure that's one of the cases done in my blockproc tutorials, attached.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by