How can we divide an image into 16 sub images each of size 128x128
1 次查看(过去 30 天)
显示 更早的评论
While the size of original image is 512x512
采纳的回答
更多回答(1 个)
Youssef Khmou
2014-5-20
编辑:Youssef Khmou
2014-5-20
you can select a block as :
P=(512)/sqrt(16);
B11=M(1:P,1:P);
B12=M(1:P,P+1:2*P);
%...
B14=M(1:P,3*P+1:4*P);
%...
B44=M(3*P+1:4*P,3*P+1:4*P);
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!