fredmiranda.com
Login

Archive 2012 · how to sharpen for the web?

  
 
Grenache
Offline
Details
p.2 #1how to sharpen for the web?
You may find that choosing steps in file size involving prime numbers - or at least ones not divisible by 2 - to give you less halo and artifact issues.
Jim
Oct 25, 2012 at 10:00 PM
AhamB
Offline
Details
p.2 #2how to sharpen for the web?
Bifurcator wrote:
But this TIFF image has already been sharpened. So more sharpening (or trying to show a different method all together) just messes it up. Without posting the RAW this is senseless IMO.


Capture sharpening is standard. It will be negated anyway when you downsize.
Btw, your idea of "microcontrast boosting" isn't bumping clarity to 100, I hope?

@Jim: You probably mean image size and not file size?

Edited on Oct 26, 2012 at 05:51 AM · View previous versions
Oct 26, 2012 at 05:46 AM
alundeb
Offline
Details
p.2 #3how to sharpen for the web?
Sosua wrote:
There is a much simpler way which works almost flawlessly:

Oversharpen original (say standard capture sharpening in Lightroom plus 0.3 / 250 in Photoshop).

Then downsize using Bilinear to desired display size.

Perfect.


That method looks good on many subject types, but with regular patterns it produces nasty aliasing.
Oct 26, 2012 at 05:51 AM
alundeb
Offline
Details
p.2 #4how to sharpen for the web?
Relevant discussion and samples here:

https://www.fredmiranda.com/forum/topic/1113631/1
Oct 26, 2012 at 06:05 AM
alundeb
Offline
Details
p.2 #5how to sharpen for the web?
Ok, I just had to try this.

Resizing with Nearest Neighbor, the simplest of all.

First, interpolate sligtly down or up to a pixel number that can be divided by the final pixel number. In this case, 4 x 1280 = 5120

Then add gaussian blur with a radius corresponding to 0.4 pixels in the final size. In this case, 1.6 pixels. This is the Anti-aliasing filter, and the cutoff frequency can be chosen to taste and subject matter. From 0.3 to 0.5 px in final size looks ok.

Then resize to 1280 with NN.

Now we can remove exactly the blur we added, with smart sharpen -> remove gaussian blur, 0.4 px, 100%.

Finally, output sharpen with USM radius 0.2 pixels and amount after taste. Here I used 100%.

http://1.bp.blogspot.com/-SM5C53ZYeA0/UIrYNAVFTrI/AAAAAAAABlc/4eRMa27W0OM/s1600/resizeMe_Gauss_NN.jpg
Oct 26, 2012 at 12:43 PM
Phillip Reeve
Offline
Details
p.2 #6how to sharpen for the web?
thanks for the link and examples! the difference between our results is pretty minimal in my eyes, i see a minimal difference in small structures like the window bars, mine are a bit "bigger". Wouldn't have thought that two so unrelated approaches would yield such similar results.

@bif if we based it on the raw we would compare raw converters and personal taste, not re-sizing algorithms. Anyway, here is the unsharpened tif, i am courious about your method
Oct 26, 2012 at 01:02 PM
AhamB
Offline
Details
p.2 #7how to sharpen for the web?
@alundeb: Interesting, but for my taste that's too sharp and crunchy. It reminds me a bit of the 100% view of an M9 file. IMO the edge contrast is too high everywhere.
Oct 26, 2012 at 01:19 PM
alundeb
Offline
Details
p.2 #8how to sharpen for the web?
Philip: Regarding similarity of different approaches, you can't fool signal theory and the resulting detail content should be similar if the method is good. But I must say that I am pleasantly surprised by the blur-NN method. In fact I think it looks as good as Lanczos.

Sharpening is largely a matter of preference, but downsizing wile retaing highest possible fine detail without aliasing is the real pain in my experience.

AhamB: That is a very interesting feedback, that the edge contrast is too high to your taste. I can in fact simplify and remove the last step with USM. In any case, it is interesting to have as reference.

http://2.bp.blogspot.com/-jL-T4qwMVbc/UIrjSW1kwJI/AAAAAAAABlw/I_AWPkFp5DU/s1600/resizeMe_Gauss_NN_noUSM.jpg
Oct 26, 2012 at 01:32 PM
alundeb
Offline
Details
p.2 #9how to sharpen for the web?
Sosua wrote:
There is a much simpler way which works almost flawlessly:

Oversharpen original (say standard capture sharpening in Lightroom plus 0.3 / 250 in Photoshop).

Then downsize using Bilinear to desired display size.

Perfect.

alundeb wrote:
That method looks good on many subject types, but with regular patterns it produces nasty aliasing.


As I thought, look at the aliasing on the roof of the light blue house. This will not be my preferred method. Oversharpening followed by bilinear:

http://4.bp.blogspot.com/-gvoo3_t56B8/UIrnG71kBeI/AAAAAAAABmE/hoC-au19vtQ/s1600/resizeMe_Oversharpen_bilinear.jpg
Oct 26, 2012 at 01:42 PM
carstenw
Offline
Details
p.2 #10how to sharpen for the web?
Sigh. I look forward to owning a 27" or 30" Retina display. Then all this stair-stepping stuff will be much less important.
Oct 26, 2012 at 01:57 PM
Phillip Reeve
Offline
Details
p.2 #11how to sharpen for the web?
carstenw wrote:
Sigh. I look forward to owning a 27" or 30" Retina display. Then all this stair-stepping stuff will be much less important.

on the downside you would have to show really printable files then. Not that i worry about someone stealing my pictures, i don't think that one could make any real money with them, but i would have a bad feeling when uploading a 6mp file.
Oct 26, 2012 at 02:26 PM
wfrank
Offline
Details
p.2 #12how to sharpen for the web?
Oversharpening at FM is as bad as the HDR-frenzy was a couple of years ago. Take a look in the Zeiss or Leica threads, not all but too many. In particular landscape photography dont need this. I still do it myself, even some HDRs.

In Phillips beautiful capture, take a look at artifacts in diagonal mast wires, poles, windows, or when a leg, arm or shoe consists of 2-3 bright white pixels on a dark background. Doesnt matter which version you prefer. Beauty feels a bit gone.

I am starting to like images like this


Oct 26, 2012 at 02:36 PM
alwang
Offline
Details
p.2 #13how to sharpen for the web?
To be honest, I can't be bothered to resize/sharpen the images I post on the web; they're usually full-size. I know they're not optimal for presentation, but I essentially treat the full-size jpgs as an extra level of backup of images that I care about, so that's more worth it to me. And it saves me from having to run every image I post through Photoshop (if there was a way to trigger a PS script directly from LR during export, I might consider it )

Sorry if that's off-topic; I have enjoyed and learned a lot from this thread.
Oct 26, 2012 at 02:45 PM
alundeb
Offline
Details
p.2 #14how to sharpen for the web?
wfrank wrote:
Oversharpening at FM is as bad as the HDR-frenzy was a couple of years ago. Take a look in the Zeiss or Leica threads, not all but too many. In particular landscape photography dont need this. I still do it myself, even some HDRs.

In Phillips beautiful capture, take a look at artifacts in diagonal mast wires, poles, windows, or when a leg, arm or shoe consists of 2-3 bright white pixels on a dark background. Doesnt matter which version you prefer. Beauty feels a bit gone.


I understand what you mean. But it is not really artifacts in the image. They are correct representation of the reality within the constraints of few pixels. It is the image that is so free from blur that you can see the pixels on your monitor. It is your monitor that is to blame! (Carsten's point) Don't get yourself a foveon sensor
Oct 26, 2012 at 03:32 PM
Grenache
Offline
Details
p.2 #15how to sharpen for the web?
AhamB wrote:
Bifurcator wroteBut this TIFF image has already been sharpened. So more sharpening (or trying to show a different method all together) just messes it up. Without posting the RAW this is senseless IMO.
Capture sharpening is standard. It will be negated anyway when you downsize.
Btw, your idea of "microcontrast boosting" isn't bumping clarity to 100, I hope?

@Jim: You probably mean image size and not file size?


Yes. I view pixel dimensions as file size...just area rather than megabytes. They are both size in the end, right? I don't need to step on a scale to know that the size of my waist should be smaller.

:-)

Oct 26, 2012 at 04:21 PM
Picture This!
Offline
Details
p.2 #16how to sharpen for the web?
Here's my attempt at sharpening this
from the unsharpened tif, resized to 2134px on longer edge, bicubic, frequency based sharpening applied, then resized to 1280px on longer edge followed by my sharpening routine again.

Oct 26, 2012 at 04:43 PM
buggz2k
Offline
Details
p.2 #17how to sharpen for the web?
Shrug, I never do anything special when I am "finished" editing.
I just have Bridge send it to PS via the Image Processor, change color profile to sRGB, jpg file type, and re-size.
Oct 26, 2012 at 06:14 PM
Jonas B
Offline
Details
p.2 #18how to sharpen for the web?
Interesting, and a surprise for me:

Here is the original TIFF (unsharpened version),just resized just using Photoshop and "Bicubic (best for smooth gradients)":
http://photos.imageevent.com/jonas_b/fotoforum2012mixed/fmaltgear2012/resizeMe-2_unsharpened_1280.jpg

Here is my take on it:
http://photos.imageevent.com/jonas_b/fotoforum2012mixed/fmaltgear2012/resizeMe-2_Jonas.jpg

...and here are some 100% crops from a couple of versions:
http://photos.imageevent.com/jonas_b/fotoforum2012mixed/fmaltgear2012/resizeMe_crops.jpg

The surprise for me is that the difference between my way of doing it 5 years ago and how I do it today is close to zero. I think I have to pay more attention about how I do this, maybe follwoing some of the recipes you have shared here. I would like to get more details visible at some places of the image but still not getting halos at all.

The method I use today includes downsizing in steps (50% at a time) with some slight Smart Sharpening (100% 0.1) until the last resize where downsize to the desired output size. There I use typically 40% and 0.4 in Smart Sharpening and finally I remove some small halos (having saved the original layer through the process).

OK, something for me to ponder during the winter.
Oct 27, 2012 at 05:29 AM
alundeb
Offline
Details
p.2 #19how to sharpen for the web?
Jonas B wrote:
...and here are some 100% crops from a couple of versions:
http://photos.imageevent.com/jonas_b/fotoforum2012mixed/fmaltgear2012/resizeMe_crops.jpg

.


For the record, I stand by my GaussBlur - NN - De-GaussBlur method without final USM, that will be my post #8 above. In fact, it will go into my workflow.
Oct 27, 2012 at 07:49 AM
Jonas B
Offline
Details
p.2 #20how to sharpen for the web?
alundeb wrote:
Jonas B wrote...and here are some 100% crops from a couple of versions:

.
For the record, I stand by my GaussBlur - NN - De-GaussBlur method without final USM, that will be my post #8 above. In fact, it will go into my workflow.


Correction; the crops aren't 100% crops of course, just crops from the 1280 pixel wide images.

I'll have another look #8 above. I like your results and will see if I can make the same with a couple of images.
Oct 27, 2012 at 08:08 AM
FM ForumsLeica & Alternative GearJoin Upload & Sell
  
 

You are not logged inLog inRegister

Switch to mobile view