Lens profile in db but says Uncalibrated Lens underneath

AfterShot Pro General Questions & Getting Started Forum
marbly
Posts: 76
Joined: Thu Jan 26, 2012 10:45 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit

Lens profile in db but says Uncalibrated Lens underneath

Post by marbly »

Many of my lenses and cameras are in the ASP db list shown in the Detail tab under Lens Correction, but when I select some of them it says Uncalibrated Lens underneath. For example, if I load a raw file from my Sony A700 shot with the Sony 18-250mm f3.5-6.3 they are both in the db, but it says Uncalibrated Lens underneath and the distortion is not corrected. The lens is shown in the list so what is the problem? If it isn't calibrated then why is it in the list?
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

Re: Lens profile in db but says Uncalibrated Lens underneath

Post by afx »

The list shows lenses that can be identified. That does not not necessarily mean there is calibration information.
Grab the latest Hugin, shoot some straight lines and calibrate it yourself.

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 »

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.
B Brennan
Posts: 2
Joined: Sun Jan 29, 2012 2:05 pm
operating_system: Mac
System_Drive: Z

Re: Lens profile in db but says Uncalibrated Lens underneath

Post by B Brennan »

.....afx, You said, "grab the latest Hugin, shoot some straight lines and calibrate it yourself"

I've some lenses I would like calibrating myself instead of waiting, maybe forever.

I am aware it can be done, I've been a Bibble user since 2006, but have never done it. Isn't there a procedure written on the old Bibble board somewhere that explains the procedudre?

Thanks,

Bob Brennan
Arlington, TX USA
Hobgoblin
Posts: 259
Joined: Fri Jan 13, 2012 3:00 am
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Location: UK

Re: Lens profile in db but says Uncalibrated Lens underneath

Post by Hobgoblin »

B Brennan wrote:.....afx, You said, "grab the latest Hugin, shoot some straight lines and calibrate it yourself"

I've some lenses I would like calibrating myself instead of waiting, maybe forever.

I am aware it can be done, I've been a Bibble user since 2006, but have never done it. Isn't there a procedure written on the old Bibble board somewhere that explains the procedudre?

Thanks,

Bob Brennan
Arlington, TX USA
Are you thinking of this? http://support.bibblelabs.com/forums/vi ... 067#p69067

The entry for your lens is in 'profile_konicaMinoltaSLR.txt
This is the relevant part of the file

Code: Select all

begin lens
group: minoltaSLR
multiplier: 1.0
aperture: 3.5
calibrated: false
menu_lens: Sony AF DT 18-250mm f/3.5-6.3
cal_abc:  18   0.00 0.00  0.000000
cal_abc:  250   0.00 0.00  0.000000
end
'
From which we can deduce, there is an entry for the Lens in the DB (as you know) and Bibble/Corel have yet to calibrate that Lens.



HTH,
R.
Last edited by Hobgoblin on Mon Jan 30, 2012 3:01 pm, edited 1 time in total.
PC(s): Linux Mint 18
Laptop:Linux Mint 18

Photo Software:
Darktable 2.0.4 http://www.darktable.org/
AfterShot 2 Pro

Cameras: Pentax: K-5 & Olympus TG-4
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

Re: Lens profile in db but says Uncalibrated Lens underneath

Post by afx »

B Brennan wrote:.....afx, You said, "grab the latest Hugin, shoot some straight lines and calibrate it yourself"
I am aware it can be done, I've been a Bibble user since 2006, but have never done it. Isn't there a procedure written on the old Bibble board somewhere that explains the procedudre?
Nope, not the one I am referring to.
Older procedures are referenced here: http://support.bibblelabs.com/forums/vi ... 7&start=15

But when you download the latest version of Hugin, there is an extra tool for lens calibration included. It only needs a few straight lines in the image and in contrast to all the other methods described, it can autodetect them...

Now the trick is to get images with usable straight lines across them. I don't have enough glass front buildings round my home to play ;-(

So my experiments failed so far. Bernd had excellent results by just setting up some straight wires on his lawn and shooting that...

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
B Brennan
Posts: 2
Joined: Sun Jan 29, 2012 2:05 pm
operating_system: Mac
System_Drive: Z

Re: Lens profile in db but says Uncalibrated Lens underneath

Post by B Brennan »

tnx afx, much appreciated

Another question re: lens_profiles ... MAC OS-X -- I find no lens profiles folder or file in either AfterShot Pro or Bibble 5 directories.

Am I looking in the right place? /usr/boBBrennan/library/application support/AfterShot Pro/ I see all the other folders & files but nothing pertaining to lens

When I do a FIND for 'lens' nothing is returned

boBBrennan
Arlington, TX USA
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 »

It is good that Bibble provides a way to add lens profiles that you make yourself. ASP is not Bibble though so it would be good, if this is the official way for ASP users to make and add lens profiles, that Corel document it and make it official with complete instructions.

While I could make my own profile for the lenses I currently have that doesn't help with the thousands of photos I have made with lenses which I no longer have. Almost all my lenses/digicams are shown in the ASP list so it is very deceiving when I discover that while most of them are in the list there is actually no profile for them. One is left to ponder what purpose is served by having a very impressive list of lenses that appear to have profiles when in fact many do not have profiles?
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 »

The following lens is in the profile_genericSLR.txt file:

begin lens
group: genericSLR
multiplier: 1.5
aperture: 3.5
menu_lens: Tamron AF 18-250mm f/3.5-6.3 Di II LD Aspherical (IF) Macro
cal_abc: 18 0.020360 -0.059050 0.000000
cal_abc: 20 0.020770 -0.052400 0.000000
cal_abc: 23 0.016230 -0.032540 0.000000
cal_abc: 29 0.012160 -0.015480 0.000000
cal_abc: 35 0.000000 0.037550 -0.065270
cal_abc: 47 0.000000 0.033220 -0.047510
cal_abc: 70 0.000000 0.017510 -0.014350
cal_abc: 100 0.000000 0.018700 -0.018810
cal_abc: 120 0.000000 0.018400 -0.019970
cal_abc: 155 0.000000 0.009580 -0.002450
cal_abc: 200 0.000000 0.001230 0.013960
cal_abc: 250 0.000000 -0.000110 0.008560
end

In ASP I select:

Sony
A700
Tamron AF 18-250mm f/3.5-6.3 Di II LD Aspherical (IF) Macro


ASP says that it is an uncalibrated lens. The A700 is a 1.5 crop factor DSLR. Just for grins I tried this:

Nikon SLR
D300
Tamron AF 18-250mm f/3.5-6.3 Di II LD Aspherical (IF) Macro


The Nikon D300 is also a 1.5 crop factor DSLR. This time it works.

Nikon SLR
D70
Tamron AF 18-250mm f/3.5-6.3 Di II LD Aspherical (IF) Macro


The Nikon D70 is also a 1.5 crop factor DSLR. This time it again says the lens is uncalibrated.

I suppose something is wrong or missing in these lens profile files. I have not found any documentation on these files on the Corel website so that I can maybe fix it myself -- which shouldn't be necessary, but I am trying to get past this problem. Any hints would be appreciated.
Hobgoblin
Posts: 259
Joined: Fri Jan 13, 2012 3:00 am
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Location: UK

Re: Lens profile in db but says Uncalibrated Lens underneath

Post by Hobgoblin »

marbly wrote:The following lens is in the profile_genericSLR.txt file:

begin lens
group: genericSLR
multiplier: 1.5
aperture: 3.5
menu_lens: Tamron AF 18-250mm f/3.5-6.3 Di II LD Aspherical (IF) Macro
cal_abc: 18 0.020360 -0.059050 0.000000
cal_abc: 20 0.020770 -0.052400 0.000000
cal_abc: 23 0.016230 -0.032540 0.000000
cal_abc: 29 0.012160 -0.015480 0.000000
cal_abc: 35 0.000000 0.037550 -0.065270
cal_abc: 47 0.000000 0.033220 -0.047510
cal_abc: 70 0.000000 0.017510 -0.014350
cal_abc: 100 0.000000 0.018700 -0.018810
cal_abc: 120 0.000000 0.018400 -0.019970
cal_abc: 155 0.000000 0.009580 -0.002450
cal_abc: 200 0.000000 0.001230 0.013960
cal_abc: 250 0.000000 -0.000110 0.008560
end

