How to divide an image into m*n blocks and then find mean and variance of each block?
2 views (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
Image Analyst
on 13 Sep 2015
You can do this with blockproc(). I'm sure that's one of the cases done in my blockproc tutorials, attached.
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!