I am trying to perform the Canny edge detection algorithm of OpenCV to an image array, whose values range from 0 to 255.
I am struggling to understand the role of the thresholds in the cv2.canny() function because for example, when I use threshold values of (MinThr=300, MaxThr=400) or (MinThr=350, MaxThr=450) I get different results. I don't understand why this happen since I thought that the Thresholds values that I define, couldn't be higher than the maximum value of the pixels in the array (in my case 255).
The other answers that I saw at Stackoverflow didn't help, so if someone could enlight me I would be very grateful. Thanks.