Hello,
I am interested into doing this from the Python cv2 wrapper of OpenCV.
I'd like to test each pixel of a gray image to see if it has a value >= to the value of its 9 neighbors.
The output should be a binary mask, preferably of the same size than the input image.
Thanks, F.