I currently have a program that opens a .jpg image.
I need to add code so that the user can click on the image and then thresholding is applied to the image.
I've looked a lot of places for help to implement the mouse event but had no luck.
Any help would be appreciated.