Welcome to our Community
Wanting to join the rest of our members? Feel free to sign up today.
Sign up

ANAFI Lens Correction Profile for Affinity Photo

s.rami

New member
Joined
Dec 10, 2019
Messages
2
Reaction score
1
Hi all,

I recently got the Affinity Photo app on my Mac and noticed that it is missing a lens correction profile (LCP) for the Parrot ANAFI.
Does anyone know where I could get the LCP as XML? It is not included in the open source GitHub package 'lensfun' and I haven't received an answer from Parrot yet.

Any advice is welcome!

Thanks =)
 
  • Like
Reactions: kabonski

s.rami

New member
Joined
Dec 10, 2019
Messages
2
Reaction score
1
Unfortunately I don't think so. This is what the xml files look like:

---


Code:
<!DOCTYPE lensdatabase SYSTEM "lensfun-database.dtd">
<!--
    The meaning of this file is to provide some generic lenses that can be used
    to correct or simulate geometric distortions for specific types of lenses.
    It does not provide (obviously) any calibration data.
-->
<lensdatabase version="2">

    <mount>
        <name>Generic</name>
        <!-- The following is a list of all mounts in the Lensfun database for
             interchangeable lenses. -->
        <compat>4/3 System</compat>
        <compat>Canon EF</compat>
        <compat>Canon EF-M</compat>
        <compat>Canon EF-S</compat>
        <compat>Canon FD</compat>
        <compat>Canon FL</compat>
        <compat>Contax/Yashica</compat>
        <compat>Contax G</compat>
        <compat>Fujifilm X</compat>
        <compat>Hasselblad 500</compat>
        <compat>Hasselblad H</compat>
        <compat>Leica M</compat>
        <compat>Leica R</compat>
        <compat>Leica S</compat>
        <compat>M42</compat>
        <compat>M39/1</compat>
        <compat>DKL</compat>
        <compat>Mamiya 645</compat>
        <compat>Micro 4/3 System</compat>
        <compat>Minolta AF</compat>
        <compat>Minolta MC</compat>
        <compat>Minolta MD</compat>
        <compat>Nikon CX</compat>
        <compat>Nikon F</compat>
        <compat>Nikon F AF</compat>
        <compat>Nikon F AI</compat>
        <compat>Nikon F AI-S</compat>
        <compat>Nikon Z</compat>
        <compat>Olympus OM</compat>
        <compat>Pentax Q</compat>
        <compat>Pentax K</compat>
        <compat>Pentax KA</compat>
        <compat>Pentax KAF</compat>
        <compat>Pentax KAF2</compat>
        <compat>Pentax KAF3</compat>
        <compat>Pentax KAF4</compat>
        <compat>Rollei 6x6</compat>
        <compat>Samsung NX</compat>
        <compat>Samsung NX mini</compat>
        <compat>Sigma SA</compat>
        <compat>Sony Alpha</compat>
        <compat>Sony E</compat>
        <compat>Tamron Adaptall</compat>
        <compat>T2</compat>
        <compat>C</compat>
        <compat>Kiev 88</compat>
    </mount>

    <camera>
        <maker>Generic</maker>
        <maker lang="de">Generisch</maker>
        <model>Crop-factor 1.0 (Full Frame)</model>
        <model lang="de">Crop-Faktor 1.0 (Kleinbildformat)</model>
        <mount>Generic</mount>
        <cropfactor>1</cropfactor>
    </camera>

    <camera>
        <maker>Generic</maker>
        <maker lang="de">Generisch</maker>
        <model>Crop-factor 1.1</model>
        <model lang="de">Crop-Faktor 1.1</model>
        <mount>Generic</mount>
        <cropfactor>1.1</cropfactor>
    </camera>

    <camera>
        <maker>Generic</maker>
        <maker lang="de">Generisch</maker>
        <model>Crop-factor 1.3 (APS-H)</model>
        <model lang="de">Crop-Faktor 1.3 (APS-H)</model>
        <mount>Generic</mount>
        <cropfactor>1.267</cropfactor>
    </camera>

    <camera>
        <maker>Generic</maker>
        <maker lang="de">Generisch</maker>
        <model>Crop-factor 1.5 (APS-C)</model>
        <model lang="de">Crop-Faktor 1.5 (APS-C)</model>
        <mount>Generic</mount>
        <cropfactor>1.53</cropfactor>
    </camera>

    <camera>
        <maker>Generic</maker>
        <maker lang="de">Generisch</maker>
        <model>Crop-factor 1.6 (APS-C)</model>
        <model lang="de">Crop-Faktor 1.6 (Canon APS-C)</model>
        <mount>Generic</mount>
        <cropfactor>1.611</cropfactor>
    </camera>

    <camera>
        <maker>Generic</maker>
        <maker lang="de">Generisch</maker>
        <model>Crop-factor 1.7</model>
        <model lang="de">Crop-Faktor 1.7 (Sigma)</model>
        <mount>Generic</mount>
        <cropfactor>1.739</cropfactor>
    </camera>

    <camera>
        <maker>Generic</maker>
        <maker lang="de">Generisch</maker>
        <model>Crop-factor 2.0 (Four-Thirds)</model>
        <model lang="de">Crop-Faktor 2.0 (Four-Thirds)</model>
        <mount>Generic</mount>
        <cropfactor>2</cropfactor>
    </camera>

    <lens>
        <maker>Generic</maker>
        <maker lang="de">Generisch</maker>
        <model>Rectilinear 10-1000mm f/1.0</model>
        <model lang="de">Rektilinear 10-1000mm f/1.0</model>
        <mount>Generic</mount>
        <type>rectilinear</type>
        <cropfactor>1</cropfactor>
    </lens>

    <lens>
        <maker>Generic</maker>
        <maker lang="de">Generisch</maker>
        <model>Fisheye 8-20mm f/1.0</model>
        <model lang="de">Fischauge 8-20mm f/1.0</model>
        <mount>Generic</mount>
        <type>fisheye</type>
        <cropfactor>1</cropfactor>
    </lens>

    <lens>
        <maker>Generic</maker>
        <maker lang="de">Generisch</maker>
        <model>Panoramic 10-100mm f/1.0</model>
        <model lang="de">Panoramaobjektiv 10-100mm f/1.0</model>
        <mount>Generic</mount>
        <type>panoramic</type>
        <cropfactor>1</cropfactor>
    </lens>

