Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
b2/ | 12-May-2024 | - | 95 | 73 | ||
clang-format/ | 12-May-2024 | - | 19 | 13 | ||
cmake/ | 12-May-2024 | - | 542 | 523 | ||
CMakeLists.txt | D | 12-May-2024 | 1.3 KiB | 46 | 41 | |
Jamfile | D | 12-May-2024 | 1,004 | 51 | 42 | |
README.md | D | 12-May-2024 | 1.4 KiB | 46 | 31 | |
adaptive_threshold.cpp | D | 12-May-2024 | 1.4 KiB | 34 | 19 | |
affine.cpp | D | 12-May-2024 | 1.2 KiB | 35 | 18 | |
convolution.cpp | D | 12-May-2024 | 2.7 KiB | 70 | 21 | |
convolve2d.cpp | D | 12-May-2024 | 1.3 KiB | 42 | 26 | |
dynamic_image.cpp | D | 12-May-2024 | 824 | 23 | 12 | |
harris.cpp | D | 12-May-2024 | 7.5 KiB | 208 | 171 | |
hessian.cpp | D | 12-May-2024 | 7.4 KiB | 209 | 176 | |
histogram.cpp | D | 12-May-2024 | 1.3 KiB | 50 | 27 | |
interleaved_ptr.cpp | D | 12-May-2024 | 2.6 KiB | 70 | 38 | |
interleaved_ptr.hpp | D | 12-May-2024 | 7.9 KiB | 202 | 118 | |
interleaved_ref.hpp | D | 12-May-2024 | 6.2 KiB | 159 | 87 | |
mandelbrot.cpp | D | 12-May-2024 | 2.6 KiB | 76 | 52 | |
packed_pixel.cpp | D | 12-May-2024 | 2.8 KiB | 60 | 17 | |
resize.cpp | D | 12-May-2024 | 894 | 30 | 14 | |
sobel_scharr.cpp | D | 12-May-2024 | 1.4 KiB | 46 | 40 | |
test.jpg | D | 12-May-2024 | 2 KiB | |||
test_adaptive.png | D | 12-May-2024 | 147.4 KiB | |||
threshold.cpp | D | 12-May-2024 | 1.1 KiB | 30 | 14 | |
x_gradient.cpp | D | 12-May-2024 | 1.7 KiB | 60 | 39 |
README.md
1# Boost.GIL Examples 2 3This directory contains 4 5- examples of C++ programs using GIL 6- configuration files for Boost.Build command line and CMake integration for popular IDEs. 7 8We provide Boost.Build (`Jamfile`) and CMake (`CMakeLists.txt`) 9configurations to build the examples. 10See the [CONTRIBUTING.md](../CONTRIBUTING.md) 11for details on how to run `b2` and `cmake` for Boost.GIL. 12 13Each example is build as a separate executable. 14Each executable generates its output as `out-<example_name>.jpg`. 15For example, the `resize.cpp` example generates the image `out-resize.jpg`. 16 17The following C++ examples are included: 18 191. `resize.cpp` 20 Scales an image using bilinear or nearest-neighbour resampling. 21 222. `affine.cpp` 23 Performs an arbitrary affine transformation on the image. 24 253. `convolution.cpp` 26 Convolves the image with a Gaussian kernel. 27 284. `mandelbrot.cpp` 29 Creates a synthetic image defining the Mandelbrot set. 30 315. `interleaved_ptr.cpp` 32 Illustrates how to create a custom pixel reference and iterator. 33 Creates a GIL image view over user-supplied data without the need to cast to GIL pixel type. 34 356. `x_gradient.cpp` 36 Horizontal gradient, from the tutorial 37 387. `histogram.cpp` 39 Algorithm to compute the histogram of an image 40 418. `packed_pixel.cpp` 42 Illustrates how to create a custom pixel model - a pixel whose channel size is not divisible by bytes. 43 449. `dynamic_image.cpp` 45 Example of using images whose type is instantiated at run time. 46