]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/gil/RELEASES.md
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / gil / RELEASES.md
CommitLineData
92f5a8d4
TL
1# Release Notes
2
3All notable changes to [Boost.GIL](https://github.com/boostorg/gil/) project will be documented in this file.
4The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
5
f67539c2
TL
6## [1.73.0] - 2020-04-22 (beta)
7
8### Added
9- Added move constructor and move assignment operator to `image` class ([PR #457](https://github.com/boostorg/gil/pull/457)).
10- New member function `size()` in `any_image_view` class ([PR #456](https://github.com/boostorg/gil/pull/456)).
11- Numerous new test cases for existing features.
12
13### Changed
14- Replace Boost.Test with Boost.LightweightTest as the only test framework used in GIL ([PR #459](https://github.com/boostorg/gil/pull/459) and [PR #464](https://github.com/boostorg/gil/pull/464)). This also restructured the `test/extension/io/` sub-tree and targets in related `Jamfile`-s.
15- Removed remaining uses of Boost.MPL ([PR #441](https://github.com/boostorg/gil/pull/441).
16- Renamed all macros using `BOOST_GIL_` prefix ([PR #411](https://github.com/boostorg/gil/pull/411)).
17- Renamed all CMake configuration options using `BOOST_GIL_` prefix ([PR #419](https://github.com/boostorg/gil/pull/419)).
18
19### Removed
20- Removed `extension/dynamic_image/reduce.hpp` as unused and possibly unfinished ([PR #466](https://github.com/boostorg/gil/pull/466)). An implementation attempt of techniques described in the paper [Efficient Run-Time Dispatching in Generic Programming with Minimal Code Bloat](http://lubomir.org/academic/MinimizingCodeBloat.pdf) by Lubomir Bourdev, Jaakko Jarvi.
21- Removed direct dependency on Boost.MPL, Boost.System and Boost.Test.
22- Started removing public macros for compile-time configuration of I/O extension tests, i.e. `BOOST_GIL_IO_TEST_ALLOW_READING_IMAGES` and `BOOST_GIL_IO_TEST_ALLOW_WRITING_IMAGES`. Instead, if a test target is built, it builds all its test cases unconditionally.
23
24### Fixed
25- Avoid `longjmp` interaction during destruction of I/O extension objects ([PR #433](https://github.com/boostorg/gil/pull/433)).
26- Fixed missing alignment default value in constructor of `image` class ([PR #429](https://github.com/boostorg/gil/pull/429)).
27- Fixed segmentation fault when reading corrupted PNG file ([PR #414](https://github.com/boostorg/gil/pull/414)).
28- Fixed illegal initialization of return values in the old IOv1 interface of I/O extension ([PR #409](https://github.com/boostorg/gil/pull/409)).
29
30### Acknowledgements
31
32Samuel Debionne, Thiago Henrique Hüpner, Pranam Lashkari, Mateusz Loskot, Debabrata Mandal, Olzhas Zhumabek
92f5a8d4
TL
33
34## [1.72.0] - 2019-12-11
35
36### Added
37- GSoC 2019: Lanczos resampling for image down scaling ([PR #309](https://github.com/boostorg/gil/pull/309)).
38- GSoC 2019: Methods for binary thresholding, inverted binary thresholding and truncation thresholding ([PR #313](https://github.com/boostorg/gil/pull/313)).
39- GSoC 2019: Otsu thresholding method ([PR #314](https://github.com/boostorg/gil/pull/314)).
f67539c2
TL
40- GSoC 2019: Adaptive thresholding using mean of the neighbourhood area ([PR #341](https://github.com/boostorg/gil/pull/341)).
41- GSoC 2019: Adaptive thresholding using gaussian-weighted sum of the neighbourhood area ([PR #379](https://github.com/boostorg/gil/pull/379)).
92f5a8d4
TL
42- GSoC 2019: Harris response calculation (corner detector without non-maximum filtering) ([PR #350](https://github.com/boostorg/gil/pull/350)).
43- GSoC 2019: Hessian corner detector ([PR #364](https://github.com/boostorg/gil/pull/364)).
44- GSoC 2019: Types for defining 2D kernel, `kernel_2d` and `kernel_2d_fixed`, in Numeric extension ([PR #361](https://github.com/boostorg/gil/pull/361)).
45- GSoC 2019: Implementation of 2D convolution as new function `convolve_2d` ([PR #367](https://github.com/boostorg/gil/pull/367)).
46- GSoC 2019: Box filtering using the average filter ([PR #383](https://github.com/boostorg/gil/pull/383)).
47- GSoC 2019: Blur function based on normalized mean filter ([PR #383](https://github.com/boostorg/gil/pull/383)).
48- GSoC 2019: Sobel and Scharr operators ([PR #392](https://github.com/boostorg/gil/pull/392)).
49- GSoC 2019: Median filter to remove noise from image ([PR #393](https://github.com/boostorg/gil/pull/393)).
50- Continued adding new test cases and significantly improved overall test coverage.
51- Documented purpose of `cached_location_t` ([PR #287](https://github.com/boostorg/gil/pull/287)).
52- Function `convolve_1d` in Numeric extension for convenient use of `convolve_rows` and `convolve_cols` ([PR #347](https://github.com/boostorg/gil/pull/347) and [PR #367](https://github.com/boostorg/gil/pull/367)).
53- Function `extend_boundary` in Numeric extension to perform image boundary extension ([PR #386](https://github.com/boostorg/gil/pull/386)).
54- Project release notes maintained in Markdown file `RELEASES.md` ([PR #404](https://github.com/boostorg/gil/pull/404)).
55
56### Changed
57- Move all tests, core features and extensions, inside `test/` directory ([PR #302](https://github.com/boostorg/gil/pull/302)).
58
59### Removed
60- Replace Boost.MPL with Boost.MP11 ([PR #274](https://github.com/boostorg/gil/pull/274)).
61- Removed use of Boost.TypeTraits ([PR #274](https://github.com/boostorg/gil/pull/274)).
62- Dropped support for GCC <= 4.8 ([PR #296](https://github.com/boostorg/gil/pull/296)).
63- Remove `include/boost/gil/version.hpp` file as unused ([PR #403](https://github.com/boostorg/gil/pull/403)).
64
65### Fixed
66- Undetermined value of default-initialized channel and pixel objects ([PR #273](https://github.com/boostorg/gil/pull/273)).
67- Undefined behaviour due to `std::is_trivially_default_constructible` specializations ([PR #284](https://github.com/boostorg/gil/pull/284)).
68- Crash when reading PNG files with an invalid header ([PR #385](https://github.com/boostorg/gil/pull/385)).
69- Applied the [Rule of Three](https://en.wikipedia.org/wiki/Rule_of_three_(C%2B%2B_programming)) for numerous types.
70- Removed uses of deprecated implicit definition of defaulted copy assignment operator or copy constructor.
71
f67539c2
TL
72### Acknowledgements
73
74Samuel Debionne, Tyler Deuty, Jean-David Gadina, Jan Houska, Pranam Lashkari, Mateusz Loskot, Stefan Seefeld, Miral Shah, Olzhas Zhumabek
75
76## [1.70.0] - 2019-04-12
77
78### Added
79- Numerous new test cases for existing features.
80- C++11 requirements checks to Boost.Build Jamfiles ([PR #260](https://github.com/boostorg/gil/pull/260)).
81
82### Changed
83- Split single `boost/gil/concepts.hpp` into multiple `boost/gil/concepts/*.hpp` headers ([PR #169](https://github.com/boostorg/gil/pull/169)).
84- Removed uses of `boost::enable_if` with `std::enable_if` ([PR #215](https://github.com/boostorg/gil/pull/215)).
85- Replaced own implementation of variant type used for `any_image` with Boost.Variant ([PR #231](https://github.com/boostorg/gil/pull/231)).
86- Moved original all-in-one test suite to `test/legacy/` ([PR #239](https://github.com/boostorg/gil/pull/239)).
87- Continued C++ modernization of the library source code.
88
89### Removed
90- Remove uses of deprecated `std::unary_function` and `std::binary_function` ([PR #191](https://github.com/boostorg/gil/pull/191)).
91- Removed uses of Boost.StaticAssert ([PR #207](https://github.com/boostorg/gil/pull/207)).
92- Removed uses of `BOOST_STATIC_CONSTANT` ([PR #211](https://github.com/boostorg/gil/pull/211)).
93- Removed uses of Boost.Function ([PR #213](https://github.com/boostorg/gil/pull/213)), Boost.Bind and Boost.Lambda ([PR #212](https://github.com/boostorg/gil/pull/212)).
94
95### Fixed
96- Fixed access to non-type results of metafunctions calls using `::value` convention ([PR #262](https://github.com/boostorg/gil/pull/262)).
97
98### Acknowledgements
99
100Samuel Debionne, Mateusz Loskot, Nikita Kniazev, Stefan Seefeld
101
102## [1.69.0] - 2018-12-12
103
104### Changed
105- Refactored library includes to `#include <boost/gil/...>` structure ([PR #145](https://github.com/boostorg/gil/pull/145)).
106
107### Removed
108- Header `include/boost/gil_all.hpp` file as deprecated ([PR #145](https://github.com/boostorg/gil/pull/145)).
109- Header `include/boost/gil_concepts.hpp` file as deprecated ([PR #145](https://github.com/boostorg/gil/pull/145)).
110- Header `include/boost/gil_config.hpp` file as unnecessary ([PR #144](https://github.com/boostorg/gil/pull/144)).
111
112### Fixed
113- Fixed `point<T>` divide and multiply to not to hardcode result as `point<double>` ([PR #157](https://github.com/boostorg/gil/pull/157)).
114- Fixed conflict between `std::fill_n` and `boost::range::fill_n` ([PR #152](https://github.com/boostorg/gil/pull/152)).
115- Fixed issue with re-assignment of functor from `for_each_pixel` ([PR #139](https://github.com/boostorg/gil/pull/139)).
116- Fixed missing template keyword prior to dependent name `axis_iterator` ([PR #129](https://github.com/boostorg/gil/pull/129)).
117- Fixed loading of grayscale PNG with alpha channel (tRNS chunks) ([PR #118](https://github.com/boostorg/gil/pull/118)).
118
119### Acknowledgements
120
121Mateusz Loskot, Marcel Metz, Stefan Seefeld
122
92f5a8d4
TL
123## [1.68.0] - 2018-08-09
124
125### Added
126- The library now requires a C++11-compliant compiler.
f67539c2 127- New top-level all-in-one `include/boost/gil.hpp` header.
92f5a8d4
TL
128- Added Toolbox extension following the [review and acceptance into Boost](https://lists.boost.org/boost-announce/2011/01/0281.php).
129
130### Changed
131- The I/O extensions have been entirely rewritten as I/O v2, [reviewed and accepted into Boost](https://lists.boost.org/boost-announce/2011/01/0281.php).
132- Documentation has been reformatted and updated.
133
134### Removed
135- The existing I/O v1 extension has been replaced with I/O v2.
136
f67539c2
TL
137### Acknowledgements
138
139Niklas Angare, Jan Beich, Edward Diener, Peter Dimov, Daniela Engert, Bill Gallafent, Christian Henning, Daniel James, Nikita Kniazev, Mateusz Loskot, Marcel Metz, Martin Osborne, Antony Polukhin, Stefan Seefeld
140
92f5a8d4
TL
141## [1.53.0] - 2013-02-04
142
143### Fixed
144- Fixed self-assignment warnings (Trac [#4919](https://svn.boost.org/trac10/ticket/4919)).
145
f67539c2
TL
146### Acknowledgements
147
148Lubomir Bourdev, Marshall Clow, Beman Dawes, Daniela Engert, Bill Gallafent, Doug Gregor, Boris Gubenko, Christian Henning, Michael Jackson, Daniel James, Hailin Jin, Nikita Kniazev, Mateusz Loskot, John Maddock, Marcel Metz, Antony Polukhin, Stefan Seefeld
149
92f5a8d4
TL
150## [1.35.0] - 2008-03-29
151
152### Added
153- First Boost release of Generic Image Library developed by Lubomir Bourdev and Hailin Jin following the [review and acceptance into Boost](https://lists.boost.org/Archives/boost/2006/11/112896.php).
154
f67539c2
TL
155### Acknowledgements
156
157Lubomir Bourdev, Beman Dawes, Hailin Jin, John Maddock and all the reviewers of the library.
158
92f5a8d4
TL
159---------------------------------------------------------------------
160
161## Pre-Boost History of the Generic Image Library (GIL) by Adobe
162
163The log of changes prior the first release of GIL as part of Boost
164was collected from https://stlab.adobe.com/gil/news.html site and
165linked PDF documents with detailed changes.
166
167---------------------------------------------------------------------
168
169## [2.1.1] - 2007-09-15
170
171### Changed
172- Swapped template arguments for `color_element_type`, `color_element_reference_type` and `color_element_const_reference_type` to take `ColorBase` first for consistency with the other similar metafunctions.
173
174### Fixed
175- Minor bugs fixed.
176
177## [2.1.0] - 2007-06-17
178
179### Added
180- Added support for accessing raw memory from image views by getting raw pointer to the beginning of the memory
181 associated with a homogeneous image view using new functions `interleaved_view_get_raw_data` or `planar_view_get_raw_data`.
182- Support for non-byte-aligned images (e.g. 6-bit RGB222, or 1-bit grayscale).
183 To support bit distance, we are using the same classes that were providing byte distance (`byte_addressible_step_iterator`, `byte_addressible_2d_locator`, etc.)
184 except that now they operate on memory units instead of bytes.
185 A memory unit can currently be either a byte or a bit.
186- New `byte_to_memunit` function required by the `MemoryBasedIteratorConcept`, which specifies the number of bits per memory unit (either 1 or 8).
187- New classes for references and iterators over bit-aligned pixels: `bit_aligned_pixel_reference`, `bit_aligned_pixel_iterator`.
188 The memory unit of bit aligned pixel iterators is a bit, i.e. `byte_to_unit<bit_aligned_pixel_iterator<T> >::value == 8`.
189- The `value_type` of a bit-aligned image is a `packed_pixel` (new name, see below).
190 A packed pixel is a pixel that is byte-aligned but whose channels may not be byte aligned.
191 There is a strong analogy with the way interleaved and planar images are implemented, with `packed_pixel` corresponding
192 to `pixel`, `bit_aligned_pixel_reference` corresponding to `planar_pixel_reference`
193 and `bit_aligned_pixel_iterator` corresponding to `planar_pixel_iterator`.
194- New metafunction `bit_aligned_image_type` for constructing bit-aligned images.
195 A bit-aligned image is an image whose pixels may not be byte-aligned (such as an RGB222 image).
196- New metafunction `pixel_value_type` for constructing homogenous pixel value from elements.
197- New metafunction `packed_pixel_type` for constructing homogenous packed pixel from elements.
198- New metafunction `packed_image_type` for constructing packed images with packed pixel as its `value_type`.
199
200### Changed
201- Renamed `heterogeneous_packed_pixel` to `packed_pixel`.
202- Renamed `ByteAdvancableIteratorConcept` to `MemoryBasedIteratorConcept`.
203- Renamed `byte_addressable_{step_iterator,2d_locator}` to `memory_based_{step_iterator,2d_locator}`.
204- Renamed `byte_{advance,advanced,distance,step}` to `memunit_{advance,advanced,distance,step}`,
205- Renamed `locator::row_bytes()` to `locator::row_size()` and `locator::pix_bytestep()` to `locator::pixel_size()`.
206- Simplified `packed_channel_reference` and `packed_dynamic_channel_reference` by removing the `BitField` parameter (it is now computed automatically).
207- Improved `channel_convert` - it is faster by switching to floating-point math only if necessary.
208
209### Fixed
210- Fixed a roundoff bug in the conversion (related to floating-point math switching).
211- Fixed histogram regression tests.
212
213## [2.0.x] - 2007-03-27
214
215### Changed
216- Minor bug fixes.
217- Regression test improvements.
218
219### Removed
220- Removed any external dependencies from the regression tests.
221
222## [2.0.0] - 2007-03-08
223
224### Added
225- Further Boost integration:
226 - Directories follow the Boost convention.
227 - Different models are usually now split in separate files.
228 - Renamed some files for better consistency.
229 - Renamed classes, functions and template arguments with longer but clearer and more consistent names.
230- New `deprecated.hpp` - a file that maps many of the deprecated names to current ones.
231 Including it will help porting your code to GIL 2.0. After porting to GIL 2.0, however,
232 make sure that your code works when this file is not included.
233- New `swap` function required for reference proxies, since the `std::swap` default does not do the right thing.
234- Metafunctions `iterator_type_from_pixel` and `view_type_from_pixel` to allow creating standard iterators and views associated with a pixel type.
235- New `scoped_channel_value`, a channel adaptor that changes the operational range of a channel. `bits32f` is defined as a `float` with range `0.0` to `1.0`.
236- New `packed_channel_value`, `packed_channel_reference` and `packed_dynamic_channel_reference` which model channels operating on bit ranges.
237- New `heterogeneous_packed_pixel`, a model of a pixel whose channels are bit ranges (e.g. 16-bit RGB pixel in the 565 format).
238- Metafunctions to get the k-th element of a color base (or its reference): `kth_semantic_element_type`, `kth_semantic_element_reference_type`, `kth_semantic_element_const_reference_type`.
239- Metafunctions to operate on pixel iterator: `const_iterator_type`, `iterator_is_mutable`, `is_iterator_adaptor`.
240- New image view algorithms `uninitialized_fill_pixels`, `uninitialized_copy_pixels` and method `is_1d_traversable`.
241- Added support for creating images with a new value to fill.
242
243### Changed
244- Updated the design guide and tutorial, updated syntax of concepts to the latest concepts proposal.
245- In `image`, `image_view`, `any_image`, `any_image_view`:
246 There are no longer global functions `get_width()`, `get_height()`, `get_dimensions()`, `num_channels()`.
247 Use methods `width()`, `height()`, `dimensions()` instead.
248- In models of pixel, pixel iterator, pixel locator, image view and image:
249 There used to be different ways of getting to a pixel, channel, color space, etc. of an image view,
250 pixel, locator, iterator and image (e.g. traits, member typedefs).
251 Now all pixel-based GIL constructs (pixels, pixel iterators, locators, image views and images) model
252 `PixelBasedConcept`, which means they provide the following metafunctions: `color_space_type`, `channel_mapping_type`, `is_planar`, `num_channels`
253 and for homogeneous constructs we also have: `channel_type`.
254 To get the pixel type or pixel reference/const reference type of an image, image view, locator
255 and pixel, use member typedefs `value_type`, `reference` and `const_reference`.
256- In `locator`, `image`, `image_view`, `any_image` and `any_image_view`:
257 Removed `dynamic_x_step_t`, `dynamic_y_step_t`, `dynamic_xy_step_t` and `dynamic_xy_step_transposed_t`
258 as member typedefs of locators and image views.
259 Instead, there are separate concepts `HasDynamicXStepTypeConcept`, `HasDynamicYStepTypeConcept`,
260 `HasTransposedTypeConcept` which all GIL-provided locators, views and images model.
261 Those concepts require a metafunction to get the corresponding type.
262 Analogously, all GIL pixel iterators model `HasDynamicXStepTypeConcept`.
263- In channel, the min and max value is now part of the channel traits.
264 For all built-in types the channel range equals the physical range (as determined by `std::numeric_traits<T>::max()`).
265- Provide `channel_convert` support to convert between any of the GIL-provided channel types.
266 The operation is also consistent - conversion is done as a linear mapping that maps the min/max to the min/max.
267- In pixel, major redesign of pixel-level constructs.
268 Renamed `color_base` to `homogeneous_color_base` and defined it once, not for each color space.
269 The color base is a first-class concept and allows to model any bundle of color elements.
270 Work needed to define a new color space has been simplified a lot.
271 All former pixel-level algorithms and accessors now operate on color bases.
272 The elements of a color base can be accessed by physical or semantic index or by name (channel names
273 can no longer be accessed as members of the pixel e.g. `my_pixel.gray = 0`), use `get_color` instead).
274- In color base, algorithms now can take heterogeneous pixels (i.e. pixels each channel of which may have a different type).
275 The `color_convert` can operate on heterogeneous pixels with the exception of to/from RGBA.
276- In image, the class `image` is no longer templated over the image view. It is now templated over pixel value.
277- In dynamic image, instead of removed `cross_vector_image_types` and `cross_vector_image_view_types`, create MPL vector to enumerate types.
278- Renamed algorithms `{copy,equal,fill,for_each,generate,max,min,transform}_channels` to `static_{copy,equal,fill,for_each,generate,max,min,transform}`.
279- Rename metafunctions `channel` to `at_c`, `semantic_channel` to `semantic_at_c`, `get_nth_channel` to `dynamic_at_c`.
280- Renamed `planar_{ptr,ref}` to `planar_pixel_{iterator,reference}`.
281- Renamed `PixelConcept` to `HomogeneousPixelConcept`.
282- Renamed `HeterogeneousPixelConcept` to `PixelConcept`.
283- Renamed `pixel_image_iterator` to `iterator_from_2d`.
284- Renamed `is_contiguous` to `is_1d_traversable`.
285- Renamed `membased_2d_locator` to `byte_addressable_2d_locator`.
286- Renamed `resize_clobber_image` to `image::recreate`.
287
288### Fixed
289- Now compiles with GCC 4.1.1.
290- Fixed some bugs in defining reference proxies.
291
292### Removed
293- Flattened the `core` directory as part of Boost integration.
294- Got rid of channel accessors from pixel types.
295- Got rid of `pixel_traits`. Use nested typedefs `value_type`, `reference` and `const_reference` or metafunctions implementing `PixelBasedConcept`.
296- Got rid of `pixel_iterator_traits`. Use `std::iterator_traits`, `PixelBasedConcept` metafunctions or the new metafunctions for pixel iterators.
297- Got rid of the ability to directly access pixels through image, only through views. The image no longer models STL's random access container concept.
298- No more LAB and HSB color space, because there is no color conversion support implemented for these. New color spaces can be added with just a few lines of code.
299
300## [1.x] - 2007-01-03
301
302### Added
303- Restored back the ability to assign a channel to a grayscale pixel.
304
305### Changed
306- Fixed some minor issues with color converted views of dynamic images.
307
308## [1.x] - 2006-11-07
309
310GIL accepted to Boost.
311
312GIL's Boost review was successful and GIL will be part of the Boost libraries.
313It will most likely first appear in the 1.35 version of Boost.
314In the future our web page will continue to provide you with the latest
315improvements to GIL, as we have the flexibility to release more frequently than Boost.
316
317## [1.x] - 2006-10-20
318
319### Added
320- New regression tests.
321- Source code of usage examples is available to download from the website.
322
323### Changed
324- Minor changes to GIL core.
325
326## [1.x] - 2006-10-02
327
328### Added
329- First version of the Numeric extension.
330 The extension provides some basic image processing algorithms, such as convolution and resampling.
331- Introduction of pixel traits.
332
333### Changed
334- Improved consistent use of MPL predicates and standardized template parameter names.
335
336## [1.x] - 2006-09-20
337
338### Added
339- GIL now allows users to overload the default color conversion with one of their own.
340- Section in the design guide describes how to overload default color conversion.
341
342### Changed
343- Color conversion improvements.
344
345## [1.0] - 2006-08-29
346
347### Added
348- Pixel dereference adaptors are introduced.
349- Locator concepts/models are made more generic.
350- Example of creating the Mandelbrot set is described in the tutorial.
351
352### Changed
353- It is now easier to construct virtual image views.
354
355## [] - 2006-06-27
356
357### Added
358- A GIL Flash presentation is posted (aka video lecture).
359
360## [] - 2006-06-14
361
362### Added
363- GIL homepage goes live