How can we divide an image into 16 sub images each of size 128x128
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Rida
el 20 de Mayo de 2014
Comentada: Rida
el 20 de Mayo de 2014
While the size of original image is 512x512
Respuesta aceptada
Más respuestas (1)
Youssef Khmou
el 20 de Mayo de 2014
Editada: Youssef Khmou
el 20 de Mayo de 2014
you can select a block as :
P=(512)/sqrt(16);
B11=M(1:P,1:P);
B12=M(1:P,P+1:2*P);
%...
B14=M(1:P,3*P+1:4*P);
%...
B44=M(3*P+1:4*P,3*P+1:4*P);
Ver también
Categorías
Más información sobre Image Processing Toolbox 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!