?? changes.txt
字號:
---------------------------------------------------------------------------------------- CHANGES.txt : List the changes made between consecutive versions of The CImg Library-----------------------------------------------------------------------------------------*-----------------------------*-----------------------------* Changes from 1.1.9 to 1.2.0*-----------------------------*-----------------------------* New features : - Added function 'CImg<T>::draw_grid()' that draws a grid on the instance image (useful when combined with CImg<T>::draw_axis and CImg<T>::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<T>::display_object3d' and 'CImg<T>::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<T>::[get]_round()' that round values of an image. - Added function 'CImg<T>::draw_line()' able to draw joined set of segments. - Added interpolation_type=-1 for 'CImg<T>::resize()' corresponding to raw memory resizing, without interpolation. - Added function 'CImg<T>::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<T>::load_analyze()'. - Added function 'CImg<T>::[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. - Added Debian package configuration files to generate .deb file from the CImg directory (a .deb file is now available from the CImg website).* Optimizations / Modifications : - Renamed all '*_convert' functions to '*_imagemagick'. - Fonction CImg<T>::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<T>::draw_axis()'. - The use of non in-place arithmetical operators is now possible in plug-ins. - Optimized the search of different pathes on Windows, thanks to Martin Petricek. - Cleaned some portions of the code.* Bug corrections : - CImg<T>::save_off() has been debugged. - Versions of 'CImg<T>::load_tiff()' and 'CImg<T>::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....*-----------------------------*-----------------------------* Changes from 1.1.8 to 1.1.9*-----------------------------*-----------------------------* New features : - Added Rice noise distribution in 'CImg<T>::noise()' (thanks to H.E Assemlal). - Added functions 'CImg<T>::sharpen()' and 'CImg<T>::get_sharpen()' that can enhance contrast in images, using nonlinear 2D/3D multi-valued shock filters. - Added function 'CImgStats::is_empty()' to check is a stat object has been initialized or not. - Added function 'CImg<T>::contains()' and 'CImgList<T>::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<T>::[get_]structure_tensorXY[Z]()' have 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<T>::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. - File extension '.txt' is now considered as '.dlm' (ascii file).* Bug corrections : - Plugin 'plugins/cimgmatlab.h' has been corrected.*-----------------------------*-----------------------------* 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<T>::resize_object3d()', 'CImgList<T>::resize_object3d()', 'CImg<T>::get_resize_object3d()' and 'CImgList<T>::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<T>::atan()', 'CImg<T>::acos()', 'CImg<T>::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<T>::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<T>::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<T>::scroll()' by 'CImg<T>::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 .....*-----------------------------*-----------------------------* 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 (incomplete!)* 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<double> image, even if 'img' was a CImg<float>. - Recoded most of 'CImg<T>::get_resize()' function : linear interpolation performs now really faster, and an additional parameter allows to select between different conditions for border values. - Recoded 'CImg<T>::draw_line()' so that it now uses a classical Bresenham algorithm, avoiding rounding errors. - Renamed 'CImg<T>::draw_axe' as 'CImg<T>::draw_axis'.* Bug corrections : - Corrected some functions that did not performed correctly on shared images. - Corrected small bug in 'plugins/primitives3d.h' in function 'CImg<T>::sphere()'. - Corrected 'CImg<T>::feature_selection()' when displaying 'CImg<bool>' images. - Corrected 'CImg<T>::load_cimg()' : is now able to load bool images. - And lot of minor bug corrections and optimizations .....*-----------------------------*-----------------------------* Changes from 1.1.5 to 1.1.6*-----------------------------*-----------------------------* New features : - Added DTMRI volumetric file viewer, in 'examples/dtmri_view.cpp'. - Added 3D sprite display support in 'CImg<T>::draw_object3d()'.* Optimizations / Modifications : - Rewritten a lot of constructor/assignments functions for CImg<T> and CImgl<T>. Removed shared capabilities of CImgl<T>, but improved these ones for CImg<T>.* Bug corrections : - And lot of minor bug corrections and optimizations .....*-----------------------------*-----------------------------* Changes from 1.1.4 to 1.1.5*-----------------------------*-----------------------------* New features : - Added plugin 'CImg/primitives3d.h', adding functions that can generate basic 3D triangulated primitives. - Added Poisson noise capability in CImg<T>::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).
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -