extract 4*4 matrix from 8*8
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jitesh Bhanushali
el 3 de Abr. de 2014
Comentada: Azzi Abdelmalek
el 3 de Abr. de 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 comentarios
Respuesta aceptada
Andrei Bobrov
el 3 de Abr. de 2014
blockproc(yourimage,[8 8],@(x)x.data(1:4,1:4))
2 comentarios
Azzi Abdelmalek
el 3 de Abr. de 2014
blockproc(im,[8 8],@(x) [x.data(1:4,1:4) zeros(4);zeros(4,8)]);
Más respuestas (0)
Ver también
Categorías
Más información sobre Import, Export, and Conversion en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!