[ Main ] [ News] [ Download ] [ Screenshots ] [ FAQ ] [ Tutorial ] [ Documentation ] [ Forum ] [ Chat ] [ Links ]


Here are the latest news about the CImg project.

CImg 1.2.8 Released (2008/04/18, 13:00)
The CImg 1.2.8 package has been released. There are several changes and ameliorations.

*-----------------------------
*-----------------------------
* Changes from 1.2.7 to 1.2.8
*-----------------------------
*-----------------------------

* New features :
- Added native Carbon support in CImgDisplay. Allows to run CImg on MacOSX without installing X11. This is a beta support, so not activated by default. Define 'cimg_use_carbon' to enable it. Many Thanks to Adrien Reboisson, Romain Blei and Jean-Marie Favreau for this nice contribution. Any comments and contributions are welcome.
- Added variant of 'CImgList::remove()' that can remove several images from a CImgList list at the same time.
- Added new numbered macros 'cimg_plugin1...8', for easy inclusion of multiple CImg plug-ins.
- Added plugin 'plugins/distance_saito.h' that implements the Saito's distance transform.
- Added function 'CImg::blur_patch()' that performs a patch-based Tikhonov flow on the image. Allows to denoise and regularize image quite well (is time-consuming anyway).
- Functions 'CImg::load_tiff()', 'CImgList::load_tiff()', 'CImg::save_tiff()' and 'CImgList::save_tiff()' has been (re)-coded. It is now possible to read/save multi-pages tif image files worriless.
- Native support for 'icc' compiler (Intel C++ compiler) added in the Makefile. Just type 'make CC=icc olinux' to compile using icc (offers nice performances in code optimization).
- Started support of OpenMP directives, to allow parallelization of CImg functions in order to improve performances. Not few used, by this could change in the future.
- Added functions to load/save video sequences using the external tool FFMPEG (http://http://ffmpeg.mplayerhq.hu/). 'inrcast' is now able to read video sequences using FFMPEG.
- Added new color basis conversions : RGBtoHSI(), HSItoRGB(), HSLtoRGB() (Thanks to Cesar Martinez for his contribution).
- Added example file 'examples/radon_transform.cpp', provided by David G. Starkweather (Thanks guy!).

* Optimizations / Modifications :
- The main library file 'CImg.h' is now distributed under dual license CeCILL or CeCILL-C.
- Patched function 'CImg::load_tiff()' for a better support of float-valued tiff images.
- Renamed 'CImg::inverse()' as 'CImg::invert()' and 'CImg<>::pseudoinverse()' as 'CImg::pseudoinvert()'.
- Function 'CImg::displacement_field()' has been modified to consider a multi-valued geometry for motion detection (so color images are naturally taken into account now).
- Optimized functions 'CImg::dilate()' and 'CImg::erode()' - Slightly optimized pixel access and display rendering functions.
- Used native mutex mechanism of X11 instead of the pthread library.
- Removed deprecated example file 'examples/pslider.cpp'.
- Renamed 'cimg::PI' to 'cimg::valuePI' to avoid compilation problems with some C++ compilers that define the PI macro.
- Added specular type lightning in routines that draw 3D objects. Parameters 'specular_light' and 'specular_shine' replace the old 'ambient_light' parameter.

* Bug corrections :
- Bug corrected in 'CImg::draw_polygon()' : wrong scanlines were drawn with some complex polygons.
- Bug corrected in 'CImg::convolve()' and 'CImg::correlate()'. Happened when dealing with non square masks with even dimensions.
- Bug corrected in 'CImg::save_png()' and 'CImg::load_png()' when dealing with 16 bits images in little-endian proc.
- Bug corrected in 'CImg::get_coordinates()' when dealing with 2-channels images.
- Bug corrected, 2-channels images were not correctly displayed (blue channel was used instead of being 0).
- And a lot of other small bug corrections...

Contribution call : CImg survey (2008/01/04, 11:11)
I've added a CImg Library survey, in order to better know profiles of CImg users and visitors. If you have 20 seconds of free time, you are welcome to fill it in !

.

CImg 1.2.6 Released (2008/01/04, 11:11)
The CImg 1.2.6 package has been released. This is a small improvement but has nice small new things in it.

*-----------------------------
*-----------------------------
* Changes from 1.2.5 to 1.2.6
*-----------------------------
*-----------------------------

* New features :
- Added functions 'CImg::fillV(), CImg::fillZV() and CImg::fillYZV()' allowing to set image values at a specified pixel and along specified axes.
- Added variant of 'CImg::get_dijkstra()' allowing to use any function/class for definition of weights.
- Added new interpolation technique (moving average) in 'CImg::resize()' allows very precise image resizing (Thanks to François Lauze who provided me with some of its code).
- Added lot of new and useful neighborhood loop macros. A new executable 'examples/generate_loop_macros.cpp' allows to generate 2D loops for arbitrary neighborhood size. A new plugin 'plugins/loop_macros.h' has been created, containing all loops NxN (until N=32) and NxNxN (until N=8).
- Added separate component and YCbCr color base processing in options of 'examples/greycstoration.cpp'
- Added macros 'cimg_argument?()' allowing to retrieve command lines that are not options (not beginning with a '-').

* Optimizations / Modifications :
- Macros with neighborhood loops have been extended and simplified. Some of the previous ones have been deleted, others have appeared. Basically, no functionnalities have been removed.
- Macro 'cimg_version' is now 126 instead of 1.26, allowing easy comparison with integer values.
- Changed traits name in cimg:: for more coherence.

* Bug corrections :
- Corrected function 'CImg::cubic_pix[1,2]d()'.
- Corrected bug in 'CImg::blur_median()'.
- Corrected bug with temporary random filenames when using multi-threading.
- Corrected small bug in 'CImg::draw_point()'.
- Corrected name 'CImg::dijkstra()' instead of 'CImg::djikstra()'.
- Corrected compilation bug in some plug-ins.
- And other small bug corrections...

CImg 1.2.5 Released (2007/11/26, 15:08)
The CImg 1.2.5 package has been released.

*-----------------------------
*-----------------------------
* Changes from 1.2.4 to 1.2.5
*-----------------------------
*-----------------------------

* New features :
- Added function 'CImg::label_regions()' that can label deconnected regions.
- Added overload of function 'CImg::draw_point()' that is able to draw point clouds.
- Added function 'CImg::get_blur_bilateral()' that implements bilateral filtering.
- Added functions 'CImg::get_RGBtoBayer()' and 'CImg::get_BayertoRGB()' that converts between RGB and Bayer-coded representation of an image.
- Added functions CImg[List]::min(), max(), mean(), variance(), get_stats(), and contains() to deal easily with image statistics (class CImgStats is now obsolete and has been moved to plugin 'plugins/deprecated.h').
- Added versions of 'CImg[List]::get_*()' as external functions, so writting 'res=cos(img)*5;' is valid.
- Added postfix versions 'CImg[List]::operator++(int)' and 'CImg[List]::operator--(int)'.

* Optimizations / Modifications :
- Recoded 'CImg::save_magick()' to improve performances when saving images using Magick++ API.
- Recoded 'CImg::draw_fill()' to avoid crashes on large (volumetric) images due to stack overflow.
Also added parameters to choose between 4 or 8 connexity for 2D images.
- Added simple point representation in 'CImg::draw_graph()'.
-> Note that the gtype variable values have been redefined as well !!! <-
- Added parameter 'CImg::quantize()' that allows possible value renormalization.
- Improved documentation.
- Drawing functions accept now templated color pointer, as well as templated image containing color data.
- Recoded Deriche filter. More fast and precise, some cases were buggy.
- Removed class CImgStats (moved to plugin 'plugins/deprecated.h').
- Removed unuseful image copies in some functions.
- Cleaning the code.

* Bug corrections :
- Corrected bug in 'CImg::pseudoinverse()' concerning pseudo-inversion of non-inversible matrices.
- Corrected return value in 'CImg::get_RGBtoHSV()'.
- Corrected value range bug in 'CImg::quantize()'.
- And other small bug corrections...

CImg 1.2.4 Released (2007/09/26, 12:00am)
The CImg 1.2.4 package has been released. This is a minor release but with interesting stuffs anyway.

*-----------------------------
*-----------------------------
* Changes from 1.2.3 to 1.2.4
*-----------------------------
*-----------------------------

* New features :
- Added macro 'cimg_for_lineXY(x,y,x0,y0,x1,y1)' that loops over an image segment (x0,y0)-(x1,y1).
- Added function 'CImg::draw_polygon()' that draws a filled polygon of any shape in the instance image.
- Added macros 'cimg_load_plugin', 'cimg_save_plugin', 'cimglist_load_plugin' and 'cimglist_save_plugin' allowing to easily add file support for your own data format.
- Added plugin 'plugins/add_fileformat.h' to show how to use these new macros to register a new image format in CImg.
- Added version of 'CImg[List]::{load,save}_cimg()' that is able to read/write only sub-images of data stored in a (big) .cimg file.
- Added an online chat on the CImg website, so that users can interact freely.

* Optimizations / Modifications :
- Added functions 'CImg[List]::save_empty_cimg()' that can be used to work with very large images.
You can now create first an empty (big) image, then load/save sub-images into this big .cimg file, without needing much memory.
- Slightly modified the header of .cimg files, so little/big endian info is stored.
- Reorganized some 'CImg[List]::load_*()' functions, trying to avoid unnecessary memory usage.
- Recoded versions of CImg::draw_triangle() that now use the Bresenham's algorithm for interpolation (more precise, while using only integer calculus).
- Added versions of 'CImg::draw_triangle()' and 'CImg::draw_line()' that are able to map textures while correctly handling the perspective correction, so that 3D mapped triangles look correct now.

* Bug corrections :
- Corrected a small bug in get_coordinates() : channels of hyperspectral images with (dim>3) where subsampled instead of cropped for image visualization.
- And many small bug corrections...

Online CImg Library Chat ! (2007/09/26, 11:12am)
I've installed a pretty cool php-based online chat room dedicated to CImg users. This is a convenient way to ask for quick informations if needed, or discuss about the features you would like to see in future versions of CImg. There are not many people right now, but wait and see... You can click on the 'Online chat' section of the menu above to access the chat.

CImg 1.2.3 Released (2007/08/24, 03:00pm)
The CImg 1.2.3 package has been released. This is a quite important release, with some library modifications. I guess upgrading to this version won't be a big problem, but this will be perhaps not as direct as latest releases. The CHANGELOG is quite bigger than usual. A lot of work has been done during summer holidays, and I'm quite happy with the modifications.

*-----------------------------
*-----------------------------
* Changes from 1.2.2 to 1.2.3
*-----------------------------
*-----------------------------

* New features :
- Added file 'example/tron.cpp', implementing a very simple version of the famous 'Tron' game (2 players).
- Added constructor that create a CImg from the content of a CImgDisplay window.
- Added support of the 'Board' library in plugin 'plugins/toolbox3d.h', allowing the saving of 3D objects snapshots in SVG, EPS or FIG vector-graphics formats.
- Added function 'CImgList::[get]_split()' that can split all image of an an image list into a specified axis.
- Added sphere primitive in 'CImg::draw_object3d()'.
- Added function 'CImg::ellipsoid()' in 'plugins/toolbox3d.h'.
- Added useful new constructors 'CImg()' and 'CImgList()' with variable numbers of parameters that can define images or image lists initialized with user-specified values. Example :
CImg img(3,2,1,1, 1,2,3, 4,5,6); defines image [ 1,2,3; 4,5,6 ].
CImgList list(3,1,3,1,1, 1,0,0, 0,1,0, 0,0,1); defines list of three vectors { [1;0;0], [0;1;0], [0;0;1] }.
- Added poly-bezier curve drawing, with 'CImg::draw_spline()' overload.
- Added file 'examples/jawbreaker.cpp', implementing a very funny games featuring small colored balls.
- Added demo '3D Reflection' in 'examples/CImg_test.cpp' showing some tricky uses with the 3D capabilities of CImg.
- Added 'CImg::draw_spline()' for drawing 2D cubic Bezier curves.
- Added plugin 'plugins/jpeg_buffer.h', allowing to read/write directly image data from/to jpeg-coded memory buffers (Many thanks to Paolo Prete who made it possible !).
- Added optional support of the LAPACK library for matrix computation.
Define macro 'cimg_use_lapack' and link your code with LAPACK to enable it (LAPACK routines are slightly faster routines than native CImg ones).
- Added function 'CImg::get_constrast_LUT8()' function which returns a 256 colors palette that has nice properties of being well contrasted when color indices are close to eachothers.
- Added function 'CImg::get_rainbow_LUT8()' that returns a rainbow-type palette.
- Added shortcuts CTRL+PAGE[UP,DOWN] in 'CImg::display_object3d()' to brighten or darken the 3D object.

* Optimizations / Modifications :
- In 'CImg::HSVtoRGB()' and 'CImg::RGBtoHSV()', the H components is now expressed in degree.
- Improved multi-key testing with CImgDisplay.
- Added and modified some 'operator<<()' and 'operator>>()' in 'CImg' and 'CImgList'.
- Renamed 'plugins/primitives3d.h' to 'plugins/toolbox3d.h', and added a new example 'examples/toolbox3d.cpp' that shows how to use it.
- Renamed 'plugins/alias.h' to 'plugins/deprecated.h'.
- Moved function 'CImg::resize_object3d()' to 'plugins/toolbox3d.h'.
- Simplified 'CImgList::insert()' procedures, and removed functions 'CImgList::insert_shared()'.
- Added functions parameters for almost all drawing functions, allowing the correct use of patterns in line drawing (beware, some functions signatures have been slightly modified).
- Renamed 'CImg::feature_selection()' as 'CImg::get_coordinates()' (for better coherence with overall function names). Include 'plugins/deprecated.h' for backward compatibility.
- Optimized function 'CImg::draw_line()'.
- Recoded function 'CImg::draw_circle()', uses now the more precise Bresenham's circle algorithm.
- Improved function 'CImg::sphere()', in plugin 'toolbox3d.h', reducing drastically the number of created points in the 3D mesh.

* Bug corrections :
- Corrected some small bugs in CImg.h to allow the compilation with the Intel C++ Compiler (icc & icl).
- Corrected bug in copy constructor of CImgList<> that didn't make shared copy of images.
- Fixed bug in 'CImg::symmetric_eigen()' : some negative eigenvalues where miscalculated when their absolute values was also an eigenvalue of the considered matrix.
- And many small bug corrections...

Sixth postcard received ! (2007/08/17, 02:15pm)
Today, I received another postcard from Taiwan ! That is a great pleasure to see that CImg is used by some people in Asia. So, thanks to Pr. Kuo-Feng Hwang for your postcard, I added it to the 'growing' postcard list in the main CImg web page :)


