http://blogs.warwick.ac.uk/dcsrobot/entry/how_tom_compile/
1. download
Dev C++ can be downloaded http://prdownloads.sourceforge.net/dev-cpp/devcpp4.zip
The CImg Library http://cimg.sourceforge.net/
下載範例
http://sourceforge.net/projects/cimg/files/
CImg-1.3.1.zip (執行檔)
CImg-1.3.1_examples_win32.zip (原始檔)
2. extraction
Extract the CImg.zip files and place them in C:\Dev-C++\Bin
3. To compile the tutorial example load CMDcd
g++ -o 檔名.exe 檔名.cpp -O2 -lgdi32
例如
g++ -o CImg_demo.exe CImg_demo.cpp -O2 -lgdi32
Tutorial : Getting Started
The CImg Library is an open-source C++ library for image processing
David Tschumperlé wrote. http://www.greyc.ensicaen.fr/~dtschump/
Quite small library, but contains lot of functions that eases coding algorithms related to images. Still under active development !
CImg Library 函數