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