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!