Automatic Vignetting Correction algorithm in C++ after Laura Lopez-Fuentes's work Revisiting Image Vignetting Correction by Constrained Minimization of log-Intensity Entropy which is based on the paper Single-Image Vignetting Correction by Constrained Minimization of log-Intensity Entropy
See also
Install:
On Ubuntu:
./configure.sh
./build.sh
./bin/vgncorr <img-filename>
On Windows:
build.bat
bin\vgncorr.exe <img-filename>
If you want to use opencv library instead of the default boost gil, then execute the corresponding configure_opencv
and build_opencv
files.
The resulting image is copied to the same folder.