how to create 8*8 subblock from a image without using matlab command
1 回表示 (過去 30 日間)
古いコメントを表示
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?
回答 (1 件)
Walter Roberson
2012 年 11 月 22 日
Hint:
rowblks = size(YourImage, 1) / 8;
for K = 1 : rowblocks
YourImage( 8 * K - 7 : 8 * K, ....... )
4 件のコメント
Walter Roberson
2012 年 11 月 22 日
BR = 1; BC = 6;
YourImage(8 * RB - 7 : 8 * BR, 8 * BC - 7 : 8 * BC, :)
参考
カテゴリ
Help Center および File Exchange で Computer Vision with Simulink についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!