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