</lensdatabase>
 

Agustine

Well-known member
Joined
Jun 30, 2018
Messages
3,756
Reaction score
2,250
Location
Ontario Canada
Well tonight I tried to search for a solution for you. From what I have been reading its not a easy fix to get the LCP added to Githup so it shows up as a XML in the next update.
Not sure if you have already read through this post that I had found but it might give you some direction.

 
  • Like
Reactions: s.rami

aft3rmath

Member
Joined
Jul 18, 2018
Messages
13
Reaction score
6
Really late to this response and cant remember where I got it but this works for Affinity Photo

XML:
<lensdatabase version = "1">
    <camera>
        <maker>Parrot</maker>
        <model>Anafi</model>
        <mount>Anafi</mount>
        <cropfactor>5.75</cropfactor>
    </camera>
    <lens>
        <maker>Parrot</maker>
        <model>Anafi</model>
        <mount>Anafi</mount>
        <model lang = "en">fixed lens</model>
        <model lang = "de">fixed lens</model>
        <cropfactor>5.75</cropfactor>
        <aspect-ratio>4: 3</aspect-ratio>
        <calibration>
            <distortion model = "ptlens" focal = "4" a = "0.0197" b = "-0.13669" c = "0.03512" />
        </calibration>
    </lens>
</lensdatabase>
 

Latest threads

Members online

Forum statistics

Threads
4,404
Messages
39,890
Members
6,025
Latest member
Mposco