Monday, April 15, 2013

Canny edge detector



+ Wiki

Step1: 
source code:
Imgproc.cvtColor(image, image, Imgproc.COLOR_RGB2GRAY);
Imgproc.Canny(image, image, lowThresh, highThresh);  //lowThresh=10,highThresh=100;

Step2:
test result: (before)
(after process)

進階版: show in the same screen.
code: ?


result:

result 2:

Step 3: trace the canny.cpp source code in OpenCV

+ Location: \modules\imgproc\src\canny.cpp



No comments:

Post a Comment