MATLAB: I want to divide image into 8*8 blocks and to find the color difference between pixels inside the block. And i need to retrieve only the larger difference pixel.

digital image processing

I want to divide image into 8*8 blocks and to find the color difference between pixels inside the block. And i need to retrieve only the larger difference pixel.

Best Answer

  • You can cut out 8*8 image from a large image.
    Icut = I(i:i+8,k:k+8);
    Please set appropriate i,k value to get the area you want.