Difference between revisions of "Hugin lensdb"

From PanoTools.org Wiki
Jump to navigation Jump to search
(Created page with "'''lensdb''' is a maintenance tools for Hugins camera and lens database. == Usage == lensdb [--recursive] --populate BASEPATH Fills the database with information from all...")
 
m (categorized)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
'''lensdb''' is a maintenance tools for Hugins camera and lens database.
+
'''hugin_lensdb''' is a maintenance tool for Hugins camera and lens database.
 +
 
 +
The database is automatically filled when stitching a project file from Hugin. Entries can also manually added from [[Hugin]] and [[calibrate_lens_gui]].
 +
 
 +
The information are used when adding image files to a project. Distortion and vignetting data can also manually loaded inside Hugin.
  
 
== Usage ==
 
== Usage ==
  
   lensdb [--recursive] --populate BASEPATH
+
   hugin_lensdb [--recursive] --populate BASEPATH
  
 
Fills the database with information from all pto files in BASEPATH. With the switch <tt>--recursive</tt> the search goes also into all subfolders.
 
Fills the database with information from all pto files in BASEPATH. With the switch <tt>--recursive</tt> the search goes also into all subfolders.
  
   lensdb --compress
+
   hugin_lensdb --compress
  
 
Compresses the database by replacing all single entries with the average values.
 
Compresses the database by replacing all single entries with the average values.
 +
 +
== Database maintenance ==
 +
 +
'''hugin_lensdb''' provides also some functions to maintain the database. Use these functions with responsibility.
 +
 +
  hugin_lensdb --export-database=FILENAME
 +
 +
Exports all entries of the database into the given (text) file.
 +
 +
  hugin_lensdb --import-from-file=FILENAME
 +
 +
Import the entries of the given (text) file into the existing database.
 +
 +
  hugin_lensdb --remove-lens=LENS
 +
 +
Removes all entries for the given lens from the database. For cameras with fixed lens use <tt>MAKER|MODEL</tt> as search string.
 +
 +
  hugin_lensdb --remove-camera=MAKER|MODEL
 +
 +
Removes all entries for the given camera from the database.
 +
 +
[[Category:Tutorial:Specialised]]
 +
[[Category:Software:Hugin]]

Latest revision as of 15:55, 25 May 2017

hugin_lensdb is a maintenance tool for Hugins camera and lens database.

The database is automatically filled when stitching a project file from Hugin. Entries can also manually added from Hugin and calibrate_lens_gui.

The information are used when adding image files to a project. Distortion and vignetting data can also manually loaded inside Hugin.

Usage

 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.

 hugin_lensdb --compress

Compresses the database by replacing all single entries with the average values.

Database maintenance

hugin_lensdb provides also some functions to maintain the database. Use these functions with responsibility.

 hugin_lensdb --export-database=FILENAME

Exports all entries of the database into the given (text) file.

 hugin_lensdb --import-from-file=FILENAME

Import the entries of the given (text) file into the existing database.

 hugin_lensdb --remove-lens=LENS

Removes all entries for the given lens from the database. For cameras with fixed lens use MAKER|MODEL as search string.

 hugin_lensdb --remove-camera=MAKER|MODEL

Removes all entries for the given camera from the database.