canny on RGB color
hello! I've a simple question. Can I use Canny function directly on RGB image and not on RGB image converted in gray? If it is possible, could you show me one exapmple? thanks you so much for help
hello! I've a simple question. Can I use Canny function directly on RGB image and not on RGB image converted in gray? If it is possible, could you show me one exapmple? thanks you so much for help
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...
Wrong?First have a look at post date. Then browse commit history and find when canny accepts RGB image. Now with rgb image canny function splits channels and gives three outputs and you have to merge result. it is not color gradient : paper reference is Andreas Koschan and Mongi Abidi Detection and Classification of Edges in Color Images
Asked: 2016-01-15 10:22:53 -0600
Seen: 1,430 times
Last updated: Jan 15 '16
Weird result while finding angle
OpenCV Tutorial 1 - Add OpenCV on API 8
Understand the memory managment while using imread() on allocated Mat
High-level implementation of Canny
Source code to Closing Holes Leaf Image
Real-Time Video Zoom & Sharpening
OpenCV4Android: Extracting a MatOfPoint from a Canny image for input into convexHull
baro, this is probably a bad question. what do you expect to happen ?
@berak I don't know I hope to find a function more robust that canny on grey. OpenCV provides something? thanks you so much