OpenCV: Overlaying edges onto original image

edited April 2014 in Library Questions

I am using OpenCV to process images. I'd like to know how to take the detected edges from the Canny edge detector and overlay them onto the original image for viewing?

Thanks...

Tagged:

Answers

  • Here's one way using the FindEdges.pde example in the OpenCV for Processing library:

    Add this line to the end of setup()

    src.blend(canny, 0, 0, canny.width, canny.height, 0, 0, src.width, src.height, LIGHTEST);

Sign In or Register to comment.