Can someone explain how to incorporate lens calibration data into ASP?
I'm using Windows 7 and have found my way to the "lens profiles" in ASP, but I'm unsure how to add the calibration data. I have a Pentax camera and would like to add the calibration data for lenses like the the DA 35mm f/2.4 lens that was posted by AlterEgo elsewhere on the forum.
Do I just simply copy the calibration data that was posted by AlterEgo and paste it into "profile_ pentaxSLR"? If not there, where? Can I just paste it at the end of the data already there or do I need to fit it in somewhere else?
Any help would be appreciated.
And, thanks to AlterEgo for working up the Pentax lens data for the DA 35mm, but also the Pentax 18-55 and 55-300 lenses.
How Do I Insert Lens Profile Data Into ASP?
-
- Posts: 9
- Joined: Wed Aug 08, 2012 2:41 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
-
- Posts: 9
- Joined: Wed Aug 08, 2012 2:41 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
Re: How Do I Insert Lens Profile Data Into ASP?
I'm still hoping that someone will provide instructions on how to update ASP with Pentax lens calibration data. In the meantime, I've tried to simply replace what was there by cutting and pasting the calibration data provided here on the forum into the ASP lens profiles, but the computer wouldn't allow me to save the updates.
-
- Posts: 8
- Joined: Mon Jan 30, 2012 11:21 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
Re: How Do I Insert Lens Profile Data Into ASP?
the lens calibration data go into the file "profile_pentaxSLR.txt". You can arrange the order of the lenses as you like. In my lens profile I also deleted the lenses that I do not own. I edited the file with WordPad which comes with Windows 7 as far as I know. Just as a reference, here is my file. I also put some lenses in there that I haven't calibrated yet, so that I have the lens information available in ASP.
Thomas
Thomas
Code: Select all
# Pentax SLRs with 1.5 multiplier
begin lens
group: pentaxSLR
multiplier: 1.5
aperture: 3.2
menu_lens: smc PENTAX-DA 21mm f/3.2 AL Limited
cal_abc: 21 0.007030 -0.022460 0.000000
end
begin lens
group: pentaxSLR
multiplier: 1.5
aperture: 2.8
calibrated: true
menu_lens: smc PENTAX-DA 40mm f/2.8 Limited
cal_abc: 40 0.000000 -0.004245 0.000000
end
begin lens
group: pentaxSLR
multiplier: 1.5
aperture: 1.8
calibrated: true
menu_lens: smc PENTAX-FA 77mm f/1.8 Limited
cal_abc: 77 0.000000 0.000003 0.000000
end
begin lens
group: pentaxSLR
multiplier: 1.5
aperture: 4
calibrated: true
menu_lens: smc PENTAX-FA J 18-35mm f/4-5.6 AL
cal_abc: 18 0.000000 -0.013906 0.000000
cal_abc: 24 0.000000 -0.008767 0.000000
cal_abc: 29 0.000000 -0.007702 0.000000
cal_abc: 35 0.000000 -0.006919 0.000000
end
begin lens
group: pentaxSLR
multiplier: 1.5
aperture: 1.7
calibrated: true
menu_lens: smc PENTAX-A 50mm f/1.7
cal_abc: 50 0.008218 -0.033149 0.035685
end
begin lens
group: pentaxSLR
multiplier: 1.5
aperture: 2.8
calibrated: true
menu_lens: smc PENTAX-A MACRO 50mm f/2.8
cal_abc: 50 0.003831 -0.012876 0.011007
end
begin lens
group: pentaxSLR
multiplier: 1.5
aperture: 2.8
calibrated: true
menu_lens: smc PENTAX-A MACRO 50mm f/2.8 + 1.7x Konverter
cal_abc: 85 -0.000451 0.001565 -0.003121
end
begin lens
group: pentaxSLR
multiplier: 1.5
aperture: 2.8
calibrated: false
menu_lens: smc PENTAX-A* 300mm f/2.8 ED[IF]
cal_abc: 300 0.00 0.00 0.00
end
begin lens
group: pentaxSLR
multiplier: 1.5
aperture: 5.6
calibrated: false
menu_lens: smc PENTAX-A* 300mm f/2.8 ED[IF] + 2x Konverter
cal_abc: 600 0.00 0.00 0.00
end
begin lens
group: pentaxSLR
multiplier: 1.5
aperture: 2.8
calibrated: true
menu_lens: smc PENTAX-K 24mm f/2.8
cal_abc: 24 0.023593 -0.090937 0.089866
end
begin lens
group: pentaxSLR
multiplier: 1.5
aperture: 3.5
calibrated: true
menu_lens: smc PENTAX-K 28mm f/3.5
cal_abc: 28 -0.002045 0.010838 -0.029761
end
begin lens
group: pentaxSLR
multiplier: 1.5
aperture: 2.8
calibrated: false
menu_lens: smc PENTAX-M 100mm f/2.8
cal_abc: 100 0.00 0.00 0.00
end
begin lens
group: pentaxSLR
multiplier: 1.5
aperture: 2.8
calibrated: false
menu_lens: smc PENTAX-M 135mm f/3.5
cal_abc: 135 0.00 0.00 0.00
end
begin lens
group: pentaxSLR
multiplier: 1.5
aperture: 4
calibrated: false
menu_lens: smc PENTAX-M 200mm f/4
cal_abc: 200 0.00 0.00 0.00
end
begin camera
group: pentaxSLR
group: genericSLR
multiplier: 1.5
menu_make: Pentax SLR
menu_model: K10D
exif_make: PENTAX Corporation
exif_model: PENTAX K10D
end
begin camera
group: pentaxSLR
group: genericSLR
multiplier: 1.5
menu_make: Pentax SLR
menu_model: K110D
exif_make: PENTAX Corporation
exif_model: PENTAX K110D
end
begin camera
group: pentaxSLR
group: genericSLR
multiplier: 1.5
menu_make: Pentax SLR
menu_model: K20D
exif_make: PENTAX Corporation
exif_model: PENTAX K20D
end
begin camera
group: pentaxSLR
group: genericSLR
multiplier: 1.5
menu_make: Pentax SLR
menu_model: K7
exif_make: PENTAX Corporation
exif_model: PENTAX K7
end
begin camera
group: pentaxSLR
group: genericSLR
multiplier: 1.5
menu_make: Pentax SLR
menu_model: K-5
exif_make: PENTAX
exif_model: PENTAX K-5
end
begin camera
group: pentaxSLR
group: genericSLR
multiplier: 1.5
menu_make: Pentax SLR
menu_model: K-01
exif_make: PENTAX
exif_model: PENTAX K-01
end
begin camera
group: pentaxSLR
group: genericSLR
multiplier: 1.5
menu_make: Pentax SLR
menu_model: Km
exif_make: PENTAX
exif_model: PENTAX K-m
end
begin camera
group: pentaxSLR
group: genericSLR
multiplier: 1.5
menu_make: Pentax SLR
menu_model: Kr
exif_make: PENTAX
exif_model: PENTAX K-r
end
begin camera
group: pentaxSLR
group: genericSLR
multiplier: 1.5
menu_make: Pentax SLR
menu_model: K200D
exif_make: PENTAX Corporation
exif_model: PENTAX K200D
end
begin camera
group: pentaxSLR
group: genericSLR
multiplier: 1.5
menu_make: Pentax SLR
menu_model: K2000
exif_make: PENTAX
exif_model: PENTAX K2000
end
begin camera
group: pentaxSLR
group: genericSLR
multiplier: 1.5
menu_make: Pentax SLR
menu_model: Kx
exif_make: PENTAX
exif_model: PENTAX K-x
end
begin camera
group: pentaxSLR
group: genericSLR
multiplier: 1.5
menu_make: Pentax SLR
menu_model: K100D
exif_make: PENTAX Corporation
exif_model: PENTAX K100D
end
begin camera
group: pentaxSLR
group: genericSLR
multiplier: 1.5
menu_make: Pentax SLR
menu_model: *ist DL
exif_make: PENTAX Corporation
exif_model: PENTAX *ist DL
end
begin camera
group: pentaxSLR
group: genericSLR
multiplier: 1.5
menu_make: Pentax SLR
menu_model: *ist DL2
exif_make: PENTAX Corporation
exif_model: PENTAX *ist DL2
end
begin camera
group: pentaxSLR
group: genericSLR
multiplier: 1.5
menu_make: Pentax SLR
menu_model: *ist DS
exif_make: PENTAX Corporation
exif_model: PENTAX *ist DS
end
begin camera
group: pentaxSLR
group: genericSLR
multiplier: 1.5
menu_make: Pentax SLR
menu_model: *ist DS2
exif_make: PENTAX Corporation
exif_model: PENTAX *ist DS2
end
begin camera
group: pentaxSLR
group: genericSLR
multiplier: 1.5
menu_make: Pentax SLR
menu_model: *ist D
exif_make: PENTAX Corporation
exif_model: PENTAX *ist D
end
begin camera
group: pentaxSLR
group: genericSLR
multiplier: 1.0
menu_make: Pentax SLR
menu_model: 35mm film: full frame
exif_make: none
exif_model: none
end
-
- Posts: 8
- Joined: Mon Jan 30, 2012 11:21 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
Re: How Do I Insert Lens Profile Data Into ASP?
I think Windows won't allow you to edit and save this file because it is in a system folder, so I copied the file to the desktop, edited and saved it there and then copied it back to its original folder. That worked.Art wrote:...the computer wouldn't allow me to save the updates.
Thomas
-
- Posts: 9
- Joined: Wed Aug 08, 2012 2:41 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
Re: How Do I Insert Lens Profile Data Into ASP?
Thomas, thanks much for your help. Was able to copy the folder to the desk top, add the relevant calibration data, save it, then delete the original folder, replacing it by pasting in the updated folder. 

