gil/test/core/image_processing
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
..
box_filter.cpp implemented box_filter (#383) 2019-08-22 00:26:36 +05:30
CMakeLists.txt Implement Sobel and Scharr operators (#392) 2019-10-29 22:38:04 +06:00
harris.cpp Implement Sobel and Scharr operators (#392) 2019-10-29 22:38:04 +06:00
hessian.cpp Implement Sobel and Scharr operators (#392) 2019-10-29 22:38:04 +06:00
Jamfile Implement Sobel and Scharr operators (#392) 2019-10-29 22:38:04 +06:00
lanczos_scaling.cpp Fix inspection issues in image_processing sources and tests (#377) 2019-08-09 10:01:10 +02:00
median_filter.cpp Implemented median_filter (#393) 2019-10-15 10:12:54 +05:30
simple_kernels.cpp Implement Sobel and Scharr operators (#392) 2019-10-29 22:38:04 +06:00
sobel_scharr.cpp Implement Sobel and Scharr operators (#392) 2019-10-29 22:38:04 +06:00
threshold_binary.cpp New threshold tests added for multi-channel views 2019-07-18 01:32:29 +05:30
threshold_color_spaces_not_compatible_fail.cpp Add color_spaces_are_compatible requirement as static_assert to threshold (#329) 2019-07-10 11:20:41 +01:00
threshold_otsu.cpp Otsu threshold implemented (#314) 2019-07-20 03:10:25 +05:30
threshold_truncate.cpp New threshold tests added for multi-channel views 2019-07-18 01:32:29 +05:30