Lens profile in db but says Uncalibrated Lens underneath

AfterShot Pro General Questions & Getting Started Forum
Dutchmm
Posts: 297
Joined: Sun Feb 05, 2012 8:55 am
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
motherboard: Asus 97
processor: Intel i7 4785T
ram: 16GB
Video Card: Onboard Intel
sound_card: Intel AC97
Hard_Drive_Capacity: 2.5TB
Monitor/Display Make & Model: Philips 28"
Corel programs: ASP 3 Pro (and 2 and 1 before)

Re: Lens profile in db but says Uncalibrated Lens underneath

Post by Dutchmm »

I do realise that there are two threads going on in this thread:

one group of us trying to find out how best to use ASP with our equipment;
and
one group determined to pick the nits

I should like to find somewhere an explanation of how we can navigate the LensProfiles files. As far as I can tell, BSG does not explain this. As many people have said in this, and the other thread, several lenses (not only the third party equipment vendors') seem to show up in different files. Can we - without breaking ASP . remove all the lenses that are irrelevant to our camera bags? Would this (this has generated some discussion in the French language forum) make any difference to the performance/hardware demands of ASP?

As for the second group, I can only wish them happy scratching!
afx
Posts: 1675
Joined: Thu Jan 12, 2012 1:38 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Video Card: FirePro 4900
Monitor/Display Make & Model: NEC PA301w, ColorMunki
Location: München
Contact:

Re: Lens profile in db but says Uncalibrated Lens underneath

Post by afx »

Dutchmm wrote:As many people have said in this, and the other thread, several lenses (not only the third party equipment vendors') seem to show up in different files.
It is actually quite consistent.
All lenses that AS can identify show up in the *lenstable.txt files.
For the cams where the lens has appropriate calibration data it shows up in the appropriate calibration files.
Can we - without breaking ASP . remove all the lenses that are irrelevant to our camera bags?
Yes, but you have to redo that every time you install an update, a bit of a PITA.
It is much easier to to apply presets as needed.
Would this (this has generated some discussion in the French language forum) make any difference to the performance/hardware demands of ASP?
Why should it? It is not like that the lookup happens for every image in every tile...

cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
marbly
Posts: 76
Joined: Thu Jan 26, 2012 10:45 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit

Re: Lens profile in db but says Uncalibrated Lens underneath

Post by marbly »

Have there been any ASP updates that fix these problems?
Dutchmm
Posts: 297
Joined: Sun Feb 05, 2012 8:55 am
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
motherboard: Asus 97
processor: Intel i7 4785T
ram: 16GB
Video Card: Onboard Intel
sound_card: Intel AC97
Hard_Drive_Capacity: 2.5TB
Monitor/Display Make & Model: Philips 28"
Corel programs: ASP 3 Pro (and 2 and 1 before)

Re: Lens profile in db but says Uncalibrated Lens underneath

Post by Dutchmm »

The lens profile tables - that contain the calibration data - seem not to have changed - they still show 30 March this year as their modification date.
buntu
Posts: 20
Joined: Tue Apr 03, 2012 5:19 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
motherboard: Asrock
processor: X270
ram: 8GB
Video Card: GF210
sound_card: SBx00 Azalia
Hard_Drive_Capacity: 5GB
Monitor/Display Make & Model: Viewsonic, HP

Re: Lens profile in db but says Uncalibrated Lens underneath

Post by buntu »

marbly wrote:afx, thank you for your reply. I have read the relevant section of the ASP manual and it implies what is in the list are calibrated lenses:

The Database tab is used when you want to correct your images based on camera and lens profiles built into Corel AfterShot Pro.

It seems totally pointless to have uncalibrated lenses in the db. I have used PTLens for years and it only shows the lenses that are calibrated. Lightroom is the same, it doesn't show a bunch of uncalibrated lenses.
I fully agree, why are there lenses in the database which are not calibrated, just to make people buy ASP because they think that a lens is calibrated and they don't have to fiddle around with an own calibration?

From ASP1

Code: Select all

grep "0.00 0.00 0.00" profile_genericSLR.txt | wc -l
427
This means there are 427 useless entries

With ASP3 the lens profile changed, can anyone give me assistance please? I have a profile from ASP1, but I am not sure how to transfer it to ASP3 correctly. Especially because I read somewhere, that there are tools for ASP 3 now.

eg

Origna from ASP1 (obviously no correction, but an entry):

Code: Select all

begin camera
group: sonyRX100
multiplier: 2.70
menu_make: Sony
menu_model: RX100
exif_make: SONY
exif_model: RX100
end

begin lens
group: sonyRX100
multiplier: 2.70
calibrated: false
menu_lens: Standard
cal_abc:  10.4   0.00  0.00  0.000000
cal_abc:  37.1   0.00  0.00  0.000000
end
changed with ASP1 to:

Code: Select all

begin camera
group: sonyRX100
multiplier: 2.70
menu_make: Sony
menu_model: RX100
exif_make: SONY
exif_model: RX100
end

begin lens
group: sonyRX100
multiplier: 2.70
menu_lens: standard
cal_abc: 10.4 0.00836 -0.05316 -0.02788
cal_abc: 12.8 0.00891 -0.06095 0.02196
cal_abc: 14.9 -0.00571 0.00909 -0.06449
cal_abc: 16.6 -0.00428 -0.01113 0.0042
cal_abc: 19.1 0.00523 -0.03743 0.03369
cal_abc: 20.4 -0.00312 -0.00368 -0.0036
cal_abc: 23.3 -0.00222 -0.00843 0.01379
cal_abc: 25 -0.00565 0.0037 0.00318
cal_abc: 26.9 -0.00245 -0.00859 0.01924
cal_abc: 28.8 -0.00842 0.0158 -0.01114
cal_abc: 33.2 -0.01065 0.02132 -0.01154
cal_abc: 37.1 0.00226 -0.02401 0.0397
end
With ASP3 I find in lens-cameras-db.xml:

Code: Select all

<Camera skip="false">
        <Maker>SONY</Maker>
        <Model>DSC-RX100</Model>
        <CropMultiplier>2.7</CropMultiplier>
        <Mount>sonyRX100</Mount>
</Camera>
and in lens-db.xml

Code: Select all

 <Lens raw="true" skip="false">
  <Model>Standard</Model>
  <Mount>sonyRX100</Mount>
  <FocalLength max="37.1" min="10.4"/>
  <Aperture>0</Aperture>
  <CropMultiplier>2.7</CropMultiplier>
  <Converter factor="1" detected="false"/>
  <CorrectionCoefficients>
   <RadialDistortion a="0" b="0" c="0" focal="10.4"/>
   <RadialDistortion a="0" b="0" c="0" focal="37.1"/>
  </CorrectionCoefficients>
 </Lens>
So how should it be correct for the Sony RX 100 in ASP3 ?

Could this be correct?

Code: Select all

 <Lens raw="true" skip="false">
  <Model>Standard</Model>
  <Mount>sonyRX100</Mount>
  <FocalLength max="37.1" min="10.4"/>
  <Aperture>0</Aperture>
  <CropMultiplier>2.7</CropMultiplier>
  <Converter factor="1" detected="false"/>
  <CorrectionCoefficients>
   <RadialDistortion a="0.00836" b="-0.05316" c="-0.02788" focal="10.4"/>
   <RadialDistortion a="0.00891" b="-0.06095" c="0.02196" focal="12.8"/>
   <RadialDistortion a="-0.00571" b="0.00909" c="-0.06449" focal="14.9"/>
   <RadialDistortion a="-0.00428" b="-0.01113" c="0.0042" focal="16.6"/>
   <RadialDistortion a="0.00523" b="-0.03743" c="0.03369" focal="19.1"/>
   <RadialDistortion a="-0.00312" b="-0.00368" c="-0.0036" focal="20.4"/>
   <RadialDistortion a="-0.00222" b="-0.00843" c="0.01379" focal="23.3"/>
   <RadialDistortion a="-0.00565" b="0.0037" c="0.00318" focal="25"/>
   <RadialDistortion a="-0.00245" b="-0.00859" c="0.01924" focal="26.9"/>
   <RadialDistortion a="-0.00842" b="0.0158" c="-0.01114" focal="28.8"/>
   <RadialDistortion a="-0.01065" b="0.02132" c="-0.01154" focal="33.2"/>
   <RadialDistortion a="0.00226" b="-0.02401" c="0.0397" focal="37.1"/>
  </CorrectionCoefficients>
 </Lens>
I use Aftershot with http://xubuntu.org/
Post Reply