Boost Generic Image Library
The Generic Image Library (GIL) is a C++11 library that abstracts image representations from algorithms and allows writing code that can work on a variety of images with performance similar to hand-writing for a specific image type.
Quickstart
Core Library Documentation
Extensions Documentation
Examples
x_gradient.cpp
: Writing an algorithm that operates on generic imagesdynamic_image.cpp
: Using images whose properties (color space, channel type) are specified at run timehistogram.cpp
: Creating a histograminterleaved_ptr.cpp
,interleaved_ptr.hpp
,interleaved_ref.hpp
: Creating your own pixel reference and pixel iteratormandelbrot.cpp
: Creating a synthetic image defined by a functionpacked_pixel.cpp
: Defining bitmasks and images whose channels or pixels are not byte-alignedresize.cpp
: Rescaling an image using bilinear sampling (requires the optional Numeric extension)affine.cpp
: Applying an affine transformation to an image (requires the optional Numeric extension)convolution.cpp
: Blurring images (requires the optional Numeric extension)