After running cmake
, there will be two executables which user can run:
polyestim length_threshold sampling_factor {input1.pgm} [input2.pgm...] {polyout_filename.txt}
distcorrect {poly_fname.txt} {input.pgm} {output.pgm}
Given set of calibration images (example is provided in data
folder), obtain correction polynomial, calculate RMSE of correction and correct calibration or any other images taken under the same camera settings.
The library is based on research done by CMLA ENS-Cachan and IMAGINE LIGM ENPC, and the reference paper titled LENS DISTORTION CORRECTION WITH A CALIBRATION HARP. The code was adapted from originally written Matlab prototype by Zhongwei Tang.
The software uses some C
-based libraries for image processing etc. For more info refer to each lib
subdirectory individually. The main framework and polynomial estimator were written by Victoria Rudakova.