The Generic Image Library (GIL) is a C++14 header-only library that abstracts imagerepresentations from algorithms and allows writing code that can work ona variety of images with performance similar to hand-writing for a specificimage type.
x_gradient.cpp:Writing an algorithm that operates on generic images
dynamic_image.cpp:Using images whose properties (color space, channel type) are specifiedat run time
histogram.cpp: Creating a histogram
interleaved_ptr.cpp,interleaved_ptr.hpp,interleaved_ref.hpp:Creating your own pixel reference and pixel iterator
mandelbrot.cpp:Creating a synthetic image defined by a function
packed_pixel.cpp:Defining bitmasks and images whose channels or pixels are not byte-aligned
resize.cpp:Rescaling an image using bilinear sampling (requires the optionalNumeric extension)
affine.cpp:Applying an affine transformation to an image (requires the optionalNumeric extension)
convolution.cpp:Blurring images (requires the optional Numeric extension)