Commit 26dc3a6c authored by Thiago Santini's avatar Thiago Santini

Fixes #1

parent eae14869
......@@ -142,8 +142,8 @@ Mat PuRe::canny(const Mat& in, const bool blurImage, const bool useL2, const int
} else
blurred = in;
Sobel(blurred, dx, dx.type(), 1, 0, 7, 1, BORDER_REPLICATE);
Sobel(blurred, dy, dy.type(), 0, 1, 7, 1, BORDER_REPLICATE);
Sobel(blurred, dx, dx.type(), 1, 0, 7, 1, 0, BORDER_REPLICATE);
Sobel(blurred, dy, dy.type(), 0, 1, 7, 1, 0, BORDER_REPLICATE);
/*
* Magnitude
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment