Optimization of Canny edge detector
Canny edge detector works not very well for my task so I decided to play with its parameters, but it turned out to be problematic. If I set aperture to 9, the program aborts. To 5 - it hangs. Looks like it needs more than 5 minutes to process an image of moderate size. Any hints on what I can do with parameters of this function and what I can't?
Add some images and an example code. Also give us some information what system you use and than we can help you ;)
I just wanted to understand the possible range of each parameter and how they affect performance. Canny() accepts only grey images, but taking color into account would substantially improve sensitivity. What functions can you recommend for edge detection on color pictures?