| Notices | Welcome to RetouchPRO . You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload images and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. | | Photo Restoration Repairing damaged photos | 
07-24-2005, 09:56 AM
|  | Senior Member | | Join Date: Jul 2004 Location: Munich, Germany
Posts: 301
| | | Sharpening to the max! Hey folks,
I was once again thinking over the techniques to enhance some photoshop things and one thing that always disappointed me was the sharpening.
Let's have a look on how sharpening works:
Sharpening is basically tricking the eye. A blurred gradient to another color is sharpened by filling the adjacent areas with the inverted color. Disadvantage: Halos. But why must there be Halos?
Photoshop calculates the inverted color by simply using the invert color (what a statement  . It does not use the color on the other side of the gradient which would produce no halos at all. An example:
We have a gradient from yellow to green. Sharpening this gradient means PS adds magenta next to the green area and blue next to the yellow area hence it reduces in heavy halos. If it used the adjacent area as a fill color, there wouldn't be any shadows, but how can that be done?
An interesting question isn't it?
Wonder if any of you know a solution
Patrick | 
07-24-2005, 10:05 AM
| | Senior Member | | Join Date: Oct 2002 Location: Los Angeles
Posts: 370
| | I've been pretty happy using FocalBlade to sharpen. It doesn't seem to introduce the color aberrations in the area of the edge, and it deals with halos very well. | 
07-24-2005, 10:30 AM
|  | Moderator | | Join Date: Apr 2005 Location: somewhere over there
Posts: 6,513
| | Quote: |
We have a gradient from yellow to green. Sharpening this gradient means PS adds magenta next to the green area and blue next to the yellow area hence it reduces in heavy halos. If it used the adjacent area as a fill color, there wouldn't be any shadows, but how can that be done?
| yes, but then it wouldnt be 'sharpening', it would be blending or smoothing by gradient. sharpening can be done two different ways that i know of. i'm not sure which photoshop or the other programs use, but you can sharpen by contrast, or you can sharpen by brightness. i think psp uses by brightness.
if you look at a color wheel, the method you are describing in the part i quoted, is based on complementary colors. i would assume this is done for the sake of contrast. the complementary color of green is magenta and the complementary color of blue is yellow. thus, you get a nice contrast.
Craig | 
07-24-2005, 10:50 AM
|  | Senior Member | | Join Date: Jul 2004 Location: Munich, Germany
Posts: 301
| | Craig, that is exactly what I am talking about! PS uses the complementary color to add contrast, hence sharpen. If it used the adjacent color instead, there wouldn't be any halos, right? So the question:
How do you achieve a sharpening with the adjacent color instead of the complementary one? | 
07-24-2005, 12:09 PM
|  | Moderator | | Join Date: Apr 2005 Location: somewhere over there
Posts: 6,513
| | | patrick,
when you say 'adjacent' do you mean adjacent in the color wheel or adjacent in the image? i'm guessing you mean adjacent in the color wheel. so, if you had a green, you'd either turn it cyan or yellow. well, green next to cyan or yellow isnt going to sharpen so much as it is going to blend. obviously it's not a complete blend, but that's just talking about the pure colors.
quite honestly, i dont know what you could use to do what you want. like i said before, sharpening is generally done with either contrast in color or contrast in brightness. but, it would make sense to have degrees of this or even combinations of this, or to have a tool where you could set the sharpening parameters. i just dont know of such a filter/plugin or tool that would allow this.
sounds like a great tool though. maybe we can commission one to be written.
Craig | 
07-24-2005, 12:55 PM
|  | Senior Member | | Join Date: Oct 2003 Location: Nanaimo, British Columbia
Posts: 1,213
| | | I would suggest you get onto thelightsright.com. You can download what is arguably the best professional sharpening tool kit available. It's free and comes with a superb how to tutorial. Definetly worth your while to check it out. I use it with outstanding results.
Dave | 
07-24-2005, 03:37 PM
|  | Senior Member | | Join Date: Jul 2004 Location: Munich, Germany
Posts: 301
| | Dave,
I'll give this one a look, thanks!
Craig,
I did not mean adjacent in the color wheel but in the area to be sharpened! Let me give you an example about what I meant: Suppose you have a portrait with black background and the image is a little blurry so you decide to sharpen it. PS would sharpen this by adding complementary color to the other side of the gradient (what basically every edge is) and this is what produces halos:
The complementary color of the black background is white, so it will add white to the skin. The complementary color of skin is something blue-cyan and this is what produces a blue-cyan halo in the black background. Halos.
But what if PS would not use the complementary color to add it to the other side of the gradient, but increase the saturation instead on both sides. An edge is as we said just a gradient, so one color fades into another one. If you increase the saturation or opacity of both colors, this would narrow the gradient until you have an extremely sharp picture. Thus the gradient should be shrinked to a thin line, right?
Patrick | 
07-24-2005, 05:29 PM
|  | Moderator | | Join Date: Apr 2005 Location: somewhere over there
Posts: 6,513
| | | ah, ok. that's another matter then. that gradient is there for a reason. and the reason has somewhat to do with dithering/anti-aliasing. maybe not completely, but somewhat. if you raise the saturation on both sides, you're lessening the grays, whites, and blacks in the hue. that's what saturation is, a lessening of the grays, whites and blacks. you probably would get an increase in the definition of the edge, but not necessarily in all cases. you would also get a lessening in the anti-aliasing/dithering, i would think. not sure if all that would be good, bad or what. i would guess that adobe did what they did based on some sort of average result testing. not sure the saturation increase would give you as good an average over many cases.
but that's about as far as i can think with it at this point. it would be somewhat interesting to do a test on this. and i certainly wouldnt mind if there were more options in setting the parameters for things like sharpening.
Craig | 
07-24-2005, 05:59 PM
|  | Senior Member | | Join Date: Feb 2005 Location: Lancashire (UK)
Posts: 1,112
| | | Patrick
This post has lost me a little but not altogether.
Isn’t this the reason a lot of people change to LAB to do the sharpening
There is also an argument for sharpening the image a little and then repeating it many times
One last thing that I found
If you sharpen on a layer and then set the mode to "Darken"
Then only the pixels that have been darkened by Unsharp Mask Will be Added.
This is one way of eliminating the artificial "halo" that sharpening produces since the "lighter than" pixels weren't used.
Ken | 
07-24-2005, 06:21 PM
|  | Senior Member | | Join Date: Jul 2004 Location: Munich, Germany
Posts: 301
| | True, both posters
What I thought of was somethink like: You have color a on one side and color b on the other. Why not find the "edge point" where both of them come together (something similar to find edges but only producing a one pixel wide) and draw a line with two colors there and set the color on both sides to the same as the area "near the edge is".
I illustrated it a little in the attached image. Sharpening in LAB would also lighten the areas and hence shift colors | 
07-25-2005, 08:14 AM
|  | Moderator | | Join Date: Apr 2005 Location: somewhere over there
Posts: 6,513
| | ok, new day and my head isnt quite so full of mush, so let's look at this again.
ok, i've no idea what program or plugin might do this. sounds feasible, though. have you tried this in some way on real images at all? i mean, manually. and, whereas i dont have a decent version of photoshop, would any of their actions or scripts or filter factory allow you to make something like this? or maybe filter meister, if you can code a bit?
it sounds like an interesting project to me and i'd be happy to test the beta plugin
Craig | 
08-10-2005, 09:52 PM
|  | Senior Member | | Join Date: Jul 2004 Location: Munich, Germany
Posts: 301
| | Hey all,
I just laid back, watchin a game, havin a bud when I remembered writing an email to Adobe about the sharpening idea. I thought about what to write and suddenly it popped into my mind!
I tried this technique with a simple gradient and the result was awesome, haven't tried on a real picture yet, but if someone wants to have a go before I do.... So that's the technique:
- Create a copy of the background layer
- Go to Image/Adjustment/Brightness & Contrast (just for convenience) and increase the contrast by a few numbers until the edges look real sharp, don't care about anything else. Adding contrast will almost always accentuate the edges but heavily ruin the image by now 
- Go back to the background layer and select luminosity by pressing ctrl-alt-~
- Go back to the new layer and add a mask with that selection
- Image/Adjustments/Curves and drag the white anchor to the bottom, create a new anchor in the middle and drag it right up to the top to reveal only midtones
- Set layer mode to Soft Light
- Magic!
This is basically a mix of the Hi-Pass Sharpening and the idea of contrast adding more sharpness. I gave it a quick try on a photo but the results were less than worse, but maybe with a little tweaking here and there...
Applause or laughter from anyone?
Patrick
Last edited by PatrickB; 08-10-2005 at 09:58 PM.
| 
08-19-2005, 08:52 AM
| | Senior Member | | Join Date: Sep 2001 Location: Dallas/Ft.Worth,Texas
Posts: 230
| | | Different sharpening techniques Also try a reverse luminosity sharpen....... In rgb, instead of just sharpening the composite channel as a whole on a luminosity layer. Do a Ctrl/Command + Alt/Opt + "~"... then do a Shift + Ctrl/Command + "I" ......Hide the selection edges, if that bothers you. Then use the unsharp mask. When you use the unsharp mask, use conventional sharpening or the "HaLo" (High Radius, Low Amount) method. This reverse luminosity sharpen, sharpens "detail". Something, like a black channel sharpen in cmyk.
John | 
08-19-2005, 09:10 AM
|  | Senior Member | | Join Date: Oct 2003 Location: Nanaimo, British Columbia
Posts: 1,213
| | | I'll put this out again. If you're looking for sophisticated sharpening capabilities..and more, check out TheLightsRight.com Sharpening Tool Kit and Tutorial.
Cheers
Dave | 
08-19-2005, 02:05 PM
|  | Moderator | | Join Date: Apr 2005 Location: somewhere over there
Posts: 6,513
| | | patrick,
besides what duv said, and since posting here last, i found a filter plugin you might be interested in. it's called '7 band sharpening filter'. i've tried it a few times. dont know if it's doing what you suggested, but it does give a bit more control over how you sharpen images.
Craig |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -6. The time now is 04:12 PM. | |
|