Canny Edge detection on 8 bit image

asked 2013-05-24 15:48:17 -0500

eyal gravatar image

Hi all,

I kind of new to OpenCV and I want to calculate canny edge detection to 8 bit (cv_8u) image. I know that canny uses sobel gradient operation. sobel gradient calculation performed on 8 bit image results in pixel values greater than 255 so my question is what range do I have to specify the lower and hi thresholds? in the range of 0-255 as in my original image or somthing else?

Thank u in advance

edit retag flag offensive close merge delete