New demo '3D Reflection' in CImg 1.2.3 (2007/07/24, 10:25pm)
During hollidays, I always take time to perform some funny code experiments. This time, I tried to create a real-time 3D reflection effect. Of course, it uses some tricks to succed in an acceptable speed, but I like the result, and I've added this example to the 'CImg_demo.cpp' source code. Here is a screenshot of the resulting effect. Click on the image to see the video.


New game 'Jawbreaker' in CImg 1.2.3 (2007/07/24, 10:25pm)
Last night, while playing on the so-called Jawbreaker game in my Pocket PC, I wonder how hard it would be to do a CImg-based version of this game. That was a good excuse to start programming ! I think the result is quite cool so I decided to put it in the CImg/examples directory for the next CImg 1.2.3 release. The source is surprisingly small (about 150 lines of code) and the game is complete. Here is a screenshot of the result below. Click on the image to see the video.


Some CImg 1.2.3 envisaged features (2007/07/20, 02:32pm)
- I decided to (re)enable LAPACK interfacing when doing matrix computations (such as SVD, eigenvalues, system solving). LAPACK routines are well optimized and this could save time for applications that need it. Of course, you are not forced to use LAPACK, since native matrix algorithms already exist in CImg, but this may increase performances in some cases.
- Also, Thanks to Paolo Prete, a new plugin plugins/jpeg_array.h has been added. This adds useful functions in the CImg class to read and write jpeg-compressed image data directly in memory buffer. Very useful when dealing with jpeg images coming from the network for instance (ip webcam).

These features are already implemented in the CVS version, so do not hesitate to test them and tell me if everything's going right.

CImg 1.2.2 Released (2007/07/04, 13:27pm)
The CImg 1.2.2 package has been released. This is a minor release, with a very small CHANGELOG. Basically, I want to put a updated version before the RMLL'07 where I will present the CImg Library.

*-----------------------------
*-----------------------------
* Changes from 1.2.1 to 1.2.2
*-----------------------------
*-----------------------------

* New features :
- Added 'CImg::distance_function()' that can compute distance function to the 0-isophote.
- Added curve editor example in 'examples/curve_editor.cpp'.

* Bug corrections :
- Corrected small bug when trying to found pathname under Windows.
- Corrected bug when using XSHM extension on Mac OS X.
- Corrected/Improved platforms detection by testing the right predefined BSD macros + extra architectures (Thanks to Marc Espie).
- And many small bug corrections...

CImg 1.2.2 on the way (2007/07/02, 19:34pm)
CImg 1.2.2 has been started few days ago. I'm happy to say I've corrected lot of examples such that they perfectly compile now on Visual C++ 6.0. I've also tested it on the new 4.2.0 release of g++, and everything's fine. I find CImg is becoming quite stable and I've less and less debugging from releases to releases, that's good news. I've posted a version CImg-1.2.2beta of the archive in the sourceforge repository, you can already download it (package "in progress") and test it if you want. Any feedback is appreciated.

New example file : curve_editor.cpp (2007/06/27, 11:11am)
I worked on a small 2D curve editor for a collegue and his PhD student at the lab, and I found it interesting enough to share it with CImg users, so here is a new file examples/curve_editor.cpp in the CImg tree (still in CVS for the moment, but will be available in the next stable release). Basically, you can add/move/remove control points and a piecewise-polynomial curve passing through these points is computed. It's a quite small source (300 code lines with header and comments). You can save control points, curve points or even the corresponding distance map. Maybe useful, I hope. Here's a screenshot below. Click here to see the video


Fifth postcard received ! (2007/06/24, 10:00am)
I received a postcard today from Cambridge/UK, as well as a donation for CImg, by the same person. Thank you so much Alexandre ! This is very nice to see that some people are enjoying using CImg around the world, and do not write only for bug reports. All these postcards are displayed on the wall just behind my desk. Do not hesitate to write me, there are still a lot of free space :)


CImg 1.2.1 Released (2007/06/12, 15:03pm)
The CImg 1.2.1 package has been released. Here is the CHANGELOG :

*-----------------------------
*-----------------------------
* Changes from 1.2.0 to 1.2.1
*-----------------------------
*-----------------------------

* New features :
- Added macro 'cimg_for_spiralXY', allowing to loop over an image using a spiral-shaped trajectory.
- Added shortcut 'CTRL+O' to save object as .off file in 'CImg::display_object3d()'.
- Added operator bool() in CImg, CImgList, CImgStats, CImgDisplay to get more concise code when testing if an object is empty or not.
- Added empty state for CImgDisplay, can be tested with 'CImgDisplay::is_empty()'.
- Added '.off' file support in 'inrcast'.

