Am 17.03.2013 13:28, schrieb Sebastian Kraft:
> I see... that won't work with the Canon lenses only differing by II or
> III :(
>
> [...]
>
> Your proposal was to add aliases in the database. But this will be quite
> specific to the library used by applications and fill the database with
> highly redundant information. Not a good solution IMO.
>
> Maybe we should start creating an alias.xml like it was proposed
> somewhere in this thread. Then we will see how many lenses are actually
> concerned and can better decide how to solve this in a clean way.
>
> I could imagine to use such an alias.xml if there are no more than 20
> lenses in it. But afterwards it will become to messy to maintain the
> information across different locations.
>
To me the most logical - and easiest to maintain - approach would be
alias tags in the xml files. Something like:
<lens>
<maker>Tamron</maker>
<model>Tamron 17-50mm f/2.8 XR Di II LD</model>
<alias>Tamron AF 17-50mm F2.8 XR Di-II LD (Model A16)</alias>
<mount>Canon EF</mount>
<mount>Nikon F AF</mount>
<mount>Pentax KAF</mount>
<mount>Sony Alpha</mount>
<cropfactor>1.5</cropfactor>
<calibration>
<distortion model="ptlens" focal="17" a="0.02667" b="-0.07161"
c="0.02012" />
<distortion model="ptlens" focal="24" a="0.02791" b="-0.08057"
c="0.07132" />
<distortion model="ptlens" focal="35" a="-0.01098" b="0.0448"
c="-0.04755" />
<distortion model="ptlens" focal="50" a="-0.00372" b="0.01796"
c="-0.01334" />
<tca model="poly3" focal="17" br="0.0000205" vr="1.0005975"
bb="-0.0001325" vb="1.0008428" />
<tca model="poly3" focal="24" br="-0.0000073" vr="1.0004585"
bb="-0.0000382" vb="1.0004269" />
<tca model="poly3" focal="35" br="-0.0000351" vr="1.0002419"
bb="-0.0000228" vb="1.0001575" />
<tca model="poly3" focal="50" br="-0.0000294" vr="1.0000100"
bb="-0.0000149" vb="0.9999915" />
</calibration>
</lens>
There would be only one set of lens parameters and possible additional
alias names could be added as needed.
Ulrich
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel