extract 4*4 matrix from 8*8
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jitesh Bhanushali
le 3 Avr 2014
Commenté : Azzi Abdelmalek
le 3 Avr 2014
sir i have 256*256 image i want to extract top left 4*4 matrix from every 8*8 blocks of that image..please send me the code
0 commentaires
Réponse acceptée
Andrei Bobrov
le 3 Avr 2014
blockproc(yourimage,[8 8],@(x)x.data(1:4,1:4))
2 commentaires
Azzi Abdelmalek
le 3 Avr 2014
blockproc(im,[8 8],@(x) [x.data(1:4,1:4) zeros(4);zeros(4,8)]);
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Creating and Concatenating Matrices 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!