-
- Posts: 269
- Joined: Mon Aug 08, 2011 4:13 pm
- System_Drive: N/A
- 32bit or 64bit: 64 Bit
- processor: 3.0 GHz Intel Core i7
- ram: 16 GB
- Video Card: Intel Iris
- Hard_Drive_Capacity: 256 GB SSD
- Monitor/Display Make & Model: 24" Dell Ultrasharp Monitor
- Corel programs: PaintShop Pro, AfterShot Pro
- Location: Mesa, AZ USA
Re: How Do I Insert Lens Profile Data Into ASP?
[quote="th_schroeder"]the lens calibration data go into the file "profile_pentaxSLR.txt". You can arrange the order of the lenses as you like. In my lens profile I also deleted the lenses that I do not own. I edited the file with WordPad which comes with Windows 7 as far as I know. Just as a reference, here is my file. I also put some lenses in there that I haven't calibrated yet, so that I have the lens information available in ASP.
Thomas
I was pointed to your post by someone at the dpreview forum when I posted a similar question about some Canon lenses. In my case ASP was mis-identifying my lenses and I thought that your post would help me fix the problem. ASP is mis-identifying me Canon 70-300 DO as a regular Canon 70-300. However when I edited the profile_canonSLR.txt file to remove the 70-300 lenses (except for the DO) ASP seemed to ignore the missing entries and instead again incorrectly identified the lenses, but this time said there was no calibration data. Hence my questions:
1) Is there any other file that needs to be edited to remove the file names from the database? and
2) Is there any place to get calibration data to insert into entries that exist but have no current data (all entries are 0). I have a Tamron 17-35 and its entries are all 0 which implies to me that there is no calibration data.
And, as an aside to those who are editing these files, Windows has marked the Program Files (x86) as vendor data and protects the files (hence your inability to directly edit the files themselves). However if you right-click on the WordPad icon and select Run as administrator you will be able to directly edit the files without having to save it in one place and then copy it back.
I would appreciate any information you can provide that might help me. Thank you.
UPDATE:
I have been able to figure out what files need to be adjusted to fix the issue with lens mis-identification, but still would like to know where I can get some calibration information for some of the lenses that have no actual data (all data is 0).
Thomas
I was pointed to your post by someone at the dpreview forum when I posted a similar question about some Canon lenses. In my case ASP was mis-identifying my lenses and I thought that your post would help me fix the problem. ASP is mis-identifying me Canon 70-300 DO as a regular Canon 70-300. However when I edited the profile_canonSLR.txt file to remove the 70-300 lenses (except for the DO) ASP seemed to ignore the missing entries and instead again incorrectly identified the lenses, but this time said there was no calibration data. Hence my questions:
1) Is there any other file that needs to be edited to remove the file names from the database? and
2) Is there any place to get calibration data to insert into entries that exist but have no current data (all entries are 0). I have a Tamron 17-35 and its entries are all 0 which implies to me that there is no calibration data.
And, as an aside to those who are editing these files, Windows has marked the Program Files (x86) as vendor data and protects the files (hence your inability to directly edit the files themselves). However if you right-click on the WordPad icon and select Run as administrator you will be able to directly edit the files without having to save it in one place and then copy it back.
I would appreciate any information you can provide that might help me. Thank you.
UPDATE:
I have been able to figure out what files need to be adjusted to fix the issue with lens mis-identification, but still would like to know where I can get some calibration information for some of the lenses that have no actual data (all data is 0).
-
- Posts: 1675
- Joined: Thu Jan 12, 2012 1:38 pm
- System_Drive: N/A
- 32bit or 64bit: 64 Bit
- Video Card: FirePro 4900
- Monitor/Display Make & Model: NEC PA301w, ColorMunki
- Location: München
Re: How Do I Insert Lens Profile Data Into ASP?
FotoLars posted a very easy method here:MikeFromMesa wrote:I have been able to figure out what files need to be adjusted to fix the issue with lens mis-identification, but still would like to know where I can get some calibration information for some of the lenses that have no actual data (all data is 0).
http://forum.corel.com/EN/viewtopic.php?f=95&t=45815
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
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images