Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Guest
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Register to forums    Log in

 
FORUMS Post Processing, Marketing & Presenting Photos RAW, Post Processing & Printing 
Thread started 30 Apr 2009 (Thursday) 14:06
Search threadPrev/next
sponsored links (only for non-logged)

4: Sharpening with GIMP, Unsharp Mask (AKA USM)

 
KarlosDaJackal
Goldmember
Avatar
1,740 posts
Likes: 1
Joined Jul 2008
Location: Dublin, Ireland
     
Apr 30, 2009 14:06 |  #1

USM is fast and easy and familiar to most photo editors, although its not the only option. It is the one we will explore first. Rightly or wrongly we live in a pixel peeping world. The Major Stock Photography site rules say no sharpening (that's a job for the people who end up printing it), but the stock sites are the exception to the rule. Everybody else seems to want it so sharp it can cut. This aims to show you how to do sharpening in the GIMP, use it wisely. If you want to know my position on pixel peeping and an example of how well GIMP works for stock, read the aside after the example image. But first lets tackle USM

1) First Lets zoom to 100% using the drop down list at the bottom right of the image and find something in focus. You can place the mouse over the image and hold down the space bar to move around quickly. Alternatively use the navigation bars, or alternatively hold the left mouse button on the 4 arrow icon at the bottom right of the image and move around. Why something "in focus" USM in GIMP (and all other software) can make sharp things sharper, but it can't make out of focus items in focus. So if you missed focus by a lot this won't fix it.

2) Click Filters >> Enhance >> Unsharp Mask, a small preview window will appear with the default settings of Radius 5.0, Amount 0.50, Threshold 0. You can make this windows as big as you like, the preview is always at 100%. Navigate again to the area that is in focus. The larger you make the window the slower it will run, but even on a modest machine it should be fine. Try turn the preview and and off to see what affect it will have when you press Ok. Most of the time these settings work well.

3) Radius, USM works by detecting edges and enhancing the contrast of those edges. The Radius Setting dictates how many pixels around the edge are affected. Too little and the sharpening is weaker, to much and you can end up with a halo around the edges and your pc will have to work harder to show you the results. 2nd image is with Radius 120, Amount 0.50, Threshold 0. A side effect of high Radius is that more of the image gets a contrast boost, so if you had a low contrast image it very well could make things look better, but this is not what you want to use USM for. Fix contrast with the contrast control under the Color Menu, enhance sharpness with USM. In this image it enhanced contrast, gave slight halos and was pushed so far it induced a little colour distortion, but surpisingly wasn't to bad. Each image is different so play around with yours.

4) Amount, 0.00 to 5.00 controls "how much" to much and you get artifacts (stray pixels and jagged edges), to little and your not sharpening. 3rd image is Radius 5, Amount 3.00, Threshold 3.00, you can see the smooth edges of the drops starting to turn into jagged edges. Noise has also come out very harsh.

5) Threshold, This slider allows you to set the minimum difference in pixels that indicates an edge to be sharpnened. You can protect areas of smooth tonal transition from sharpening, and avoid creation of artifacts in smooth color transistions, such as the sky. For a lot of people this stays at zero, for my image I put it at 10 (out of 255) after finding the limits with the radius and amount, the impact was very subtle, too much threshold and you get a sharp edge and nothing else, it looks very abstract!

6) I settled for Radius 7.0, Amount 0.60, Threshold 10 (4th image). This was my personal preference, a lot of other people would push the image much harder. It close to the radius 120 shot without having the contrast changed. Now you know what the sliders do, its up to you how you use them.

The Example 100% crops: Ignore the first box on top right with 5, 0.5, 0 its actually not sharpened at all, all the other values are correct.

IMAGE NOT FOUND
HTTP response: NOT FOUND | MIME changed to 'image/gif' | Redirected to error image by FLICKR



About the Image
The image I'm using is an unspectacular shot of a leaf with some rain drops on it. I picked it as it was shot at ISO400, and has a beautifully blurred background with the potential for noise to become an issue if over-sharpened as stated you can't make something "in focus" the issue with blurry background is that the noise pixels are usually the only sharp thing on the background, so they get enhanced the background does not, end result more noise.

Sharpness in general, Megapixels and GIMP with Stock:
The original image was taken with a Canon 40d at 10.1MP (3888x2592) and Sigma 70-300 APO wide open at f/5.6 - 1/80 - ISO400 through a glass window, with rain falling between lens and subject, tripod mounted. It was cropped in DPP to 4.3MP (1861x2326). In its un-sharpened state it was up-scaled to 200% or double size to 17.1MP (3721X4652) using the Sinc "(Lanczos3)" resize option. It has been uploaded and passed Alamy QC and is available for sale as of yesterday, so its "sharp enough" without anything applied.

Let me summarize, dirt cheap lens, less than favorable shooting conditions, and lots of up scaling with GIMP, Raw was converted with the free DPP. As it was intended for stock from day one, no sharpening has been done to it as per the rules. It was checked by the stock site and it passed, they consider it saleable. Anyone who says you can't make a saleable image without a full frame with a huge megapixel count, an L lens, the most expensive Raw converter and version of the latest Photoshop CS is likely misinformed or being a little dishonest.

Thats not to tell you not to get these things, just remember if your doing this for business and the competition is using those things, you will both end up with more or less the same results, however you will have lower business costs and more money in your pocket. For this example GIMP was only used for upscaling for stock and it did an amazing job.

My Website (external link) - Flick (external link)r (external link) - Model Mayhem (external link) - Folio32 (external link)
Gimp Tutorials by me on POTN
Gear List

  
  LOG IN TO REPLY
ssracer
Goldmember
1,855 posts
Likes: 10
Joined Dec 2008
Location: Louisville, KY
     
Apr 30, 2009 14:19 |  #2

Nice little walk through, thanks! I use GIMP since I can't afford PS, so it's nice to find a tutorial for it.


- Sean
my gear
my flickr (external link)

  
  LOG IN TO REPLY
KarlosDaJackal
THREAD ­ STARTER
Goldmember
Avatar
1,740 posts
Likes: 1
Joined Jul 2008
Location: Dublin, Ireland
     
Apr 30, 2009 15:09 as a reply to  @ ssracer's post |  #3

Thank you, I use GIMP even though I can afford PS ;)

I also added an example on high pass sharpening which I think is better, all the tutorials I've done are in this thread here >> https://photography-on-the.net/forum/showthre​ad.php?t=683358


My Website (external link) - Flick (external link)r (external link) - Model Mayhem (external link) - Folio32 (external link)
Gimp Tutorials by me on POTN
Gear List

  
  LOG IN TO REPLY
robgr85
Senior Member
Avatar
890 posts
Joined May 2007
Location: Poland
     
May 03, 2009 03:09 |  #4

I am using gimp a lot, just wonder about 'lanczos3'. Is it the best way to upsize?


Blog (external link)

  
  LOG IN TO REPLY
KarlosDaJackal
THREAD ­ STARTER
Goldmember
Avatar
1,740 posts
Likes: 1
Joined Jul 2008
Location: Dublin, Ireland
     
May 03, 2009 04:16 |  #5

robgr85 wrote in post #7848031 (external link)
I am using gimp a lot, just wonder about 'lanczos3'. Is it the best way to upsize?

Yes, by far!

I upsize for Alamy, and I tested all the modes and additional downloaded filters. Cubic is good a lot of the time, but lanczos3 seem to work much better with fine detail. For downsizing I'd always go with Cubic, for upsize Sinc (lanczos3) is the way to go IMHO.


My Website (external link) - Flick (external link)r (external link) - Model Mayhem (external link) - Folio32 (external link)
Gimp Tutorials by me on POTN
Gear List

  
  LOG IN TO REPLY
ssracer
Goldmember
1,855 posts
Likes: 10
Joined Dec 2008
Location: Louisville, KY
     
May 03, 2009 11:21 |  #6

Which would you consider better:

More sharpening in DPP before raw conversion

or

