Can you check what the effects are if you rename/move away/modify
existing lensfun files?
That could give a clue if DT agrees with you on where to look for those
files.
Koos
Op 21-05-17 om 09:55 schreef Romano Giannetti:
Hi,
I tried also without the variant line. Same thing, the camera appears
in the lens correction module, but the lens dropdown is empty. I doble
checked the spelling of the camera and compared the entry with others,
but I really can't see why this is not working.
Should I open a bug? Or is still an operator error?
Romano
On 21/05/17 07:11, junkyardspar...@yepmail.net wrote:
The variants apparently don't work, see:
https://github.com/lensfun/lensfun/commit/a48bc3afb87d72b48f176890e080a0b094d31b01#diff-50e22dbf0edf411c0bec00e9df83a7ae
But they shouldn't be needed in this case anyway.
Otherwise, not sure why that wouldn't work.
On Sat, May 20, 2017, at 12:24, Romano Giannetti wrote:
Thanks... almost!
On 20/05/17 18:18, junkyardspar...@yepmail.net 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
darktable-user+unsubscr...@lists.darktable.org
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to
darktable-user+unsubscr...@lists.darktable.org
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org