how to create 8*8 subblock from a image without using matlab command
显示 更早的评论
how to create 8*8 subblock from a image without using matlab command
2 个评论
Walter Roberson
2012-11-22
Use MATLAB functions instead ?
Are you aware that even array indexing uses built-in MATLAB functions?
vipul utsav
2012-11-22
回答(1 个)
Walter Roberson
2012-11-22
Hint:
rowblks = size(YourImage, 1) / 8;
for K = 1 : rowblocks
YourImage( 8 * K - 7 : 8 * K, ....... )
4 个评论
vipul utsav
2012-11-22
Walter Roberson
2012-11-22
What is "6th number 8*8 block" ? When you are dividing into 8x8 blocks, you will have those blocks going across and those blocks going down, so which one of them is the "6th" ?
vipul utsav
2012-11-22
Walter Roberson
2012-11-22
BR = 1; BC = 6;
YourImage(8 * RB - 7 : 8 * BR, 8 * BC - 7 : 8 * BC, :)
类别
在 帮助中心 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!