Processor228
628165368f
Provide testcase that shows the fix in action
2025-12-05 18:59:42 +03:00
Dirk Stolle
32eabbc553
chore: fix more typos ( #753 )
2024-07-23 09:40:16 +02:00
Dirk Stolle
74ffdcb047
chore: fix some typos ( #751 )
2024-07-08 10:40:31 +02:00
Andrey Semashev
322c4e2e19
Updated Boost.Filesystem usage. ( #741 )
...
Removed usage of Boost.Filesystem APIs that were deprecated and
then removed.
2024-01-27 11:09:10 +01:00
nicolacandussi
8f4cdcbcce
fix: Fixed custom color converter in dynamic_factory and added corresponding ( #726 )
2023-02-21 14:38:03 +01:00
Marco Langer
e5e636c154
fix: Broken build of test project for gcc-5 ( #712 )
...
Fixes #709
Fixes #710
It may also fix #711 , we're yet to see after next run of Boost regression builds.
2022-07-23 20:21:28 +02:00
Marco Langer
573ba132cd
fix: broken build for midpoint_ellipse_rasterizer::draw_curve ( #705 )
...
* fix: ellipse_rasterizer draw_curve()
* moved ostream operator overload of point into test fixture file
2022-07-04 21:09:21 +02:00
Mateusz Łoskot
7b7c786c1b
test: Check more properties of indexed_image_view from extension/toolbox
2022-06-29 21:56:51 +02:00
Mateusz Łoskot
1049c07192
build: Fix CMake source file extensions must be explicit
2022-06-27 18:28:10 +02:00
Marco Langer
d5492e1ace
feat: Added apply_rasterizer() free function ( #695 )
...
This PR implements the gil::apply_rasterizer()
free function mentioned in #680 .
2022-06-27 09:54:58 +02:00
Marco Langer
adddbec896
refactor: Ellipse rasterizer according to the comment at ( #692 )
...
https://github.com/boostorg/gil/pull/585#issuecomment-1144412220
2022-06-26 13:33:53 +02:00
Marco Langer
bfed3de004
refactor: Deprecate apply_operation in favor of variant2::visit for any_image ( #656 )
...
build: Add /bigobj to MSVC flags
Avoid test\extension\dynamic_image\algorithm\copy_and_convert_pixels.cpp
compilation error:
fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj
Co-authored-by: Mateusz Łoskot <mateusz@loskot.net >
2022-06-26 13:21:18 +02:00
Mateusz Łoskot
526c898336
test: Add tiled TIFF test case to simple_all_formats
...
This is to hit more lines and make codecov happier,
than during recent build of PR #685
2022-06-25 22:02:21 +02:00
Mateusz Łoskot
0f435906ea
test: Add tests for RGB to HSL ( #691 )
...
Contributor of PR #505 posted GTest-based tests in.
This commit ports those tests to Boost.LightweightTest.
Closes #690
2022-06-25 18:51:01 +02:00
Mateusz Łoskot
57c616d273
refactor: Move RGB to HSL tests to color_convert_rgb.cpp
2022-06-25 15:23:25 +02:00
Mateusz Łoskot
d50d85613a
refactor: Make with_tolerance reusable across other tests
...
Refinement of PR #527
2022-06-25 13:52:54 +02:00
Olzhas Zhumabek
45da544873
Removed redundant lines
2022-05-31 02:39:13 +06:00
Olzhas Zhumabek
76dcca89f4
Add compile statements to Jamfile
2022-05-31 02:37:56 +06:00
Olzhas Zhumabek
b962a6a2db
Edit Jamfile to new layout
2022-05-31 02:37:56 +06:00
Olzhas Zhumabek
48d7ebffe0
Move diffusion and Hough transform
...
Move anisotropic diffusion and
Hough transform into extension.
Adjust tests and cmakelists
2022-05-31 02:37:56 +06:00
Olzhas Zhumabek
bab2a370ff
Fix Hough transform and move rasterization
...
Hough line transform had incorrect
rounding which lead to misleading message
2022-05-31 02:37:56 +06:00
Marco Langer
c063d1c185
feat: Added for_each_pixel overload for any_image ( #648 )
...
Take functor by value instead of reference.
Test cases to use the same fixture as the other any_image tests.
Fixes #579
2022-04-30 23:57:00 +02:00
Dirk Stolle
4f83beb735
style: Remove trailing space characters ( #651 )
2022-04-26 20:52:56 +02:00
Mateusz Łoskot
f4c70a8606
Add support for <filesystem> to IO ( #636 )
...
If neither <filesystem> nor <experimental/filesystem> is detected,
then require <boost/filesystem.hpp>.
If user defines BOOST_GIL_IO_USE_BOOST_FILESYSTEM macro,
then <boost/filesystem.hpp> is pre-selected and required,
and search for any of the C++ standard implementation is skipped.
Remove end-user macro BOOST_GIL_IO_ADD_FS_PATH_SUPPORT
Require tests to always build with support of either
detected C++ filesystem or pre-selected Boost.Filesystem.
Closes ##222
2022-02-22 19:18:55 +01:00
Pranam Lashkari
9bd8642f69
numeric extension move into core part 5
...
moved numeric/kernel.hpp into core
2022-02-18 14:25:59 +05:30
Pranam Lashkari
87a3157c4b
numeric extension move into core part 4
...
moved numeric/pixel_numeric_operations.hpp into core
2022-02-18 14:25:59 +05:30
Pranam Lashkari
483915cb20
numeric extension move into core part 3
...
moved numeric/convolve.hpp into core
2022-02-18 14:25:59 +05:30
Pranam Lashkari
baf246a726
numeric extension move into core part 2
...
moved numeric/channel_numeric_operations.hpp into core
2022-02-18 14:25:59 +05:30
Pranam Lashkari
2562e11241
numeric extension move into core 1
...
moved numeric/algorithm.hpp into core
2022-02-18 14:25:59 +05:30
Harshit Pant
c7aba23c74
Fix convolve_2d for images with float32_t channel model ( #577 )
...
Fixes #575
2022-02-09 14:43:48 +01:00
Mateusz Łoskot
4738a38295
test: Catch up IO with switch to variant2 migration ( #607 )
...
See discussion at
https://github.com/boostorg/gil/issues/453#issuecomment-833898207
Closes #606
2021-05-11 06:54:39 +02:00
Samuel Debionne
b8564e256c
Fix any_image_view::const_t ( #526 )
...
Use inherited constructors in any_image as well
2021-03-18 10:53:53 +01:00
Gaurav kumar
392ac4996d
Rotation of image by any arbitrary angle from its center ( #565 )
...
* basic rotation function for theta between +/- 180 deg
* added scaling matrix for same dimensions and added bound checks for theta
2021-03-09 10:26:21 +05:30
Debabrata Mandal
3e729e5dae
Add histogram class and related functionality ( #499 )
...
A new histogram class proposed with close suport for gil
image constructs.
Shift the stl support implmentation to extension to
serve as example for overloading fill_histogram.
Add cumulative histogram and histogram normalization.
Co-authored-by: debabrata1 <debabrata@goodhealthapp.com >
2021-01-24 00:02:51 +01:00
Giovanni Mascellani
853bc1266b
Fix typo in copyright headers ( #524 )
2021-01-20 23:11:26 +01:00
Samuel Debionne
68cdbdd2ec
Add inverse function for matrix3x2 ( #527 )
2021-01-20 23:09:58 +01:00
Samuel Debionne
43594d2ddd
Fix dynamic_image extension header dependencies ( #508 )
2020-07-26 21:05:59 +02:00
Pranam Lashkari
6bf8bc4d65
Implemented mechanism to reverse kernel_2d ( #489 )
2020-04-27 18:14:44 +05:30
Samuel Debionne
cee21c261c
Add initializing image constructor ( #486 )
...
* Add minimal test case for move constructor of any_image
* Copyright update
2020-04-24 12:24:58 +02:00
Samuel Debionne
601790f241
Replace Boost.Variant with Boost.Variant2 ( #474 )
...
* Update documentation
* Update example
* Update io and extensions
2020-04-17 19:25:19 +02:00
Mateusz Łoskot
b9011e10da
Replace uses of abs with fabs where applicable
2020-04-06 23:32:38 +02:00
Mateusz Łoskot
9f94af76e7
Silence -Wmissing-braces
2020-04-06 23:32:06 +02:00
Mateusz Łoskot
f641190948
Replace BOOST_TEST with BOOST_TEST_EQ for streamable operands ( #472 )
...
Improve utilities sending channels, pixels and other GIL objects to
output stream for logging of test errors.
Fix missing namespace qualification in IO tests.
Comment TARGA test case with FIXME that was accidentally
uncommented in cc64bdd1a4
2020-04-01 01:54:12 +02:00
Mateusz Łoskot
cc64bdd1a4
Always build test/extension/io/targa tests for images hosted in source tree
...
Remove use of compile-time configuration macros
- BOOST_GIL_IO_TEST_ALLOW_READING_IMAGES
- BOOST_GIL_IO_TEST_ALLOW_WRITING_IMAGES
Remove BOOST_GIL_IO_USE_TARGA_FILEFORMAT_TEST_SUITE_IMAGES as not used anymore.
2020-03-30 00:42:10 +02:00
Mateusz Łoskot
7f4f5f1b61
Simplify test/extension/io/CMakeLists.txt
...
Remove uses of deprecated configuration defines
- BOOST_GIL_IO_TEST_ALLOW_READING_IMAGES
- BOOST_GIL_IO_TEST_ALLOW_WRITING_IMAGES
2020-03-29 00:59:18 +01:00
Mateusz Łoskot
f85eaada0f
Catch and report exceptions thrown from test/extension//simple test
...
Prevent ungraceful test program termination, with core dump.
2020-03-26 00:19:25 +01:00
Mateusz Łoskot
fbc462b29b
Remove compile-time configuration macros from Jamfile
2020-03-26 00:07:43 +01:00
Mateusz Łoskot
8bd0959d3f
Catch and report exceptions thrown from test/extension/io/bmp tests
...
Prevent ungraceful test program termination, with core dump.
Rename make.cpp to bmp_make.cpp.
2020-03-26 00:05:13 +01:00
Mateusz Łoskot
f098f9b2bc
Always build test/extension/io/bmp//make for images hosted in source tree
...
Remove use of compile-time configuration macros
- BOOST_GIL_IO_TEST_ALLOW_READING_IMAGES
- BOOST_GIL_IO_TEST_ALLOW_WRITING_IMAGES
Updates dbbdfd611e
2020-03-25 23:13:16 +01:00
Mateusz Łoskot
dbbdfd611e
Always build test/extension/io/bmp tests for images hosted in source tree
...
Remove use of compile-time configuration macros
- BOOST_GIL_IO_TEST_ALLOW_READING_IMAGES
- BOOST_GIL_IO_TEST_ALLOW_WRITING_IMAGES
Narrow use of BOOST_GIL_IO_USE_BMP_TEST_SUITE_IMAGES macro.
2020-03-25 23:07:32 +01:00