I want to apply a 3X3 window kernel in an image and replace the center pixel with the minimum difference between its surrounding pixels. Anybody please provide me with some help. I am new with OpenCV. And want to apply this process on whole image.
↧