gil/test
Olzhas Zhumabek 62379dd5b9
Implement Sobel and Scharr operators (#392)
* Implement Sobel and Scharr operators

This commit adds Sobel and Scharr
operators with support for 0th and 1st
degrees with other degrees planned for
later

* Migrate and fix Harris example

Generate Harris entries now uses
signed image view.
The Harris corner detector example
now uses the Scharr filter generator
and convolve_2d to reduce amount
of code needed.

* Fix and migrate Hessian example

The Hessian example now uses signed
image views and uses newly added kernel
generators to compute gradients

* Fix Harris and Hessian tests

The tests broke due to migration to
signed views in algorithms, but tests
were not adjusted

* Fix Jamfile for example/sobel_scharr.cpp

* Cosmetic changes

* Commented out fail tests

* Fixed pixel16 used in image16s

In Harris and Hessian tests, unsigned
pixel values was used to construct
signed image, which was causing
appveyor to error out.

* Reenable failing targets

* Unify kernel generator interface

This commit makes all kernel
generator functions to return kernel_2d
and adapts dependant threshold
function to use the new interface

* Migrate Hessian and Harris tests

Migrate Hessian and Harris tests to new
interface for kernel generators

* Migrate Harris and Hessian examples

Harris and Hessian examples now use
new interface for kernel generation

* Migrate simple_kernels tests

simple_kernels are now using kernel_2d
interface

* Add missing return

Normalized mean generation had missing
return at the end of the function

* Adapt code to namespace move

This commit reacts to kernel_2d,
convolve_2d being moved to
namespace detail
2019-10-29 22:38:04 +06:00
..
core Implement Sobel and Scharr operators (#392) 2019-10-29 22:38:04 +06:00
extension Flatten structure of test/extension/io/output/ folder (#400) 2019-10-29 08:59:55 +01:00
header Move tests of extensions inside test/ directory (#302) 2019-05-28 18:58:22 +02:00
legacy Move tests of extensions inside test/ directory (#302) 2019-05-28 18:58:22 +02:00
CMakeLists.txt Implement algorithms for binary and binary inverse thresholding (#313) 2019-06-18 21:42:43 +02:00
Jamfile Move tests of extensions inside test/ directory (#302) 2019-05-28 18:58:22 +02:00
unit_test_utility.hpp Include boost/core/typeinfo.hpp where used 2019-07-18 19:57:19 +02:00
unit_test.hpp Include boost/core/typeinfo.hpp where used 2019-07-18 19:57:19 +02:00