gil/test/core
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
..
algorithm Move tests of extensions inside test/ directory (#302) 2019-05-28 18:58:22 +02:00
channel Add tests for extension/numeric/channel_numeric_operations.hpp (#340) 2019-07-25 09:18:51 +02:00
color Disable BOOST_GIL_USE_CONCEPT_CHECK when compiling tests with clang (#304) 2019-06-02 06:13:04 +02:00
color_base Add basic test for color base algorithm: static_transform (#319) 2019-07-03 07:40:48 +02:00
image Cast to int to avoid signed/unsignd mismatch 2019-08-01 01:23:18 +02:00
image_processing Implement Sobel and Scharr operators (#392) 2019-10-29 22:38:04 +06:00
image_view Extract GIL-specific Boost.Test utilities from test/unit_test.hpp (#338) 2019-07-18 17:49:05 +02:00
iterator Disable BOOST_GIL_USE_CONCEPT_CHECK when compiling tests with clang (#304) 2019-06-02 06:13:04 +02:00
locator Disable BOOST_GIL_USE_CONCEPT_CHECK when compiling tests with clang (#304) 2019-06-02 06:13:04 +02:00
pixel [test] Split pixel_types fixture to integer and float pixel types (#365) 2019-08-06 08:16:11 +02:00
point Disable BOOST_GIL_USE_CONCEPT_CHECK when compiling tests with clang (#304) 2019-06-02 06:13:04 +02:00
CMakeLists.txt Implement algorithms for binary and binary inverse thresholding (#313) 2019-06-18 21:42:43 +02:00
fabscript Move tests of extensions inside test/ directory (#302) 2019-05-28 18:58:22 +02:00
Jamfile Implement algorithms for binary and binary inverse thresholding (#313) 2019-06-18 21:42:43 +02:00
promote_integral.cpp Include <iostream> only if BOOST_GIL_TEST_DEBUG defined [ci skip] 2019-07-18 23:01:20 +02:00