CImg is an open source C++ toolkit for image processing. CImg provides simple classes and functions to load, save, process and display images in your own C++ code.
CImg consists only of a single header file, CImg.h, that must be included in your C++ program source.
CImg contains useful image processing algorithms for image loading/saving, displaying, resizing/rotating, filtering, object drawing (text, lines, faces, curves, ellipses, 3D objects) etc.
The main image class can represent images up to 4-dimension wide (x,y,z,v) (from 1-D scalar signals to 3-D multi-channel volumes), with template pixel types.
CImg depends on a minimal number of libraries - you can only compile it with standard C++ libraries.
Additional features become available with the use of ImageMagick, libpng, libjpeg or XMedCon. Install the XMedCon package to be able to read DICOM medical image files.
CImg stands for "Cool Image" and is designed to be easy-to-use and efficient.