* Optimizations / Modifications :
- Removed all the obsolete #define to ensure compatibility with really older versions of CImg. You can now include the file 'plugins/alias.h' to get these #define back.
- Added functionalities and debugged 'CImg::save_off()' and 'CImg::load_off()'.

* Bug corrections :
- Corrected illumination bug in 'CImg::draw_object3d()'.
- Corrected bug in 'CImg::crop()' family functions.
- Corrected small bugs in 'CImgList' (insertion functions).
- Corrected 'CImg::load_tiff()' function.
- And many small bug corrections...

Fourth postcard received ! (2007/06/01, 10:00am)
I received a postcard today from Brighton/UK. Thank you Hugo for your postcard !


CImg 1.2.0 Released (2007/04/18, 15:36pm)
The CImg 1.2.0 package has been released. Here is the CHANGELOG :

*-----------------------------
*-----------------------------
* Changes from 1.1.9 to 1.2.0
*-----------------------------
*-----------------------------

* New features :
- Added function 'CImg::draw_grid()' that draws a grid on the instance image
(useful when combined with CImg::draw_axis and CImg::draw_graph).
- Added multi-threading support in GREYCstoration plugin and command line version.
- Added support for GraphicsMagick conversion tools (http://www.graphicsmagick.org).
- Added plugin 'integral_line.h' that define functions to track integral lines in images.
- Added CTRL+key combinations in 'CImg::display_object3d' and 'CImg::feature_selection()' :
- CTRL+S : Save snapshot.
- CTRL+D : Double window resolution.
- CTRL+C : Divide window resolution.
- CTRL+F : Fullscreen mode.
- Added new normalization mode=3, now set by default when using CImgDisplay. Try to adapt
the display normalization to the image type.
- Added new example 'edge_explorer.cpp' (thanks to Orges Leka).
- Added new example 'greycstoration4gimp.cpp' (which is a GREYCstoration plugin for the Gimp, thanks
to Grzegorz Szwoch)
- Added functions 'CImg::[get]_round()' that round values of an image.
- Added function 'CImg::draw_line()' able to draw joined set of segments.
- Added interpolation_type=-1 for 'CImg::resize()' corresponding to raw memory resizing, without interpolation.
- Added function 'CImg::permute_axes()' that can be used to swap order of image axes (useful for converting ...RRRRRRGGGGGBBBBB... to ...RGBRGBRGBRGB....)
- Added support for NIFTI files (extension '.nii') added in 'CImg::load_analyze()'.
- Added function 'CImg::[get_]displacement_field()' that can estimate displacement field between two images.
- Added default constructor for the 'CImgDisplay' class, which creates a window initially in the 'closed' state.
- Added directory 'compilation/unix_debian_package' for easy construction of .deb package for CImg.
- Added new search parth to find 'medcon' on Windows.

* Optimizations / Modifications :
- Renamed all '*_convert' functions to '*_imagemagick'.
- Fonction CImg::draw_object3d() has been slightly optimized (light computation for outside primitives is not done anymore).
- Small changes in cimg:: traits.
- Removed 'precision' arguments in 'CImg::draw_axis()'.
- The use of non in-place arithmetical operators is now possible in plug-ins.

* Bug corrections :
- Versions of 'CImg::load_tiff()' and 'CImg::save_tiff()' that use libtiff has been debugged and improved.
- fread() and fwrite() has been recoded to handle the Windows file size limit of 64Mb over network (this is a Windows bug !).
- GREYCstoration plugin has been modified to better deal with 16 and 32bits images.
- And many other small bug corrections....

New way of installing CImg for Debian-based Unix distributions (2007/03/26, 10:00am)
Many thanks to François-Xavier Dupé, PhD candidate in the IMAGE team of the GREYC lab : he provided a simple script that can be used to generate a .deb package file from the CImg package. CImg is now very simple to install on such systems thanks to its .deb package. Very nice !

Third postcard received ! (2007/03/26, 10:00am)
I received a postcard today from Honolulu, telling me that someone is using CImg and GREYCstoration in paradise. Very nice for starting a Monday morning ! Thank you Mike for your postcard, I really appreciate ! Surprisingly, the three postcards I received so far all come from sunny places...

Thank again !
David.


CImg 1.1.9 Released (2007/03/05, 19:12pm)
The CImg 1.1.9 package has been released. This is a minor release that should be transparent for the CImg users. You can go to the Download page to get the latest 1.1.9 package.

Here is the CHANGELOG :
*-----------------------------
*-----------------------------
* Changes from 1.1.8 to 1.1.9
*-----------------------------
*-----------------------------

* New features :
- Added functions 'CImg::sharpen()' and 'CImg::get_sharpen()' that can enhance contrast in images, using nonlinear 2D/3D multi-valued shock filters.
- Added function 'CImg::contains()' and 'CImgList::contains()' that can test if a pixel is present in an image.
- Added new demo 'CImg-breakout' in 'examples/CImg_demo.cpp' (Arkanoid-style game in 64 lines of code!).
- Functions 'CImgDisplay::hide_mouse()' and 'CImgDisplay::show_mouse()' have been added, allowing to hide/show the cursor when it is over a display window.
- Functions 'CImg::[get_]structure_tensorXY[Z]()' has been added, allowing to compute the 2D or 3D structure tensor field from an image.
- Function 'CImgDisplay::set_mouse()' is now working on Windows.
- Added load/save functions to deal directly with std::FILE structures.
- Added members 'CImgDisplay::keys[256]' and 'CImgDisplay::buttons[256]' allowing to get the latest 256 keys or mouse buttons modifications done on the display window.
- Added function 'CImgDisplay::is_typed()' to test if a certain combination of key has been typed on the display window.
- Added keyboard shortcut 'CTRL+S' in 'CImg::display_object3d()' to be able to save snapshot of current 3d view.

* Optimizations / Modifications :
- Recoded the greycstoration plug-in as the file 'plugins/greycstoration.h'. The command line version 'examples/greycstoration.cpp' has been greatly improved, including tiled-mode and less memory consumption.
The use of GREYCstoration is now more easy, the code is more factorized.

* Bug corrections :
- Plugin 'plugins/cimgmatlab.h' has been corrected.

CImg 1.1.8 Released (2007/01/26, 11:06am)
The CImg 1.1.8 package has been released. I guess this is a more bug-free version than the 1.1.7. You can go to the Download page to get the latest 1.1.8 package.

Here is the CHANGELOG :
*-----------------------------
*-----------------------------
* Changes from 1.1.7 to 1.1.8
*-----------------------------
*-----------------------------

* New features :
- Added conditional use of the FFTW3 library (http://www.fftw.org) allowing more flexibility and speed on DFT computation, when used.
- Added new macro 'cimg_help()', displays arbitrary user-defined messages when program is invoked with the option '-h' or '--help'.
- Added new macro 'cimglist_apply()' allowing to apply a single function to all members of a list : Ex: cimglist_apply(list,blur)(3.0f);
- Added functions 'CImg::resize_object3d()', 'CImgList::resize_object3d()', 'CImg::get_resize_object3d()' and 'CImgList::get_resize_object3d()' to ease resizing and centering 3d objects.
- Added function 'CImgDisplay::set_mouse()' to set the mouse pointer coordinates (X11 only).
- Added functions 'CImg::atan()', 'CImg::acos()', 'CImg::asin()' and their get_* counterparts.

* Optimizations / Modifications :
- 'cimg_debug' has new value signification. Can now choose between displaying error message on the console or on modal windows, even when 'cimg_display_type' is not 0.
- Updated CImg presentation slides in 'documentation/slides_cimg.pdf', more complete now.
- Added new directories in path search for 'convert' and 'medcon' and 'temporary path'. 'convert' or 'medcon' found in the current directory './' now override the default ones.
- Added safer support for Windows 64bits.
- Improved version of 'cimg::info()' for debugging facilities. Now displays almost every important library variables and parameters.
- Static version of CImg::sequence() now return a column vector instead of a line.
- Slightly changed the tracking algorithm and few other things in 'examples/dtmri_view.cpp', allowing more precision in the fiber computation.
- Modified the 'CImg::feature_selection()' function : replaced the moving hatch by a static one, less fun but also less time consuming. One small selection bug for 3D volumes has been also corrected.
- Corrected line routine for 64bits architectures.
- Replaced 'CImg::scroll()' by 'CImg::translate()'.
- Replaced all 'cimg_map' by more coherent names based on 'cimg_for_*'. Same for 'cimglist_map'.
Compatibility with previous versions of CImg is ensured if 'cimg_strict' is not defined.
- Recoded functions to retrieve parts of the images : get_channel(), get_slice(), ...
- Improved the cimg::system() function.
- Added some tests and display extra warnings when saving images with wrong formats.

* Bug corrections :
- Corrected small bug in 'CImg<>::blur_anisotropic()', 'examples/greycstoration.cpp' and 'plugins/greycstoration4integration.h'.
- And lot of minor bug corrections and optimizations .....


First donator ! (2007/01/22, 04:37pm)
I really would like to thank the anonymous user that donated some money to the CImg Library. I don't know who you are, but you have to know that your are the very first one ! I appreciate this attention.

Of course, I also thank all other people participating to CImg by reporting bugs, sending postcards (2 received so far !) and helping developing new piece of code.
I hope the CImg Library will be alive for a long long time. Next step : the 1.1.8 release, integrating cool new features and improving stability.

Cheers !
David.

CImg 1.1.7 Released (2006/11/06, 03:15pm)
The CImg 1.1.7 package has been released. It adds cool new features and bug corrections, and proposes more elaborated use of template objects. You can go to the Download page to get the latest 1.1.7 package.

Here is the CHANGELOG :
*-----------------------------
*-----------------------------
* Changes from 1.1.6 to 1.1.7
*-----------------------------
*-----------------------------

* New features :
- Added 'operator<<()' and 'operator>>()' for bit shift operations on all images pixels.
- Added most of mathematical operators in the 'CImgList' class.
- Added new demo 'Image Waves' in 'examples/CImg_demo.cpp'.
- Added mouse wheel support on Windows.

* Optimizations / Modifications :
- Renamed class 'CImgl' into 'CImgList', also renamed macro 'cimgl_map' to 'cimglist_map'.
Backward compatibility is assured in 1.1.7 version, but think about replacing the old names
by the new ones for future CImg versions.
- Removed 'operator<<()' which appended an image to another one
- Recoded lot of non in-place mathematical operators to avoid numerical truncations.
It may have a great influence on your code. For instance writting '0.5+img' will result in a CImg image, even if 'img' was a CImg.
- Recoded most of 'CImg::get_resize()' function : linear interpolation performs now really faster, and an additional parameter allows to select between different conditions for border values.
- Recoded 'CImg::draw_line()' so that it now uses a classical Bresenham algorithm, avoiding rounding errors.

* Bug corrections :
- Corrected some functions that did not performed correctly on shared images.
- Corrected small bug in 'plugins/primitives3d.h' in function 'CImg::sphere()'.
- Corrected 'CImg::feature_selection()' when displaying 'CImg' images.
- Corrected 'CImg::load_cimg()' : is now able to load bool images.
- And lot of minor bug corrections and optimizations .....

CImg 1.1.7 in progress... (2006/10/24, 10:21am)
Preparing the next CImg release 1.1.7, I've added a new small and cool effect in the example file examples/CImg_demo.cpp. It roughly applies the wave equation on a height map on which a color image is mapped. This height map is deforming itself according to falling particles, and all is displayed as a 3D gouraud rotating object.
But the best of all, is that all fits in about 60 lines of code !

Here's a screenshot below, click on the image to see the video :


Call for links (2006/10/05, 10:32am)
I'm planning to create a 'Links' page on the CImg web site, that will propose a list of links to projects that use the CImg Library in their source code. If you are concerned and interested to appear in this page, please send me an e-mail, or post a message in the CImg forum. Thanks for your participation.

CImg 1.1.6 released (2006/09/21, 04:32pm)
Minor release, but fixes some bugs.

CImg 1.1.5 released (2006/07/19, 09:53am)
Following a traditional two-month release period, I'm happy to announce the release of the CImg 1.1.5 package.
There are some important changes in the API, basically, it converges to something clear and coherent.
The changelog is :

*-----------------------------
*-----------------------------
* Changes from 1.1.4 to 1.1.5
*-----------------------------
*-----------------------------

* New features :
- Added Poisson noise capability in CImg::noise() (This patch has been proposed by Jerome Boulanger)
- Added wheel mouse support in 'CImgDisplay', now used in 'CImg<>::feature_selection()' to go through slices of 3D volumes (unfortunately for X11 systems only).
- Added function 'CImgDisplay::toggle_fullscreen()' to allow easy and dynamic fullscreen switching of a display.
- Added screen resolution switching capabilities when using the Xrandr extension, under X11 (#define cimg_use_xrandr).
- Added support for ImageMagick++ built-in library (parts of the patch proposed by Christoph Hormann).
- And lot of small functions to ease the life...

* Optimizations / Modifications :
- CeCiLL-C license now applies for the file 'CImg.h'. This license (close to the LGPL one) is more adapted for library components as CImg. The examples stay in previous CeCiLL license (close to the GPL one).
- Recoded 'CImg::draw_axe?()' (where ? can be 'X','Y' or 'XY') so that it can now be used to draw non-linear values along axes (for instance logarithmic-varying labels).
- Attribute 'force' has been removed in 'CImgDisplay::resize()'.
- Recoded most constructors and assign functions in CImg and CImgl.
- Recoded most of the CImgDisplay class to allow more flexibility and refreshing speed.
- Renamed 'CImgDisplay::title()' to 'CImgDisplay::set_title()'. 'CImgDisplay::title' is now a class variable that stores the current title of the display window.
- 'CImgDisplay::closed', 'CImgDisplay::resized', 'CImgDisplay::fullscreen' and 'CImgDisplay::moved' have been renamed to 'CImgDisplay::is_closed', 'CImgDisplay::is_resized', 'CImgDisplay::is_fullscreen' and 'CImgDisplay::is_moved', for more coherent variable names.
- 'CImg::display_object3d()' : can now specify an input pose matrix, as well as get the output pose matrix, after the user rotated the object. Also, this function has been optimized.

* Bug corrections :
- Corrected sorting bug in 'CImg::symmetric_eigen()' and 'CImg::SVD()'
- When using shared memory images, some 'CImg::get_*()' methods returned a shared memory image too.
- And lot of minor bug corrections and optimizations .....

Previous News (2006/07/19, 09:53am)
The system for posting news has changed, and you can see old news by going there.