It is currently Tue Jul 25, 2017 2:16 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Tutorial - How to sharpen an image in GIMP
PostPosted: Tue Jan 10, 2012 3:39 pm 
Offline

Joined: Tue Jul 26, 2011 4:43 pm
Posts: 19
This tutorial will take you on a step-by-step tour of how I sharpen an image with GIMP. GIMP has two advantages: it's free and it runs on Linux. This tutorial assumes you have already gotten rid of dust spots, rotated and cropped the image, adjusted the contrast and added a bit of saturation. This part is almost identical to photoshop. The hardest part (at least for me) is the sharpening. A very important side-note: Photoshop and GIMP use completely different measurements for sharpening. Sharpening an image with radius 0.3, amount 0.5 in GIMP is different to sharpening the image wih radius 0.3 and amount 50% in Photoshop!

The italic text refers to where something can be found in the menu, for example: File, Quit to exit. Here is the image I will use, an Emirates Boeing 777-200ER with registration A6-EMH taken in Geneva.

Image
Rotated, cropped, levels and saturation OK, now for the sharpening. Please note: image is not resized yet!

Add Alpha Channel: Layer, Transparency, Add Alpha Channel or right-click on the layer (on the right, called "Background"), Add Alpha Channel. Now, if you use the eraser tool the image will become transparent and not white. This will be important later.

Duplicate Layer: Layer, Duplicate Layer. We will sharpen the upper layer and leave the lower layer unsharpened.

Sharpen: Filters, Enhance, Unsharp Mask. I'm guessing this depends very much on your camera and lens, with my D90 and 70-300mm lens I use 0.3 for the radius (my lens is fairly soft in comparison to the more expensive lenses), 0.5 for the amount (this varies from picture to picture) and 4 for threshold.

Image
First round of sharpening: you can see "BOEING 777-200" in the preview is already a lot sharper!

Resize: Image, Scale Image. Now (and only now!) do we want to get our image into an acceptable format with a width of 1000-1600 pixels. If resizing causes jaggies, there are two options: either opting for larger dimensions (say a width of 1600 pixels rather than 1024), or resizing the picture in several steps (3341 --> 2200 --> 1600 --> 1024 for example). I almost never have this "problem" as my lens isn't sharp enough, so I will resize this in one stop here.

Sharpen: Because we resized the picture, it needs a last touch of sharpening. This time, I use the following settings:
Radius: 0.1 (the lowest possible)
Amount: 0.5 (again, this varies strongly from picture to picture
Threshold: 4

Remove Jaggies: Jaggies are areas in the image, usually edges of objects, for which the sharpening was too strong. To make the image perfect, we need to "unsharpen" them, we will do this with the eraser. So, we click on the eraser tool in the toolbox or press Shift+E and set opacity to 30%, Brush to the large 21x21 Circle and Scale to 1. Now, because we have a completely unsharpened layer underneath (but otherwise exactly identical), we can just rub out the jaggies. These can be found here:
  • -Titles, especially the top of the E and m and the "www.emirates.com".
  • -Other "painted stuff" on the aircraft, in this case the "BOEING 777-200" underneath the cockpit, the registration and the black and red parts of the flag on the tail.
  • -Any sharp edges, especially the wings and bay doors above the undercarriage.
  • -Top left of the engine.
  • -The cable in the background may not have jaggies, but it surely will look better unsharpened, so I will set the eraser to opacity 100% to rub it out completely. Likewise, the image looks better when the sticks in the ground are not so aggressively sharpened.

Some other common places where jaggies occur frequently (but not found on this image)
  • -The edges of the plane, especially the nose and rear.
  • -Cockpit windows.
  • -Technically maybe not jaggies, but sometimes the background looks better unsharpened, especially when it was never in focus anyway.

To unsharpen the sky: use the magic wand tool, click in the sky a few times holding shift until the whole sky is selected, then press delete.


Image
Success, a beautiful image of an Emirates 777 :)

Image
For comparison: the same image with the jaggies. The difference may be subtle, but it is noticeable!

Image
A very ugly image showing where the jaggies were erased :)

Last: some helpful shortcuts I use.
F4: Equalise
F5: Levels
F6: Saturation
F7: Add alpha channel
F8: Duplicate layer
F9: USM

So once the image is ready for sharpening, all I have to do is hammer F7 F8 F9 and enter the correct values. Saves me a seconds so I thought I'd share :)

I hope this tutorial helps your postprocessing!
-Ben


Top
 Profile  
 
 Post subject: Re: Tutorial - How to sharpen an image in GIMP
PostPosted: Tue Jan 10, 2012 7:45 pm 
Offline
User avatar

Joined: Wed Nov 09, 2011 9:31 pm
Posts: 57
Location: Maarssen, The Netherlands
Great stuff Ben!

Never used GIMP myself but my CS4 can't open .NEF directly. Do you perhaps know if GIMP can open .NEF? If this is the case I might switch to GIMP.

Twan

_________________
Regards,

Twan van Baaren
Editor Manufacturer News
Dutch Aviation Society - Scramble
------------------------------------
www.scramble.nl

Download the latest issue of Scramble Magazine from both the Apple Store or Google Play Store!!


Top
 Profile  
 
 Post subject: Re: Tutorial - How to sharpen an image in GIMP
PostPosted: Tue Jan 10, 2012 7:52 pm 
Offline

Joined: Tue Jul 26, 2011 4:43 pm
Posts: 19
Twan-v-B wrote:
Great stuff Ben!

Never used GIMP myself but my CS4 can't open .NEF directly. Do you perhaps know if GIMP can open .NEF? If this is the case I might switch to GIMP.

Twan



I'm afraid GIMP doesn't support NEF or in fact even anything more than 8-bit :(


Top
 Profile  
 
 Post subject: Re: Tutorial - How to sharpen an image in GIMP
PostPosted: Tue Sep 03, 2013 3:37 am 
Offline

Joined: Tue Sep 03, 2013 3:23 am
Posts: 2
i alwasy use photoshop, so i am not very familiar with GIMP. recectly i have just download an image editing tool and using it shapening option. but i find it is hard to do with tutorial.
is it the same with GIMP, if so i'd really appreciate your help. check this image toolhere.


Top
 Profile  
 
 Post subject: Re: Tutorial - How to sharpen an image in GIMP
PostPosted: Tue Mar 18, 2014 2:42 am 
Offline

Joined: Tue Sep 03, 2013 3:23 am
Posts: 2
now i finally know how to sharpen image correctly with GIMP and other image tools, thank you for all the help from other friends.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group