README How to build Install Boost library (at least 1.78 version). Use CMake to configure CMakeLists.txt. Build all targets. How to run The name of executable file is "exeGCLF-ImageTriSimp", put it with Qt5Core.dll and Qt5Gui.dll in the same directory. "exeGCLF-ImageTriSimp" can be executed in three modes: Given an initial triangulation, optimize the triangulation to be error-bounded (see example/error_bounded.bat). Given an linear error-bounded triangulation, simplify it (see example/linear_simplify.bat). Given an linear error-bounded triangulation, make it curved and simplify it (see example/curved_simplify.bat). The color function and other parameters can be changed in "config.json".