hugin_lensdb is a maintenance tool for Hugins camera and lens database.
The information are used when adding image files to a project. Distortion and vignetting data can also manually loaded inside Hugin.
hugin_lensdb [--recursive] --populate BASEPATH
Fills the database with information from all pto files in BASEPATH. With the switch --recursive the search goes also into all subfolders.
Compresses the database by replacing all single entries with the average values.
hugin_lensdb provides also some functions to maintain the database. Use these functions with responsibility.
Exports all entries of the database into the given (text) file.
Import the entries of the given (text) file into the existing database.
Removes all entries for the given lens from the database. For cameras with fixed lens use MAKER|MODEL as search string.
Removes all entries for the given camera from the database.