In ASP I select:

Sony
A700
Tamron AF 18-250mm f/3.5-6.3 Di II LD Aspherical (IF) Macro


ASP says that it is an uncalibrated lens. The A700 is a 1.5 crop factor DSLR. Just for grins I tried this:

Nikon SLR
D300
Tamron AF 18-250mm f/3.5-6.3 Di II LD Aspherical (IF) Macro


The Nikon D300 is also a 1.5 crop factor DSLR. This time it works.

Nikon SLR
D70
Tamron AF 18-250mm f/3.5-6.3 Di II LD Aspherical (IF) Macro


The Nikon D70 is also a 1.5 crop factor DSLR. This time it again says the lens is uncalibrated.

I suppose something is wrong or missing in these lens profile files. I have not found any documentation on these files on the Corel website so that I can maybe fix it myself -- which shouldn't be necessary, but I am trying to get past this problem. Any hints would be appreciated.
Try this ...

Insert

Code: Select all

calibrated: true
Before the line

Code: Select all

menu_lens: Tamron AF 18-250mm f/3.5-6.3 Di II LD Aspherical (IF) Macro
Save the file,open ASP and try again to read in the Lens data.

R.
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 »

Hobgoblin wrote: Try this ...

Insert

Code: Select all

calibrated: true
Before the line

Code: Select all

menu_lens: Tamron AF 18-250mm f/3.5-6.3 Di II LD Aspherical (IF) Macro
Save the file,open ASP and try again to read in the Lens data.
Thank you for your help!

Okay, to be clear it should look like the following after I edit the profile_genericSLR.txt file?

begin lens
group: genericSLR
multiplier: 1.5
aperture: 3.5
CODE: SELECT ALL
calibrated: true

menu_lens: Tamron AF 18-250mm f/3.5-6.3 Di II LD Aspherical (IF) Macro
cal_abc: 18 0.020360 -0.059050 0.000000
cal_abc: 20 0.020770 -0.052400 0.000000
cal_abc: 23 0.016230 -0.032540 0.000000
cal_abc: 29 0.012160 -0.015480 0.000000
cal_abc: 35 0.000000 0.037550 -0.065270
cal_abc: 47 0.000000 0.033220 -0.047510
cal_abc: 70 0.000000 0.017510 -0.014350
cal_abc: 100 0.000000 0.018700 -0.018810
cal_abc: 120 0.000000 0.018400 -0.019970
cal_abc: 155 0.000000 0.009580 -0.002450
cal_abc: 200 0.000000 0.001230 0.013960
cal_abc: 250 0.000000 -0.000110 0.008560
end
Hobgoblin
Posts: 259
Joined: Fri Jan 13, 2012 3:00 am
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Location: UK

Re: Lens profile in db but says Uncalibrated Lens underneath

Post by Hobgoblin »

marbly wrote:
Hobgoblin wrote: Try this ...

Insert

Code: Select all

calibrated: true
Before the line

Code: Select all

menu_lens: Tamron AF 18-250mm f/3.5-6.3 Di II LD Aspherical (IF) Macro
Save the file,open ASP and try again to read in the Lens data.
Thank you for your help!

Okay, to be clear it should look like the following after I edit the profile_genericSLR.txt file?

begin lens
group: genericSLR
multiplier: 1.5
aperture: 3.5
CODE: SELECT ALL
calibrated: true

menu_lens: Tamron AF 18-250mm f/3.5-6.3 Di II LD Aspherical (IF) Macro
cal_abc: 18 0.020360 -0.059050 0.000000
cal_abc: 20 0.020770 -0.052400 0.000000
cal_abc: 23 0.016230 -0.032540 0.000000
cal_abc: 29 0.012160 -0.015480 0.000000
cal_abc: 35 0.000000 0.037550 -0.065270
cal_abc: 47 0.000000 0.033220 -0.047510
cal_abc: 70 0.000000 0.017510 -0.014350
cal_abc: 100 0.000000 0.018700 -0.018810
cal_abc: 120 0.000000 0.018400 -0.019970
cal_abc: 155 0.000000 0.009580 -0.002450
cal_abc: 200 0.000000 0.001230 0.013960
cal_abc: 250 0.000000 -0.000110 0.008560
end
Hi Marbly.
Almost right. :wink:

