Davide Barranca | Notes on sharpening

Article Index
Davide Barranca | Notes on sharpening
2. Gaussian sharpening
3. Difference of Gaussians
4. Other blurring kernels
5. Combined use of different blurring kernels
6. Image decomposition
7. A sharpening equalizer
8. Bilateral and WLS Pyramids
9. Mixed Pyramids
10. (temporary) Conclusions
11. Links
12. Acronym list
13. Acknowledgements
14. Notes on the notes’ author
Comments
All Pages

4. Other blurring kernels

Since it’s clear that subtraction and blurring are the core of this kind of sharpening, I started wondering what if other kernels are used instead of, or at the same time with, GB.

Let’s take Surface Blur (SB), aka Bilateral Filter, a well known edge preserving blurring algorithm. If it keeps edges and wipes the rest out it should lead us to think: SB equal something to enhance everything but the edges. Let’s see:

(Fig 4.1) Subtraction using the edge-aware SB instead of GB.

(Fig 4.1) Subtraction using the edge-aware SB instead of GB.

(Fig 4.2) Affecting less the edges, the texture is more enhanced.

(Fig 4.2) Affecting less the edges, the texture is more enhanced.

(Fig 4.3) The result using SB Radius = 6 and Threshold = 15.

(Fig 4.3) The result using SB Radius = 6 and Threshold = 15.

It works as it’s supposed to do. Besides the fact that SB isn’t the fastest filter ever in the Photoshop arsenal, there are more annoying things. It’s required a bit of experience to find the correct radius/threshold couple; due to the algorithm itself, at large radii a reversion starts to appear and instead of more blurring we get more edges coming back:

(Fig 4.4) SB with Threashold 15 and radii 6.0 - 50.0 - 100.0; SB fails at larger radii and detail appears again.

(Fig 4.4) SB with Threashold 15 and radii 6.0 - 50.0 - 100.0; SB fails at larger radii and detail appears again.

A much better edge preserving filter is the Weighted Least Squares (WLS) operator. Unless you are an experienced programmer or you find the way to put your hands on a computer with MatLab and Photoshop both installed, to use it is quite a problem.The results are remarkable indeed, check the links at the bottom of the page.



Comments
Add New Search
"Shadow/Highlights" clarification please
George Machen 2009-01-07 01:58:49

> 8. Bilateral and WLS Pyramids
>
> ...Shadow/Highlights with SB (instead of GB)
in its
> ā€œengineā€ gives the same halo-free look by the way...

I don't have
CS4. Are you saying that its Shadow/Highlights dialog now features an option to
choose whether it uses Gaussian or Surface Blur? If not, what did you mean
exactly in this statement?
Thanks! (G-R-E-A-T write-up, Davide!)
Davide 2009-01-07 22:53:37

Hi George,
I'm glad you liked it!
No, unfortunately there's no GB/SB option in
CS4. But you can always custom build your Shadows/Highlights: for instance,
create a curve adjustment layer to lighten the picture, then add a luminosity
mask to it (or choose the channel that better suits the image needs and use it
as a mask). Now you can experiment using GB and SB for blurring the mask: the
first one gives you a standard Photoshop S/H feeling, while SB (as long as the
algorithm doesn't reverse) shows less or no halos.
Ciao,
Davide
Alexey Rybakov 2009-01-07 19:58:18

Thanks for nice article with informative illustrations and examples. I'll glad
to read more if you'll develop this farther.
Re: "Shadow/Highlights" clarification please
Stephen Marsh 2009-01-08 12:48:48

Thank you Davide, this is a great exploration, I am eagerly awaiting some
actions!

George, I presume that Davide is referring to manually simulating what
the Shadows/Highlights command does. Dan Margulis described a method for this
and one of the Applied Color Theory list members created an action. This action
is available to list members from the files section.

Margulis PSU
ON2004.atn
http://tech.groups.yahoo.com/group/colo rtheory/files/
How to
re-create the Shadow/Highlight effect of Photoshop CS as described by Dan
Margulis in the Oct/Nov issue of Photoshop User titled "Making Two Ends
Meet", pg. 44-47.


Regards,

Stephen
Marsh
http://members.ozemail.com.au/~binaryfx/
Bravissimo !!!
Andrea Baldini 2009-01-08 23:02:13

Devo dire che Ć© una roba incredibile !

Davvero superba la genialitĆ  del
progetto, non avevo mai visto nulla di simile!
Complimenti anche per le
illustrazioni realizzate molto bene.
Spero che l' articolo venga tradotto anche
in italiano.

Complimenti ancora,

Saluti

Andrea Baldini
good work
Jack 2009-02-10 23:13:44

I'd love to test the actions when you create those. Also it would be nice to
see samples on photographs as apposed to the painting your using here. It's
difficult to see the sharpening.
thank you!
Timo Kirves 2009-03-14 17:51:02

Dear Davide,

The whole series of your techniques open dramatically better
chances to
succesful fine art photographic prints with todays inkjet
printers.

I work as a photographer and instructor in Helsinki, Finland, working
on both own and colleagues“photographic prints.

Thank you for shearing this
work of yours with the rest of community.

Best

Timo

Kirves
Davide 2009-03-14 22:48:29

Dear Timo, thank you very much for your comment, knowing that some of my
thoughts may help someone out there getting better results and enjoying his
pictures is a great reward for me.
I wish I had more time to explore other
interesting topics - I've something about local contrast in mind but I'd like to
dig a bit deeper before publishing.
Kind regards,

Davide
Thanks Davide
Miriam Calzada 2010-05-18 00:39:32

Hola, mi nombre es Miriam soy fotografo. Vivo y trabajo en Republica Dominicana.
He disfrutado mucho toda esta informacion que ofreces.
Trabajo por aƱos con
Hasselblad y pongo mucho interes en cualquier forma de perfeccionar mi
trabajo.
Especialmente viniendo de un profesional como
tu.
Atentamente.
Miriam


miriamcalzada.com
Thank you Miriam!
Davide Barranca 2010-06-01 09:23:46

It's a great gift to read feedbacks like yours!
I've seen the images in your
website, and I'm sure the actual prints must be really gorgeous.
Thanks again ad
all the best,
Davide
Write comment
Name:
Email:
 
Title:
Please input the anti-spam code that you can read in the image.

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."