refactored gpu::Canny (converted it into Algorithm)

This commit is contained in:
Vladislav Vinogradov
2013-04-30 11:47:33 +04:00
parent fc8476544c
commit 48fb8c4f8a
7 changed files with 243 additions and 155 deletions

View File

@@ -31,7 +31,7 @@ int main(int argc, const char* argv[])
}
Mat mask;
Canny(src, mask, 100, 200, 3);
cv::Canny(src, mask, 100, 200, 3);
Mat dst_cpu;
cv::cvtColor(mask, dst_cpu, COLOR_GRAY2BGR);