Less sharpening before raw conversion and more unsharp mask on the resulting JPG

So far I have done pretty much all of my sharpening in DPP and haven't really used USM at all.


- Sean
my gear
my flickr (external link)

  
  LOG IN TO REPLY
KarlosDaJackal
THREAD ­ STARTER
Goldmember
Avatar
1,740 posts
Likes: 1
Joined Jul 2008
Location: Dublin, Ireland
     
May 03, 2009 12:27 as a reply to  @ ssracer's post |  #7

USM is gives more control so it should do a better job if you take the time to work with it.


My Website (external link) - Flick (external link)r (external link) - Model Mayhem (external link) - Folio32 (external link)
Gimp Tutorials by me on POTN
Gear List

  
  LOG IN TO REPLY
pridash
Goldmember
Avatar
3,584 posts
Likes: 34
Joined Jul 2007
Location: London, UK - Where 30 degrees celcius is considered a heatwave and liable to result in death.
     
May 03, 2009 15:38 |  #8

KarlosDaJackal wrote in post #7833060 (external link)
...Let me summarize, dirt cheap lens, less than favorable shooting conditions, and lots of up scaling with GIMP, Raw was converted with the free DPP. As it was intended for stock from day one, no sharpening has been done to it as per the rules. It was checked by the stock site and it passed, they consider it saleable. Anyone who says you can't make a saleable image without a full frame with a huge megapixel count, an L lens, the most expensive Raw converter and version of the latest Photoshop CS is likely misinformed or being a little dishonest.

Thats not to tell you not to get these things, just remember if your doing this for business and the competition is using those things, you will both end up with more or less the same results, however you will have lower business costs and more money in your pocket. For this example GIMP was only used for upscaling for stock and it did an amazing job.

Something to meditate on!

Thanks for taking the time to write such tuts for GIMP. It's funny, I started with GIMP but just could not get to grips with it - everything just seemed complicated. I ended up settling on PSE7 which is a breeze to use, but more importantly made me understand workflows better and why certain things are done and the result they give. Now I'm in a better position to go back to GIMP instead of upgrading to CS4. In my case, I don't think I'd ever be in that position without using PSE7 first.


Pradeep (but most people call me PJ)

Flickr (external link) | Website (external link)
Stop obsessing about gear and focus on your own art and creativity. Nurture and love the artist inside yourself.

  
  LOG IN TO REPLY
dinifra
Senior Member
Avatar
457 posts
Gallery: 69 photos
Likes: 71
Joined Feb 2010
Location: Rome, Italy
     
Apr 17, 2010 12:48 as a reply to  @ pridash's post |  #9

Could we try to translate for GIMP?
Is it possible?
I guess I should be more specific. I use USM for all of my images and high pass sharpening for details on portraits such as the eyes, nostrils, etc. I actually am wanting an action for wildlife mostly. Here is the sharpening I have been using for wildlife.

1- open original image and make Duplicate copy to protect the original.
2- On the copy adjust your levels, saturation and contrast, as per your regular workflow.
3- Now make duplicate layer and name "Dark Sharpen"
4- Make another duplicate layer and name "Light Sharpen"
5- Select the Dark Sharpen layer and add USM
Amount – 500 (400)
Radius - 0.6 (0.4)
Threshold – 2 (2)
6- In the layers palette set the Blend mode to Darken and set the opacity to 20 % (15 %)
7- Select the Light Sharpen layer and add USM
Amount – 500 (400)
Radius - 0.6 (0.4)
Threshold – 2 (2)
8- In the layers palette set the Blend mode to Lighten and set the opacity to 5 % (5 %)
9- Flatten image
10- Make duplicate layer and name Luminosity Sharpen
11- Select Luminosity Sharpen layer and add USM
Amount – 500 (400)
Radius - 0.2 (0.2)
Threshold - 0 (0)
12- In the layers palette set the Blend mode to Luminosity and set the opacity to 60% ( 50%)
13- Flatten Image
14- Done

Font: https://photography-on-the.net …p?p=8836234&pos​tcount=230


