<!DOCTYPE lensdatabase SYSTEM "lensfun-database.dtd">
<lensdatabase version="2">

    <camera>
        <maker>Leica</maker>
        <model>Digilux 2</model>
        <mount>leicaDigilux2</mount>
        <cropfactor>3.933</cropfactor>
    </camera>

    <camera>
        <maker>Leica</maker>
        <model>D-LUX2</model>
        <model lang="en">Digilux 2</model>
        <mount>panasonicLX1</mount>
        <cropfactor>4.45</cropfactor>
        <!-- aspect ratio 16:9 -->
    </camera>

    <camera>
        <maker>Leica</maker>
        <model>D-LUX 4</model>
        <model lang="en">Digilux 4</model>
        <mount>panasonicLX4</mount>
        <cropfactor>4.33</cropfactor>
        <!-- aspect ratio 4:3 -->
    </camera>

    <camera>
        <maker>Leica</maker>
        <model>D-LUX 3</model>
        <model lang="en">Digilux 3</model>
        <mount>panasonicLX3</mount>
        <cropfactor>4.33</cropfactor>
        <!-- aspect ratio 16:9 -->
    </camera>

    <camera>
        <maker>Leica Camera AG</maker>
        <model>Leica Q (Typ 116)</model>
        <mount>leicaQTyp116</mount>
        <cropfactor>1</cropfactor>
    </camera>

    <lens>
        <maker>Leica</maker>
        <model>Digilux 2 &amp; compatibles (Standard)</model>
        <model lang="en">fixed lens</model>
        <model lang="de">festes Objektiv</model>
        <mount>leicaDigilux2</mount>
        <cropfactor>3.933</cropfactor>
        <aspect-ratio>4:3</aspect-ratio>
        <calibration>
            <distortion model="ptlens" focal="7" a="0" b="0.009873" c="-0.057763"/>
            <distortion model="ptlens" focal="7.6" a="0" b="0.003123" c="-0.039833"/>
            <distortion model="ptlens" focal="8.3" a="0" b="-0.003305" c="-0.03234"/>
            <distortion model="ptlens" focal="9.1" a="0" b="-0.006188" c="-0.01791"/>
            <distortion model="ptlens" focal="9.8" a="0" b="-0.01067" c="-0.008812"/>
            <distortion model="ptlens" focal="10.6" a="0" b="-0.007992" c="-0.009762"/>
            <distortion model="ptlens" focal="11.6" a="0" b="-0.009507" c="-0.002939"/>
            <distortion model="ptlens" focal="12.8" a="0" b="-0.00301" c="-0.00523"/>
            <distortion model="ptlens" focal="13.8" a="0" b="-0.002981" c="-0.008074"/>
            <distortion model="ptlens" focal="14.7" a="0" b="-0.010144" c="0.002157"/>
            <distortion model="ptlens" focal="16" a="0" b="-0.007409" c="0.003268"/>
            <distortion model="ptlens" focal="17.3" a="0" b="-0.010874" c="0.007128"/>
            <distortion model="ptlens" focal="19.1" a="0" b="-0.009048" c="0.005592"/>
            <distortion model="ptlens" focal="22.5" a="0" b="-0.003695" c="0.005038"/>
        </calibration>
    </lens>

    <lens>
        <maker>Leica Camera AG</maker>
        <maker lang="en">Leica</maker>
        <model>28.0mm f/1.7</model>
        <mount>leicaQTyp116</mount>
        <cropfactor>1</cropfactor>
        <calibration>
            <!-- results obtained using sample RAW from dpreview.com -->
            <distortion model="ptlens" focal="28" a="0.00098" b="-0.043" c="0.01683"/>
            <tca model="poly3" focal="28" br="-0.0000329" vr="1.0002023" bb="0.0000845" vb="0.9999781"/>
        </calibration>
    </lens>

</lensdatabase>
