[BUG] ASP 3.0 Lens correction db is buggy - and workaround

Bugs & Suggestions
Post Reply
_andreas_
Posts: 12
Joined: Sat Jan 28, 2012 4:21 am
operating_system: Mac
System_Drive: N/A
32bit or 64bit: 64 Bit
motherboard: MacBook Pro Retina 13inch - Late 2012
processor: i5 2.5 Ghz
ram: 8GB
Hard_Drive_Capacity: 128 GB
Location: Munich/Germany

[BUG] ASP 3.0 Lens correction db is buggy - and workaround

Post by _andreas_ »

Today I bought the ASP 3.0 update. I am not sure to be happy about :wink:
I found some stupid typos in the lens profile, which costs me tree hours of my life to find out and fix.
May be Corel has no quality inspection...

Lens correction for the Sony RX100M4, as I mention here, does not work any longer.
lens-cameras-db.xml and lens-db.xml are now xml-files instead of txt-files in ASP 2.0.

lens-cameras-db.xml maps the Sony RX100M2, RX100M3 and RX100M4 to the -wrong!- Sony R1 Lens profile!
lens-db.xml contains only one profile for the RX100 and no profiles für RX100M2, RX100M3 and RX100M4.

Workaround:

add a RX100M4 Profile in lens-db.xml

Code: Select all

<Lens raw="true" skip="false">
  <Model>Standard</Model>
  <Mount>sonyRX100m4</Mount>
  <FocalLength max="25.7" min="8.8"/>
  <Aperture>0</Aperture>
  <CropMultiplier>2.7</CropMultiplier>
  <Converter factor="1" detected="false"/>
  <CorrectionCoefficients>
   <RadialDistortion focal="8.8"  a="0.02266" b="-0.09581" c="0.00190"/>
   <RadialDistortion focal="10.9" a="0.02376" b="-0.09457" c="0.03217"/>
   <RadialDistortion focal="13.0" a="0.02326" b="-0.08674" c="0.04569"/>
   <RadialDistortion focal="14.7" a="0.02340" b="-0.08395" c="0.04970"/>
   <RadialDistortion focal="16.6" a="0.02045" b="-0.06253" c="0.02684"/>
   <RadialDistortion focal="20.0" a="0.02295" b="-0.06814" c="0.05127"/>
   <RadialDistortion focal="25.7" a="0.02377" b="-0.06078" c="0.04156"/>
 </CorrectionCoefficients>
 </Lens>
Map this profile in lens-cameras-db.xml to RX100M4:

Code: Select all

<Camera skip="false">
        <Maker>SONY</Maker>
        <Model>DSC-RX100M4</Model>
        <CropMultiplier>2.7</CropMultiplier>
        <Mount>sonyRX100m4</Mount>
    </Camera>
Works properly for my RX100M4.

Be careful while editing these files, one typo in these XML-Files will fail ASP to start! (I tried it! ;) )
Backup both original files before editing!

Andreas
Post Reply