Thursday, July 27, 2006

C++ Template Image Processing Library

Recently, I look forwards to some image libraries to suit my programme development. The Cimg is one of image libraries that supports borland C complier fully. So I have no need to use the slow one - MinGW. ^_^






The CImg Library is an open source C++ toolkit for image processing : It provides simple classes and functions to load, save, process and display images in your own C++ code.
It is intended to be highly portable and fully works on different operating systems (Unix/X11, Windows, MacOS X, FreeBSD) with different C++ compilers. It should compile on other systems as well (eventually without display capabilities).
It consists only of a single header file CImg.h that must be included in your C++ program source.
It 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 volumes of vector-valued pixels), with template pixel types.
It depends on a minimal number of libraries : you can compile it only with standard C++ libraries. No need for exotic libraries and complex dependencies.
Additional features appear with the use of ImageMagick, libpng, libjpeg or XMedCon. Install the ImageMagick package or link your code with libpng and libjpeg to be able to load and save standard compressed image formats (GIF,BMP,TIF,JPG,PNG,...). Install the XMedCon package to be able to read DICOM medical image files. All these extra-tools are available for any platforms.

3 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete