how to create 8*8 subblock from a image without using matlab command
조회 수: 1 (최근 30일)
이전 댓글 표시
how to create 8*8 subblock from a image without using matlab command
댓글 수: 2
Walter Roberson
2012년 11월 22일
Use MATLAB functions instead ?
Are you aware that even array indexing uses built-in MATLAB functions?
답변 (1개)
Walter Roberson
2012년 11월 22일
Hint:
rowblks = size(YourImage, 1) / 8;
for K = 1 : rowblocks
YourImage( 8 * K - 7 : 8 * K, ....... )
댓글 수: 4
Walter Roberson
2012년 11월 22일
BR = 1; BC = 6;
YourImage(8 * RB - 7 : 8 * BR, 8 * BC - 7 : 8 * BC, :)
참고 항목
카테고리
Help Center 및 File Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!