dividing RGB image into overlaping blocks
조회 수: 4 (최근 30일)
이전 댓글 표시
I have a RGB image,please can anyone tell how to divide the image into OVERLAPPING BLOCKS OF SIZE 64 64.then i want to perform some operation on each block
Kindly assist
댓글 수: 1
Image Analyst
2013년 3월 2일
What overlaps? Does each block overlap other blocks, or do the blocks just overlap the original image with no block-to-block overlap (in essence the blocks perfectly tile the image like you were laying tiles on a floor)?
채택된 답변
Walter Roberson
2013년 3월 5일
Change your
@(block_struct)kmeans(block_struct.data,4)
to
@(block_struct)kmeans(double(block_struct.data),4)
댓글 수: 0
추가 답변 (1개)
Walter Roberson
2013년 3월 2일
blockproc() with BorderSize option, and with TrimBorder 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!