extract 4*4 matrix from 8*8
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jitesh Bhanushali
am 3 Apr. 2014
Kommentiert: Azzi Abdelmalek
am 3 Apr. 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 Kommentare
Akzeptierte Antwort
Andrei Bobrov
am 3 Apr. 2014
blockproc(yourimage,[8 8],@(x)x.data(1:4,1:4))
2 Kommentare
Azzi Abdelmalek
am 3 Apr. 2014
blockproc(im,[8 8],@(x) [x.data(1:4,1:4) zeros(4);zeros(4,8)]);
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!