Hi all
I have been tasked to implement a median filter on an image - this involves creating a window that will traverse the entire image.
When the window goes out of bounds of the image, the guilty indices are supposed to be set to zero.
My problem is that I have no idea how to do this since the type of data in the matrix is JSAMPLE. I tried using NULL but its not working.
Can anyone help?