Have a cuppa

Jovial graffiti in Reykjavik, Iceland.

Aperture ƒ/5.6
Camera Canon EOS 40D
Focal length 59mm
ISO 400
Shutter speed 1/500s

Adventures adding a new lens to Aftershot Pro

Bibble 5 and Aftershot Pro have a useful lens correction function that will fix the distortion created by a camera lens when a photo is taken. You won’t even recognise the distortion unless you’re looking for it but quite often it can look like straight lines are slightly bent or bulging.

The animated gif above shows you what that distortion looks like in my favourite zoom lens, the Sigma 18-200mm DC. The middle of the image is clearly bulging out. The bottom of the sign isn’t straight but after correction it’s much better.

Unfortunately not every lens is supported. In the lens correction widget of Aftershot Pro you’ll see an “Uncalibrated Lens” message if your lens isn’t there.

Bibble 4 supported this lens and I only realised today that a bug in Bibble 5 and Aftershot identified the lens incorrectly and led me on a merry dance across the Internet. Bibble 5 and Aftershot Pro think my lens is the “Sigma 18-200mm DC OS” but my lens doesn’t have an Optical Stabilizer! Bibble 4 probably detected the lens correctly.

Unfortunately for me there’s no mention of “Sigma 18-200mm DC” in the “Canon Lens Table” or profile_canonlenstable.txt. Only the OS lens is mentioned and I presume the non OS lens was removed in Bibble 5 by error. Once I added an entry for my lens and added settings for the OS lens everything worked ok again.

Anyway, thanks to this ASP forum post and this Bibble forum post I was able to add my lens to Aftershot Pro. The nice thing about the lens database is that it is composed of text files that are easy to edit. I found a basic uncalibrated entry for the non OS lens. Unfortunately I didn’t search further or I’d have found the “Sigma 18-200mm DC” settings I wanted and saved myself some time! I created a new file called profile_mylenses.txt and added that filename to profile.txt.

First of all, I had to find the lens correction parameters that would fix things. The Bibble 5 post above links to sites that will help you figure out the correct a, b and c coefficients but thankfully I didn’t have far to look to find working figures.

I checked out PTLens first. It’s a programme that corrects lots of different lens distortions and it’s reasonably priced at US$25 per license. The author has shrewdly kept his lens distortion database in a secret format so I had to continue looking.

I then found LensFun, an open source tool to do much the same thing but using an older version of the PTLens database. The source is available so I went digging and found this interesting file! All the info I needed in one XML file!

All that remained to do was edit profile_mylenses.txt. In Windows and Linux the file can be placed in the following locations respectively. Mac OS X is probably in “Application Support” or somewhere obvious like that. In Windows you’ll want to use WordPad as the other profile files don’t have Windows line endings. You’ll also have to open it as an administrator to edit it.

C:\Program Files (x86)\Corel\Corel AfterShot Pro\supportfiles\Profiles\LensProfiles\

After some editing and experimenting I found that these settings worked well:

begin lens
group: genericSLR
multiplier: 1.6
aperture: 3.5
menu_lens: Sigma 18-200mm f/3.5-6.3 DC OS
cal_abc: 18 0.018238 -0.045992 0.000000
cal_abc: 21 0.013683 -0.026594 0.000000
cal_abc: 24 0.007113 -0.008911 0.000000
cal_abc: 33 0.000000 0.010791 0.000000
cal_abc: 59 0.000000 0.012006 0.000000
cal_abc: 88 0.000000 0.010958 0.000000
cal_abc: 144 0.000000 0.008752 0.000000
cal_abc: 200 0.000000 0.007390 0.000000

I had to restart Aftershot Pro to test new settings each time.

If editing files like that puts you off you can create a preset to apply the lens correction. Click on the Manual tab in the Lens Correction widget where you can enter the a, b and c coefficients. Now go to the Presets widget and follow the instructions in my HOWTO: Add a copyright notice in Aftershot Pro tutorial except you’ll want the Lens Correction function to be active.

I suspect that these changes will be overwritten whenever I upgrade Aftershot Pro but maybe Corel will notice this little post of mine and they’ll fix the detection, or duplicate the settings in the next version..

While writing this post I found entries for the “Sigma 18-200mm f/3.5-6.3 DC” lens in profile_genericSLR.txt. Because the programme misidentified my lens it never used those settings. The 1.5 multiplier settings have the same settings as above, the 1.6 multiplier one is slightly different but there’s not much difference when applied to my test image.
Let that be a lesson to you if you’re trying to get this work. Look harder for an existing profile and make sure your lens is identified correctly! Argh!

