How to divide 64X64 matrix into sixteen 8X8 blocks?
이전 댓글 표시
I am having pixel value of an image as 64X64 matrix. I want to divide it into sixteen 8X8 matrix (ie)an image into sub blocks.Can anyone help me plz...
답변 (2개)
Star Strider
2014년 2월 22일
Run this to see how it works :
A = [ones(4) ones(4)*2; ones(4)*3 ones(4)*4]
C = mat2cell(A, [4 4], [4 4])
B1 = C{1,1}
B4 = C{2,2}
댓글 수: 1
Preeti Topno
2018년 9월 18일
thanks...it really helped me
Dishant Arora
2014년 2월 22일
1 개 추천
카테고리
도움말 센터 및 File Exchange에서 Image Arithmetic에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!