Why do edge detection results look different for uint8 and float32?
Why do edge detection results look different for uint8 and float32? Question: I use OpenCV’s Sobel filter for edge detection. I was wondering why the output looks different when I run the 2 following lines. # uint8 output img_uint8 = cv2.Sobel(img_gray, cv2.CV_8U, dx=1, dy=0, ksize=5) # float32 output img_float32 = cv2.Sobel(img_gray, cv2.CV_32F, dx=1, dy=0, ksize=5) …