Image 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing | vor 4 Jahren | |
---|---|---|
.. | ||
cmake | vor 4 Jahren | |
CMakeLists.txt | vor 4 Jahren | |
Jamfile | vor 4 Jahren | |
README.md | vor 4 Jahren | |
adaptive_threshold.cpp | vor 4 Jahren | |
affine.cpp | vor 4 Jahren | |
convolution.cpp | vor 4 Jahren | |
convolve2d.cpp | vor 4 Jahren | |
dynamic_image.cpp | vor 4 Jahren | |
harris.cpp | vor 4 Jahren | |
hessian.cpp | vor 4 Jahren | |
histogram.cpp | vor 4 Jahren | |
interleaved_ptr.cpp | vor 4 Jahren | |
interleaved_ptr.hpp | vor 4 Jahren | |
interleaved_ref.hpp | vor 4 Jahren | |
mandelbrot.cpp | vor 4 Jahren | |
packed_pixel.cpp | vor 4 Jahren | |
resize.cpp | vor 4 Jahren | |
sobel_scharr.cpp | vor 4 Jahren | |
test.jpg | vor 4 Jahren | |
test_adaptive.png | vor 4 Jahren | |
threshold.cpp | vor 4 Jahren | |
x_gradient.cpp | vor 4 Jahren |
This directory contains
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:
resize.cpp
Scales an image using bilinear or nearest-neighbour resampling.
affine.cpp
Performs an arbitrary affine transformation on the image.
convolution.cpp
Convolves the image with a Gaussian kernel.
mandelbrot.cpp
Creates a synthetic image defining the Mandelbrot set.
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.
x_gradient.cpp
Horizontal gradient, from the tutorial
histogram.cpp
Algorithm to compute the histogram of an image
packed_pixel.cpp
Illustrates how to create a custom pixel model - a pixel whose channel size is not divisible by bytes.
dynamic_image.cpp
Example of using images whose type is instantiated at run time.