How can we divide an image into 16 sub images each of size 128x128
조회 수: 5 (최근 30일)
이전 댓글 표시
While the size of original image is 512x512
채택된 답변
추가 답변 (1개)
Youssef Khmou
2014년 5월 20일
편집: Youssef Khmou
2014년 5월 20일
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);
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!