Canon EOS 400D - Canon EOS 77D - Tamron 17-50 f2.8 XR Di II AF - Canon 70-200 f/4 EF L IS - Flash Nissin Di866
My Flickr (external link)
My Instagram (external link)

  
  LOG IN TO REPLY
luigis
Goldmember
Avatar
1,399 posts
Likes: 3
Joined Jun 2008
Location: Buenos Aires, Argentina
     
Apr 17, 2010 12:51 |  #10

Nice post, you can also try a very small radius (0.3) and a big amount 0.9 to bump local contrast. Try it!

robgr85 wrote in post #7848031 (external link)
I am using gimp a lot, just wonder about 'lanczos3'. Is it the best way to upsize?

I've been having better results with cubic.


www.luisargerich.com (external link)
Landscape Photography & Astrophotography
Follow me on Twitter (external link)
My Awesome Gear List

  
  LOG IN TO REPLY
Arte ­ Automobilistica
Senior Member
314 posts
Likes: 3
Joined Oct 2010
Location: Devon UK
     
Jan 11, 2011 03:05 |  #11

dinifra wrote in post #10012798 (external link)
12- In the layers palette set the Blend mode to Luminosity and set the opacity to 60% ( 50%)

I can't find the Luminosity Mode
Are these settings for Gimp?

Thanks


NelPhotos.co.uk (external link)
Work: 7D + Sigma 100-300 4
Play: Kiss X4 + 15-85 IS + 10-22 + 50 1.8 II + Vivitar 1 70-210 3.5
EOS-M + 18-55 + FD 50 1.4 + FD 135 2.8 + Tamron 35-80 1A
G9, SX280 HS + CHDK, Casio EX-FH 100, Toshiba L505-144 & iPad 2

  
  LOG IN TO REPLY
GJim
Goldmember
Avatar
1,232 posts
Gallery: 1 photo
Likes: 16
Joined Apr 2010
Location: Bridger Montana, USA
     
Jan 11, 2011 06:28 |  #12

Arte Automobilistica wrote in post #11616023 (external link)
I can't find the Luminosity Mode
Are these settings for Gimp?

Thanks

Dinifra was posting a PhotoShop Elements work-flow and asking that someone translate the steps into GIMP-related steps/filters. I'm a beginner with GIMP, and not at all familiar with PSE, so I'm not entirely sure just exactly how the various layer modes translate from PSE to GIMP.


G'Jim c):{- ... 2x 50D (Both Gripped), 2x 7D (Both Gripped), 2x 5D Mk II (One gripped), assorted glass (10-800mm), sundry accoutrements.
The beginner clicks the shutter and says "Let's see what I got." ... The experienced photographer thinks "How can I capture what I see?"
My Photography: http://www.gjimphotogr​aphy.com (external link)

  
  LOG IN TO REPLY
dinifra
Senior Member
Avatar
457 posts
Gallery: 69 photos
Likes: 71
Joined Feb 2010
Location: Rome, Italy
     
Jan 11, 2011 09:28 as a reply to  @ GJim's post |  #13

Referring to the first post I think that a combination of 7, 1.10 and 10 is too much and produce a big halo.
I gave up with USM and I prefer to spend a little bit of time and use the procedure of Selective Sharpening as already explained in this post: https://photography-on-the.net …?p=11210111&pos​tcount=319

Let me know your opinion.
Thanks
Francesco


Canon EOS 400D - Canon EOS 77D - Tamron 17-50 f2.8 XR Di II AF - Canon 70-200 f/4 EF L IS - Flash Nissin Di866
My Flickr (external link)
My Instagram (external link)

  
  LOG IN TO REPLY
sponsored links (only for non-logged)

19,319 views & 0 likes for this thread, 8 members have posted to it.
4: Sharpening with GIMP, Unsharp Mask (AKA USM)
FORUMS Post Processing, Marketing & Presenting Photos RAW, Post Processing & Printing 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Forums   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset   •  Home

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.58forum software
version 2.58 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member is The_Photography_Junkie
870 guests, 177 members online
Simultaneous users record so far is 15,144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.