But you don't need to copy in the code statement, only the text - calibrated: true

It should look like this:

begin lens
group: genericSLR
multiplier: 1.5
aperture: 3.5
calibrated: true
menu_lens: Tamron AF 18-250mm f/3.5-6.3 Di II LD Aspherical (IF) Macro
cal_abc: 18 0.020360 -0.059050 0.000000
cal_abc: 20 0.020770 -0.052400 0.000000
cal_abc: 23 0.016230 -0.032540 0.000000
cal_abc: 29 0.012160 -0.015480 0.000000
cal_abc: 35 0.000000 0.037550 -0.065270
cal_abc: 47 0.000000 0.033220 -0.047510
cal_abc: 70 0.000000 0.017510 -0.014350
cal_abc: 100 0.000000 0.018700 -0.018810
cal_abc: 120 0.000000 0.018400 -0.019970
cal_abc: 155 0.000000 0.009580 -0.002450
cal_abc: 200 0.000000 0.001230 0.013960
cal_abc: 250 0.000000 -0.000110 0.008560
end

That should do the trick.
Let me know how you get on ...

R.
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 »

Hobgoblin wrote: That should do the trick.
Let me know how you get on ...
I stopped ASP and I added the following single line in the proper place and saved the file:

calibrated: true

I restarted ASP and again selected:

Sony
A700
Tamron AF 18-250mm f/3.5-6.3 Di II LD Aspherical (IF) Macro


Unfortunately, ASP still reports that it is an uncalibrated lens.
Hobgoblin
Posts: 259
Joined: Fri Jan 13, 2012 3:00 am
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Location: UK

Re: Lens profile in db but says Uncalibrated Lens underneath

Post by Hobgoblin »

marbly wrote:
Hobgoblin wrote: That should do the trick.
Let me know how you get on ...
I stopped ASP and I added the following single line in the proper place and saved the file:

calibrated: true

I restarted ASP and again selected:

Sony
A700
Tamron AF 18-250mm f/3.5-6.3 Di II LD Aspherical (IF) Macro


Unfortunately, ASP still reports that it is an uncalibrated lens.
How annoying! :cry:

I'll have a play with this on my Win7 box and see if I can get it to work.
I have it working like this for my Pentax / Tamron combination.
R.
PC(s): Linux Mint 18
Laptop:Linux Mint 18

Photo Software:
Darktable 2.0.4 http://www.darktable.org/
AfterShot 2 Pro

Cameras: Pentax: K-5 & Olympus TG-4
Hobgoblin
Posts: 259
Joined: Fri Jan 13, 2012 3:00 am
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Location: UK

Re: Lens profile in db but says Uncalibrated Lens underneath

Post by Hobgoblin »

Hobgoblin wrote: How annoying! :cry:

I'll have a play with this on my Win7 box and see if I can get it to work.
I have it working like this for my Pentax / Tamron combination.
R.
Hi
I have it working with following entry replacing the existing in profile_genericSLR.txt.
Do make a backup copy of your file before editing it.


begin lens
group: genericSLR
multiplier: 1.5
aperture: 3.5
calibrate: true
menu_lens: Tamron AF 18-200mm f/3.5-6.3 XR Di II LD Aspherical (IF) Macro
cal_abc: 18 0.013640 -0.042157 0.000000
cal_abc: 28 0.010678 -0.016742 0.000000
cal_abc: 35 0.009558 -0.008863 0.000000
cal_abc: 50 0.000000 0.011197 0.000000
cal_abc: 72 0.000000 0.010552 0.000000
cal_abc: 102 0.000000 0.007166 0.000000
cal_abc: 135 0.000000 0.007026 0.000000
cal_abc: 150 0.000000 0.006778 0.000000
cal_abc: 200 0.000000 0.006016 0.000000
end


I was confused by the large number of listed Tamron lenses for a Sony A700 combination and only realised belatedly that there were two groups of listings for Tamron in the drop-down list. Yours is towards the bottom of the list.

R.