1 | initial version |
Don't use Canny before HoughCircles. HoughCircles needs a grayscale image because it uses gradients for processing. There will be a Canny edge detection inside HoughCircles using param1 as higher threshold. Looking at the tutorial shows that a grayscale image is passed, so why do you think there should be a edge detection before?
2 | No.2 Revision |
Don't use Canny before HoughCircles. HoughCircles needs a grayscale image because it uses gradients for processing. There will be a Canny edge detection inside HoughCircles using param1 as higher threshold. Looking at the tutorial shows that a grayscale image is passed, so why do you think there should be a an edge detection before?