How to divide an image into m*n blocks and then find mean and variance of each block?
8 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Image Analyst
2015-9-13
You can do this with blockproc(). I'm sure that's one of the cases done in my blockproc tutorials, attached.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!