how to create 8*8 subblock from a image without using matlab command
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
how to create 8*8 subblock from a image without using matlab command
2 commentaires
Walter Roberson
le 22 Nov 2012
Use MATLAB functions instead ?
Are you aware that even array indexing uses built-in MATLAB functions?
Réponses (1)
Walter Roberson
le 22 Nov 2012
Hint:
rowblks = size(YourImage, 1) / 8;
for K = 1 : rowblocks
YourImage( 8 * K - 7 : 8 * K, ....... )
4 commentaires
Walter Roberson
le 22 Nov 2012
BR = 1; BC = 6;
YourImage(8 * RB - 7 : 8 * BR, 8 * BC - 7 : 8 * BC, :)
Voir également
Catégories
En savoir plus sur Computer Vision with Simulink dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!