Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /doc/example.txt [000000] .. [faa297] Maximize Restore

  Switch to side-by-side view

--- a
+++ b/doc/example.txt
@@ -0,0 +1,115 @@
+
+<lensdatabase version="1">
+
+<cameras>
+ <!-- description of a camera, with or without interchangable lens -->
+
+ <!-- name of the camera, crop factor -->
+ <camera make="Canon" name="EOS 300D" cropfactor="1.6">
+
+  <!-- exif data required for recognition of the camera
+       The attributes contain all tags that need to be present
+       in the exif information and their value. The tag names
+       correspond to the ones output by exiv2.
+       A list of keys can be found at http://www.exiv2.org/metadata.html
+    -->
+  <exif key="Exif.Image.Make" value="Canon"/>
+  <exif key="Exif.Image.Model="Canon EOS 300D DIGITAL"/>
+
+  <!-- mount of the camera (used to identify matching lenses) -->
+  <mount>canonSLR</mount>
+  <mount>canonEfsSLR</mount>
+  <mount>genericSLR</mount>
+
+  <!-- a free from text field for misc annotations -->
+  <comment>Any annotation</comment>
+ </camera>
+
+</cameras>
+
+
+<!-- all lenses in this file -->
+<lenses>
+ <!-- description of a lens. In case of multiple version, each version of a lens gets its
+      own lens entry -->
+ <lens
+  <!-- human readable name --> 
+  name="Canon EF-S 10-22mm f/3.5-4.5 USM"
+  <!-- physical properties of the lens -->
+  min_fl="10"
+  max_fl="22"
+  max_aperture="3.5"
+  <!-- type of lens, either rectilinear or fisheye -->
+  type="rectilinear"
+  <!-- a rating (quality control passed or not). Possible categories are:
+       "not reviewed", "reviewed", "private" -->
+  status="reviewed"
+  <!-- Cropfactor of the the camera that has been used for calibration -->
+  calib_cropfactor="1.6"
+  >
+
+    <!-- mount(s) of a lens (ie. the type of cameras it can be mounted on) -->
+    <mount>canonEfsSLR</mount>
+
+    <!-- serial number range (for lenses with same name but different 
+         properties, not required) -->
+    <serial number="300" min="1" max="1000">
+
+    <!-- arbitrary user comment -->
+    <comment>Calibration from PTLens database</comment>
+
+    <!-- Exif data useful for recognizing the lens.
+         If all tags below can be found, the lens is known. If there are tags
+         that can be used to automatically disambiguated -->
+    <exif key="Exif.Photo.MaxApertureValue" type="rational" value="3.5"/>
+    <!-- Lens identifier in canon metadata -->
+    <exif key="Exif.CanonCs.Lens" type="short" value="22 10 1"/>
+
+    <!-- person calibrating the lens -->
+    <author>Author</author>
+
+    <!-- arbitrary user comment -->
+    <comment></comment>
+
+    <!-- correction coefficients for each focal length
+    <calibration focallength="10">
+      <!-- radial distortion correction parameters, panotools model -->
+      <distortion a="0.02" b="-0.012" c="0">
+      <!-- transverse chromatic abberation correction -->
+      <tcaRed a="0" b="0" c="0" d="0">
+      <tcaBlue a="0" b="0" c="0" d="0">
+
+      <!-- aperture specific calibration values (vignetting) -->
+      <calibration aperture="3.5">
+        <vignetting b="-0.1" c="-0.2 d="0">
+      </calibration>
+
+      <calibration aperture="8">
+        <vignetting b="-0.1" c="-0.2 d="-0.3">
+      </calibration>
+
+      <calibration aperture="22">
+        <vignetting b="-0.1" c="-0.2 d="0">
+      </calibration>
+  </calibration>
+
+  <calibration focallength="14">
+      <distortion a="0.003" b="-0.001" c="0">
+      <tcaRed a="0" b="0" c="0" d="0">
+      <tcaBlue a="0" b="0" c="0" d="0">
+
+      <calibration aperture="4">
+        <vignetting b="-0.1" c="-0.2 d="0">
+      </calibration>
+      <calibration aperture="8">
+        <vignetting b="-0.1" c="-0.2 d="-0.3">
+      </calibration>
+      <calibration aperture="22">
+        <vignetting b="-0.1" c="-0.2 d="0">
+      </calibration>
+  </calibration>
+  <calibration focallength="22">
+      <!-- some more data -->
+  </calibration>
+ </lens>
+</lenses>