i want code for comparison of pixels in an image by considering a 3*3 matrix. for each pixel, a 3*3 matrix around the pixel should be considered and the pixel must be compared with both the diagonals of the considered 3*3 matrix, whether the pixel is greater than all the diagonal elements or not?
MATLAB: I need code urgently for the project, please help me
comparisondiagonal elementsImage Processing Toolbox
Best Answer