Thanks... almost!
On 20/05/17 18:18, [email protected] wrote:
For compact cameras, you also need to add the entry for the camera itself along
with the lens:
<camera>
<maker>Panasonic</maker>
<model>DMC-TZ100</model>
<mount>panasonicTZ100</mount>
<cropfactor>2.75</cropfactor>
</camera>
Also, you might have to remove that 'version="2"' parameter to get darktable to
load the file.
Ok, now I have the camera but not the lens (
http://pix.toile-libre.org/?img=1495308076.png ) --- The second dropdown
is empty.
I tried to add a <variant> record to no avail.
Any further hint? Thanks!
Romano
My file is now:
<lensdatabase>
<camera>
<maker>Panasonic</maker>
<model>DMC-TZ100</model>
<mount>panasonicTZ100</mount>
<variant>3:2</variant>
<cropfactor>2.75</cropfactor>
</camera>
<lens>
<maker>Leica</maker>
<model>DMC-TZ100 & compatibles</model>
<model lang="en">fixed lens</model>
<model lang="de">festes Objektiv</model>
<mount>panasonicTZ100</mount>
<cropfactor>2.75</cropfactor>
<aspect-ratio>3:2</aspect-ratio>
<calibration>
<distortion model="ptlens" focal="9.1" a="0.00708902"
b="-0.040959" c="-0.0636536"/>
<distortion model="ptlens" focal="11" a="0.0095907"
b="-0.0535213" c="0.00920877"/>
<distortion model="ptlens" focal="14.6" a="0"
b="-0.0124246" c="0"/>
<distortion model="ptlens" focal="18.2" a="0"
b="-0.00155103" c="0"/>
<distortion model="ptlens" focal="23.7" a="0"
b="0.00368039" c="0"/>
<distortion model="ptlens" focal="36.6" a="0"
b="0.00140267" c="0"/>
<distortion model="ptlens" focal="54.8" a="0"
b="0.00153697" c="0"/>
<distortion model="ptlens" focal="91" a="0"
b="-0.000878659" c="0"/>
<tca model="poly3" focal="9.1" vr="1.0003000" vb="1.0002000"/>
<tca model="poly3" focal="11" vr="1.0005000" vb="1.0002000"/>
<tca model="poly3" focal="14.6" vr="1.0005000" vb="1.0000000"/>
<tca model="poly3" focal="18.2" vr="1.0005000" vb="0.9999000"/>
<tca model="poly3" focal="23.7" vr="1.0004000" vb="0.9999000"/>
<tca model="poly3" focal="36.6" vr="1.0000000" vb="1.0000000"/>
<tca model="poly3" focal="54.8" vr="0.9997000" vb="1.0000000"/>
<tca model="poly3" focal="91" vr="0.9996000" vb="0.9995000"/>
</calibration>
</lens>
</lensdatabase>
--
Romano Giannetti
http://www.rgtti.com/
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]