62379dd5b9
* 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
27 lines
830 B
Plaintext
27 lines
830 B
Plaintext
# Boost.GIL (Generic Image Library) - tests
|
|
#
|
|
# Copyright 2019 Miral Shah <miralshah2211@gmail.com>
|
|
#
|
|
# Use, modification and distribution are subject to the Boost Software License,
|
|
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
|
# http://www.boost.org/LICENSE_1_0.txt)
|
|
#
|
|
import testing ;
|
|
|
|
project
|
|
: requirements
|
|
<include>..
|
|
;
|
|
|
|
compile-fail threshold_color_spaces_not_compatible_fail.cpp ;
|
|
run threshold_binary.cpp ;
|
|
run threshold_truncate.cpp ;
|
|
run threshold_otsu.cpp ;
|
|
run lanczos_scaling.cpp ;
|
|
run simple_kernels.cpp ;
|
|
run harris.cpp ;
|
|
run hessian.cpp ;
|
|
run sobel_scharr.cpp ;
|
|
run box_filter.cpp /boost/test//boost_unit_test_framework : : : <link>shared:<define>BOOST_TEST_DYN_LINK=1 ;
|
|
run median_filter.cpp /boost/test//boost_unit_test_framework : : : <link>shared:<define>BOOST_TEST_DYN_LINK=1 ;
|