1 | initial version |
Canny is used to find contour. Contours are detected using gradient operators which operate on real value. Hence you cannot use on RGB images. If you want to use on RGB image you have to split yor RGB image or convert in grayscale or create gradient operator which operate on RGB ilmages...