2.Getting Started with the CImg Library

As mentioned in Chapter 1, CImg is structured with a minimum of classes to represent the relevant and manipulable objects of the library. In practice, the possibilities offered by the library are expressed by the great diversity of methods available in its classes (in particular those of the principal class CImg < T >, representing the main “image” object). This chapter illustrates the actual use of CImg, by detailing the development of a simple C++ source code example (about 100 lines), to implement a basic image processing application. This example has been chosen to maximize the use of the different classes and concepts of the library, without actually requiring advanced knowledge in image processing. ...

Get Digital Image Processing with C++ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.