Image 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
..
cmake 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
CMakeLists.txt 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
Jamfile 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
README.md 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
adaptive_threshold.cpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
affine.cpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
convolution.cpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
convolve2d.cpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
dynamic_image.cpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
harris.cpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
hessian.cpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
histogram.cpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
interleaved_ptr.cpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
interleaved_ptr.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
interleaved_ref.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
mandelbrot.cpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
packed_pixel.cpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
resize.cpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
sobel_scharr.cpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
test.jpg 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
test_adaptive.png 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
threshold.cpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás
x_gradient.cpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing há 4 anos atrás

README.md

Boost.GIL Examples

This directory contains

  • examples of C++ programs using GIL
  • configuration files for CMake integrations in popular IDEs

We provide Boost.Build (Jamfile) and CMake (CMakeLists.txt) configurations to build the examples. See the CONTRIBUTING.md for details on how to run b2 and cmake for Boost.GIL.

Each example is build as a separate executable. Each executable generates its output as out-<example_name>.jpg. For example, the resize.cpp example generates the image out-resize.jpg.

The following examples are included:

  1. resize.cpp Scales an image using bilinear or nearest-neighbour resampling.

  2. affine.cpp Performs an arbitrary affine transformation on the image.

  3. convolution.cpp Convolves the image with a Gaussian kernel.

  4. mandelbrot.cpp Creates a synthetic image defining the Mandelbrot set.

  5. interleaved_ptr.cpp Illustrates how to create a custom pixel reference and iterator. Creates a GIL image view over user-supplied data without the need to cast to GIL pixel type.

  6. x_gradient.cpp Horizontal gradient, from the tutorial

  7. histogram.cpp Algorithm to compute the histogram of an image

  8. packed_pixel.cpp Illustrates how to create a custom pixel model - a pixel whose channel size is not divisible by bytes.

  9. dynamic_image.cpp Example of using images whose type is instantiated at run time.