Merge pull request #8694 from mschoeneck:Canny

Parallelize Canny with custom gradient (#8694)

* New Canny implementation. Restructuring code in parallelCanny class. Align mag buffer and map.

* Fix warnings.

* Missing SIMD check added.

* Replaced local trailingZeros in contours.cpp. Use alignSize in canny.cpp

* Fix warnings in alignSize and allocate just minimum extra columns.

* Fix another warning in map.create.

* Exchange for loop by do loop to avoid double check at the beginning.
Define extra SIMD CANNY_CHECK to avoid unnecessary continue.
This commit is contained in:
mschoeneck
2017-05-24 15:20:25 +02:00
committed by Alexander Alekhin
parent 2e056fbe8a
commit 4a4d94f266
3 changed files with 509 additions and 703 deletions
File diff suppressed because it is too large Load Diff