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.
조회 수: 3(최근 30일)
Walter Roberson 2017년 1월 30일
blockproc and have the function return max of the data minus min of the data.
Alternately you can use morphological dilation with ones(8,8) and subtract the morphological erosion with the same matrix as dilation is regional max and erosion is regional min. You could use this approach if the 8x8 blocks are sliding instead of distinct.