Orquid "Phoenix"

Orquid "Phoenix"

by ceinmart

submit your photo


Hall of Fame
View past winners from this year

Please participate in Meta
and help us grow.

Take the 2-minute tour ×
Photography Stack Exchange is a question and answer site for professional, enthusiast and amateur photographers. It's 100% free, no registration required.

I have seen several questions talking about images being soft or sharp. What is the difference? Is soft simply the opposite of sharp in this context, or is there something more to it?

Sample images would probably help a lot.

share|improve this question
1  
Related: Why buy an intentionally soft lens? –  mattdm May 29 '12 at 16:50
    
Having a mathematic or physical definition of sharpenss (whithout beeing too technical) wold be nice imho. –  Paolo Jun 1 '12 at 12:50
    
@Paolo: does it sound accurate? –  clabacchio Jun 4 '12 at 13:55
add comment

5 Answers

up vote 6 down vote accepted

Sharpness is the opposite of softness but there is a whole spectrum between them. In a soft image, details are less pronounced which means that the difference between adjacent pixels is smaller. Conversely, when an image is sharper there is more contrast between pixels which is sometimes referred to as micro-contrast as opposed to overall image contrast.

The level of sharpness depends on the entire system, not just the lens but also the anti-alias filter all the way to the method used to interpolate colors from sensors which use a color-filter array (Non-Foveon sensors basically).

Check out this demo from the Pentax K-5 review. The K-5 and K-7 have the most sophisticated sharpness control of any digital camera. Sharpness is controlled in 9 steps on one of 3 scales. The default position is 0 but if you select -4 at the bottom scale you will see a very soft image. If you select +4 you will see a sharp image. Note that the setting of +4 is what people call over-sharpened which means the contrast between adjacent pixels was increased so much that artifacts are introduced (just look at the edge of the parenthesis on the left).

You can also select another scale and see the difference between the Sharpness and the Fine Sharpness or even Extra Fine Sharpness scales. These use different sharpening parameters which are designed to work on different levels of details. At the extreme of the Extra Fine Sharpness scale, it even sharpens noise!

What is really interesting is that this is the same image which you can see with different levels of sharpness. Only one shot was taken and it was developped in-camera from DNG to JPEG uses all possible sharpness settings. Of course, the sharpness you start with and how much you get out of it depends on the quality of the lens used. Some lenses inherently produce softer results which you can sharpen by software but limits to how far you can go without introducing nasty artifacts. Even worse is that the sharpness of a lens is not uniform so will usually by highest in the center and also changes with the selected aperture.

share|improve this answer
add comment

Since an image is basically a 2-dimensional matrix of numbers (3rd dimension for colors: RGB[A]), it's possible to define a "sharpness" parameter for it, though the perception of it will be subjective.

Sharpness is related to amount and "quickness" of the changes in colour, and can be evaluated executing the Fourier transform (the Fast Fourier Transform is used because it's quicker) over the image.

So you can define the sharpness as the presence of high-frequency content and its intensity. A way to have an indicative evaluation is to pick an horizontal line of pixel and execute the Fourier transform on it.

For instance, if you pick an uncompressed image with only black and white vertical stripes (maximum sharpness):

enter image description here

and pick just an horizontal line, you'll have something like this:

enter image description here

This is the equivalent of a square wave, which transformed looks like:

enter image description here

(image the peaks extending to the infinite, as the edge is virtually instantaneous).

If you smooth the edges, the result will be something like (very approximately):

enter image description here

And the spectrum (again, just indicatively):

enter image description here

As you can see, only the first harmonic (defining the dark and bright areas) has remained equal, while the higher frequency content has strongly decreased. This is the result of smoothing the image, and you can see how a smoother image has less high frequency content. The same applies for "normal" pictures, where increasing the contrast also increases the frequency of changes.


As an evidence, it's also used in JPEG compression to remove the highest frequency content (depending on the quality factor) to reduce the image size.

If I manage to have Matlab working, more detailed examples are coming.

share|improve this answer
    
Cool :) In fact I studied ft for one dimension signals and this explanation is very clear for me. I didn't imagine sharpness is just that, even if i used hp filter in photoshop to get sharper images... :D –  Paolo Jun 4 '12 at 14:29
    
@Paolo well the high-pass filter is not just that, it takes the high frequency content and amplifies it, but only to a certain degree: it should leave the low frequency content almost unaltered to sharpen images –  clabacchio Jun 4 '12 at 14:32
    
Also, note that sharpening a soft image will increase the noise, because once the picture is taken the "signal/noise" ratio is set, therefore increasing one will increase the other. Of course you can manually tweak the sharpening filter to only work in selected areas. –  clabacchio Nov 1 '13 at 7:43
add comment

If you're talking about focus, soft focus usually means a shallow depth of field and slightly blurred focus, which creates 'soft' edges around the subject. Sharp focus usually has a greater depth of field and exact focus on the subject. More of the image in focus makes the edges appear 'harder'.

share|improve this answer
add comment

Softness - in its most basic sense, is a lack of (or less) edge definition (edge contrast) and/or fine detail, when compared with a "sharp" image.

It is not possible for a single coloured image (eg an image containing only a red fill) , or an image with very little detail, such as a gentle fade, to be classed as either soft or sharp, as there is no defined contract area or fine detail to base "sharpness" on.

Anti-aliasing softens edges by fading one colour into another, thereby reducing "sharpness"

you can soften an image (you loose information) but you cannot sharpen an image accurately (you have to guess / make up information)

@paolo - it would be technically possible to create a mathematical scale rating sharpness - imagine an image of black squares on a white background - if the image was pixel-perfect there would only be 2 colours of pixel - black and white, giving you a sharpness rating of, lets say 2 (lower is sharper) - if this image were anti-aliased, the edged would be slightly blurred, giving you a few extra colours (greys) giving it a sharpness rating of lets say 5 (black, white and 3 greys).

share|improve this answer
add comment

In practical terms it is how narrowly a point is rendered on the image (circle of confusion is one term), more narrow is sharp, less is soft. So in effect, sharp is a synonym for focus. There are software techniques for trying to improve or degrade sharpness but the sharpening is rarely as convincing as the effect produced by a properly focused good lens.

share|improve this answer
    
And I always thought circle of confusion a term representing the photographers state of mind, rather than anything to do with the image. –  Chris Walton Jun 7 '12 at 7:06
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.