Bump Ahead

A sign warns of bumps ahead in the road. Pretty large bumps in the distance too.

Aperture ƒ/5.6
Camera Canon EOS 40D
Focal length 125mm
ISO 400
Shutter speed 1/5000s

Sólfar, The Sun Voyager

This is a metal statue in Reykjavík of what looks like a Viking longboat but according to the Wikipedia page is in fact a “dreamboat”.

It is a common misunderstanding that Sun Voyager is a Viking ship. It is quite understandable that many tourists think like this when travelling in Iceland, the land of the sagas. Nonetheless, it should be stressed that this was not the original intention.

Jón Gunnar was himself very ill with leukaemia at the time that the full-scale Sun Voyager came to be constructed, and he died in April 1989, a year before it was placed in its present location. Some people have thus suggested that Jón Gunnar conceived the work during this period, at a time when he might have been preoccupied with death, and argued that Sun Voyager should be seen as a vessel that transports souls to the realm of death. While this is a nice idea and might be imagined to have some validity, it actually has little truth (at least from the point of view of the artist). As noted above, Sun Voyager was essentially envisaged as being a dreamboat, an ode to the sun symbolizing light and hope.

Aperture ƒ/5.6
Camera Canon EOS 40D
Focal length 18mm
ISO 400
Shutter speed 1/2500s

Aftershot Pro B&W Workflow

Martin, over at Photoakademie.eu created a workflow video showing how a photo was processed and eventually turned into a black and white image using Aftershot Pro.

Coming from a GIMP background I used layers and layer masks but never used adjustment layers to keep changes separate. Quite an eye opener for me!

Plus another demonstration of Aftershot Pro and a Google Plus account dedicated to sharing presets.

You can download a 30 day trial of Aftershot Pro here (I should be on commission for this..)

Aperture ƒ/9
Camera Canon EOS 40D
Focal length 18mm
ISO 100
Shutter speed 1/200s

Is that an axe?

A statue of Leif Ericsson stands in front of the Church of Hallgrimur, Reykjavik, Iceland.

Aperture ƒ/5.6
Camera Canon EOS 40D
Focal length 18mm
ISO 100
Shutter speed 1/1000s

Symbols of the World

The Star of David, Dollar signs, the Masonic eye, Christian Cross and a symbol I (and Google Goggles) don’t recognise. All on a sticker in the Church of Hallgrimur, Reykjavik, Iceland. In the church tower there’s a door leading from the observation area into the warmth inside. This sticker is over that door.
Stranger yet are the pawns on the half-circle of the world, with a cross and four dots.

It’s either some kids having fun trolling the local Church, or an elaborate conspiracy. Tin foil hat time!

Aperture ƒ/5.6
Camera Canon EOS 40D
Focal length 33mm
ISO 100
Shutter speed 1/15s

Derelict Reykjavik Highrises

What I’ve seen of Reykjavik so far has been really nice. Buildings are colourful, the streets are for the most part well maintained and the city centre has cobbled streets so it’s pleasant to walk around.

While on our photowalk today we passed these buildings on the sea front. I thought they were just another apartment building until I noticed that the balconies were fenced in by planks of wood held together loosely!

Aperture ƒ/10
Camera Canon EOS 40D
Focal length 18mm
ISO 400
Shutter speed 1/250s

HOWTO: Add a copyright notice in Aftershot Pro

This is a tutorial that will explain how to add a copyright notice to your photos in Aftershot Pro. It can even be done automatically when you export the image as a Jpeg for publishing online. In this tutorial you’ll learn how to create a new preset called “My Copyright Text”. This tutorial uses the zText plugin.

This is what a simple copyright message will look like but you can change it to suit your own needs.

After you install zText find it in the plugins tabs and enable it, type your copyright notice and set the size appropriately.

You can adjust where the message will appear on the “Preset” tab of the plugin.

Once you’re happy with your copyright message hop over to the Presets widget and click the + “Add Preset” icon.

This window will popup, rename the preset to something meaningful and click “None” to unselsect everything.

Go into the Advanced tab and select zTextPlug and you should see the settings you already configured. Click OK.

Click the Show checkbox next to your new preset and the “Done” button on the Preset widget.

If you have an output job configured you can add the copyright notice as a preset in the job settings to automate the task every time you export a file. One advantage of doing this is your image in Aftershot Pro won’t have the copyright text making it easier to export it again using a different batch output job.

Hope that helped, want some more Aftershot Pro tutorials?