Showing posts with label lens. Show all posts
Showing posts with label lens. Show all posts

Tuesday, May 29, 2012

Is it in Focus?

I recently wrote about lenses and perspective. In there I mentioned following up with a post about depth of field. I assume that most of my readers are familiar with the term. If you need a refresher, I suggest starting with this Tutorial from Cambridge in Colour.

The main control we have over depth of field is the aperture of our lenses. Wide open (lower number f/stops) we get less depth of field. As we stop down (larger f/numbers) the depth of field increases. But stopping down the lens can have negative effects, too. Small apertures lead to an effect called diffraction that lowers the image quality. Think of what happens when you put your finger over the end of a faucet. The smooth flow of the wide open faucet turns into a wild spray. So, you can stop down too far and get a lot of depth of field, but with an overall loss of image quality. What aperture you start to suffer diffraction at will vary with sensor size and specifications. Too much math to go into here, so I suggest you take a visit to Cambridge In Colours excellent tutorial on diffraction. While there, read all the other tutorials. This guy is good!

I just wanted to cover some of the questions that might come up when looking at the images in my most recent post about focal length and compression. Consider these two images

24mm at 48"
85mm at 48"
They were both taken at f/5.0, but the top one, taken with a 24mm lens shows the grid patter in the background more in focus than the lower image taken with the 85mm lens. Well, of course. We've all been told over and over that you get more depth of field with a shorter lens. But is that really true?

It is partly true. In this case it is true because the images were taken from the same camera position and the one taken with the 24mm lens was cropped in from this original 

24mm not cropped
So, we do see more depth of field, but at a considerable loss in resolution. The image taken with the 85mm lens is 3744x5616 pixels, while the crop from the 24mm lens is only 995x1492 pixels. That's fine for a 3x5 print or for use online. But not for much more. If you need to print an 8x12 or larger the lack of pixels is going to be a much bigger issue than the extra depth of field you gained by using a shorter lens--unless that non-cropped version of the photo is really what you wanted.

What if you decided to move in closer with the 24mm lens to get the subject to be about the same size in the frame? Then you do get your full 3744x5616 pixel image. But it is a very different image. The look of the subject is totally different as seen here...


And the depth of field has shrunk back to where it was with the 85mm! What's with that? The shorter lens is supposed to give more depth of field, isn't it? Yes, when used at the same camera to subject distance. But when you move in to get the same framing you counter that.

The fact of the matter is that focal length alone is not a contributing factor in calculating depth of field. You need to combine focal length with the camera to subject distance. So, it is more like magnification in the original image is the contributing factor. If the main subject is the same size on the sensor with a long or a short lens the DOF will be approximately the same.

Let's look at these images, which were all taken at f/22...

35mm full frame
200mm full frame
35mm cropped
For these the camera was moved to try to maintain about the same size head in both frames (same magnification). Here we see that the images taken with the 35mm lens and the 200mm lens exhibit similar depth of field. The yellow text on the black disc in the background is blurred about the same. The overall effect of the 200mm vs the 35mm appears that the subject stands out more in the 200mm version. But that is more about the limited field of view behind the subject. The blurriness is about the same in each, but there is a lot less background to be noticed in the photo taken with the 200mm lens. In the photo taken with the 24mm lens there is a lot going on in the background, and despite being equally out of focus there is more context available for our brain to tell us what is back there (fence, table, my wife Kim, etc.).

And overall, the image quality on the 35mm photo is lower, as seen below...

200mm full frame, no cropping
35mm full frame, no cropping
Both of these images were taken at f/22. As noted in the last post, the perspective is the same (camera and subject weren't moved, I just changed lenses). But if we enlarge the center section of the 35mm shot we get this...

35mm cropped to same framing as the 200mm
Here we can see the 35mm image has more depth of field (the text on the black disc is not as out of focus), but suffers a lack of contrast and overall loss of edge detail that I am chalking up to diffraction. Here is another comparison. This time both images are taken with the same lens in the same position, but one is at f/16 and the other at f/2.8. While the f/16 version has greater depth of field, the f/2.8 version appears more crisp and contrasty. I admit I added to the challenge here by working in less than ideal conditions with strong backlight. But this is a situation we often find ourselves in.

f/16
f/2.8

Anyway, I just want you to stop and think about the generalizations we hear every day as we learn about photography. Telephoto compression, stopping down for better images, focal length and depth of field, etc., etc. All of them have an element of truth to them. But they are often only half the story.

I end this as I started, by suggesting you visit the Depth of Field and other tutorials at Cambridge In Colour where they go into great technical details.

And after that please go out and do your own experiments. Then share what you learn in the comments here.

Thanks!







Monday, May 28, 2012

Lens "compression?"

Or, why should you get up and move around when making a photograph.

Just a quick question... Which compresses a scene more, a short or a long lens? Don't be so quick to come up with your answer. In each pair of photographs below one was taken with a wide angle lens and the other with a telephoto. Big thanks to one of my favorite models* for obliging me here.

24mm lens at 48 inches
85 mm lens at 48 inches
35mm lens
200 mm lens

While the lens was changed between each image, the camera and subject were stationary. If the camera to subject distance stays the same, the perspective (relationship between objects in the scene) stays the same. The wide angle lens lets you get more of the scene into the frame. The telephoto lens lets you fill the frame more selectively. But for the part of the scene that is common to both the perspective will be the same.

Here's what the original full frame images look like from the short lenses. The images taken with the longer lenses were not cropped.

24mm at 48 inches, no crop
35mm, no crop. Same distance as with the 200mm
However, if you do move the camera, things change dramatically, as seen in each of these non cropped images. By moving in close to fill the frame with the 24mm lens we get a much different drawing of the face than we do filling the frame with the 85mm lens. It isn't the lens, however, that is causing the different looks--it is the camera to subject distance. The lens just lets us fill the frame the with the subject's head at the different distances.

24mm at 12 inches
85mm at 48 inches
Getting physically closer to the subject slims the subject's face by making the relationship between nose to eyes to ears stretch out. As you take your camera and move back away from your subject the nose/eyes/ears are all relatively closer to each other, resulting in a flatter overall look which makes the subject look wider.

This works outside as well as in the studio.

35mm cropped from the image below
35mm full frame
Compare the 35mm** crop here with the 35mm crop in the third image from the top of this post to compare the compression. Same lens, but different camera to subject distances.

Keep in mind that objects close to the camera will appear larger in your photographs. But it is all relative. At 48 inches away your subject's nose, eyes, and ears are all relatively the same distance from your camera. When you move in so the nose is only 12 inches from the camera it is relatively a lot closer to the camera than the eyes and ears, so the eyes and ears are proportionally further away and look much smaller.

Consider this illustration (not to scale)...

In reality (above)

What it appears like from being in close


Pay attention to the relationship between the yellow and green shaded areas above. Note that close or far, the green shaded area remains the same size. In this illustration I have shown the green area as nose/eyes/ears at 12 inches and 48 inches. However, you can also think of the subject as a rock, trees, and a mountain and 12 feet and 48 feet. What I want you to see is that you move closer to or further from your subject the elements in the scene maintain their relationship between each other (nose/eyes/ears or rock/trees/mountain). No lens is going to change that relationship. If you switch from a 100mm lens to a 20mm lens without moving the camera, everything in the frame is rendered at 1/5 the size it was before. The relationship between those objects stays the same, but we see more of their surroundings.

At the top we see the camera to the nose is 12" and to the eye is 13" and it is 16" to the ear. When we pull back those numbers change to 48", 49", and 52". The tip of the nose to the ear in each situation remains about 4" and isn't going to change whether we're close or far away, or whether we use a short or long lens. What has changed is the yellow shaded area. Up close that 4" is relatively similar to the 12" camera distance. The ears are 1/3 again as far from the camera as the nose is. Moving back that relationship changes so that the ears are now relatively the same distance from the camera as the nose is (just 1/12 again as far). The further you move back from your subject the more pronounced the effect. Hence the appearance of "compression" or flattening of the view caused by backing away from your subject.

As noted, the same thing happens in landscape photography. Just substitute rock/trees/mountains for nose/eyes/ears. Move in close to an object and it becomes big in the scene and everything behind it starts to fall away in size. But if you back up far enough the relationship between the objects gets tighter (compressed). It doesn't matter if you have a short or long lens, the compression is the same. What the lens choice does is allows you to get more into the frame (short lens) or to zero in on a particular part of the scene (long lens).

If you stand in one spot and use a zoom lens the perspective stays the same. In many cases this is exactly what you want, and there is nothing wrong with that. But if you take the opportunity to move around your subject and change the camera to subject distance, whether with a prime lens or a zoom lens, you open yourself up to more variations and possibilities. Move in close to emphasize size differences and select a shorter lens to take it all in. Move back to de-emphasize size differences and select a longer lens to bring it all closer to you. You could use a short lens and get the same compression, as shown above, but that leaves you with tiny subjects that you will need to blow up to billboard size to recognize, with an inherent loss of quality.

You have probably noticed differences in the depth of field and overall image quality in the outdoor examples. I'll discuss that in a future post. For now, just start moving around and view things in different perspectives.

Then come back and let us know what you discovered in the comments below.

Thanks!



*I use a mannequin for these examples for a variety of reasons. One is that I can make sure the model doesn't move between camera setups. Another is that I hope the audience won't be distracted by the look of the model and facial expressions that might otherwise influence the look of the image.

**The short lens used in close was actually zoomed to 32mm. Oops! But it doesn't change anything about the lesson.



Wednesday, November 9, 2011

Perspective (again)

I've been seeing some tweets and Facebook messages about how lenses affect perspective and the drawing of the human face. My argument is that the lens doesn't cause the different look, but rather the distance from camera to subject does. The lens focal length just determines the angle of view or what fits into the frame. I could refer you to my previous blog post from this year on this. Or the one before that in 2009. Or even a post from 2007. But no, I'm going to write it all up again for your enjoyment.

I'm not saying that you should photograph everything with a short lens and then crop later to get your composition. But I am saying that you should determine your camera to subject distance to set your perspective and the relationship between items in the photograph and then select the lens focal length that fills the frame appropriately. Don't blame your lens(es) for perspective distortion (expansion or compression of the scene).

Here is a set of 3 images. I'm using a mannequin here instead of human so that there would be no movement between the photographs. One was taken with a 200mm lens, one with a 35mm lens, and one with a 16mm lens. The fourth image takes the 200mm and the 16mm images and combines them in separate layers in Photoshop. I then set the blending mode to "difference" to show how the two images compare. The pixel and noise structure of the two images accounts for the variations inside the facial area. But if you look at the outline of the face, you will see that it is exactly the same in both images. Changing the focal length did not change the perspective. Can you tell which image was taken with which focal length lens?

200mm and 16mm images overlayed
on each other in Photoshop's "Difference"
blending mode. The facial shape and
features are the same.

Here are the full frame originals to show the size differences due to the various lens focal lengths...
200mm lens from 8' away
35mm lens from 8' away
16mm lens from 8' away. Notice that
the relationship between objects
in the scene are the same even with
the widely varied focal lengths used

And to round out the comparison, here are three photos taken with the 200, 35, and 16mm lenses where the camera to subject distance was changed to try to maintain the approximate same size of the face in the frame.

200mm lens from 8' away. Facial features
are flattened. Nose, eyes, and ears are
all similar in size. The face appears slightly
wider than "normal"
35mm lens from about 2' away. Facial
features are more pronounced. The nose
is larger than the ears. The face is
narrower than "normal"
16mm lens from a few inches away.
Facial features are even more distorted.
The nose comes forward, the ears are
much smaller. The face is much narrower
than "normal"

Once again, I'm not suggesting that you take your portraits with a short lens from far away and then crop. I just want to show and help understand that camera to subject distance is what affects the perspective in a photograph. Too often the lens gets blamed for this. Select the appropriate lens for the situation.

Remember, a shorter lens doesn't cause the perspective change. But it does allow you to move in closer so that you get that distortion. And a long lens doesn't compress depth. Blow up the center section and you will find they match (like in the first three images above). Photographs taken with different focal length lenses, but from the same camera position, show exactly the same perspective in the section of the scene that is common to all the different angles of view of the various lenses.

Thanks for putting up with this again!

Sunday, October 11, 2009

Continuing on focal length

Just a quick demo/test/quiz. Here are two photos of a mannequin. The camera was placed on a firm tripod and did not move between the shots. Photo A was taken with a 300mm lens. Photo C was taken with a 16mm lens. Again, the only difference between the two is the focal length. The camera and mannequin remained stationary between the shots.





Now for the quiz. Photo B...



Which lens?

Answer, 16mm. But cropped in to show the same angle of view as the 300mm. Determination? The 16mm and the 300mm show the exact same perspective.

Photographs taken with different focal length lenses, but from the same camera position, show exactly the same perspective in the section of the scene that is common to all the different angles of view of the various lenses. Perspective is not affected by focal length, but by camera to subject distance. Short lenses appear to stretch perspective because we tend to use them from in closer. Long lenses appear to compress images because we almost exclusively use them from further away. We don't use long lenses in close because their field of view is too narrow and they often cannot focus as close as we would want. So we move back to get the framing we want, and thereby affect the perspective.

What would happen if we used the 16mm lens but moved in closer to fill the frame the same as the 300mm? Then we see the drastic perspective change...

Again, the perspective change is from moving the camera. The wide angle lens allows us to get in this close and be able to capture the full scene. But it doesn't cause the effect.

Tuesday, September 22, 2009

Considering Focal Length

Here is a piece that I wrote for the Seattle Photographic Society's Cable Releases newsletter this month:

The focal length of a lens determines the size of the image projected onto the film/sensor. It also determines the angle of view, the area of the scene which will be recorded. Different focal length lenses are given descriptions like normal, wide, ultra-wide, long, telephoto, etc. These are not absolute designations. For example, a 50mm lens would be considered "normal" for a 35mm camera, but would be a wide angle lens on a 6x6cm (medium format) camera. And 50mm would be considered a moderate telephoto on most (non full-frame) digital SLRs that have a sensor that is smaller than a 35mm fill frame.

The shorter the focal length of a lens, the smaller an object will appear on film (I will use the word film to describe actual film or a digital sensor in this article) when the subject remains at a set distance from the camera. Similarly, a longer lens will make the subject larger without moving the camera position. Focal length and image size are directly proportional. Double the focal length and everything in the image doubles in size.

Different focal lengths present different challenges to the photographer. Short lenses have a wide field of view and often include more of a scene than we really want unless we move in closer (which changes the perspective). Long lenses magnify more than just the subject. They magnify any camera movement causing blurs, leading to the necessity of using a tripod or other stabilization device.

Choosing a lens focal length is pretty easy when you are forced into the selection. If you cannot back up, use a shorter (wider angle) lens. If you cannot get closer, use a longer, narrower angle lens. There! The decision is made. Go take your picture.

But what about the creative side? When you do have options, which lens do you use? Sometimes you have all the room in the world to back up. But you might still want to use a wider lens because you want to get closer to your main subject, yet take in a field of view that shows the surroundings. Examples of this would be coming in close on a rock or plant in the foreground of a landscape scene. By coming in close you alter the perspective of the scene to make the foreground object appear much larger in relationship to the background (or the background much smaller in relationship to the subject). The use of the wide angle lens allows you to capture this. If you used a longer lens from further away you could get the same size for the subject, but the background would show less of the environment, helping isolate the subject. Both are viable treatments, but the looks are very different.

Conversely, you might be in a situation where you are able to walk right up to within inches of your subject. But instead you might select a longer lens to force yourself to move back from your subject, thereby giving you a more normal perspective on the scene. Most of the time we think of this in relationship to pictures of people (portraits). We want to stay a minimum of about 5 or 6 feet back from the subject of the photo so that their facial features are not distorted. We can keep our distance and take the photograph with any lens (the distortion comes from the camera to subject distance, not the lens). Here, the selection of lens focal length here will determine the framing. With a short lens at 6 feet we might get the entire person in the photo. If we want just their head and shoulders we have to crop in and lose quality due to the cropping and enlargement. We cannot move in closer, or things will distort. But if we select a longer lens (maybe 2 times the focal length for the "normal" lens for our film format (35mm, APSc, 6x6cm, etc.) we can maintain the working distance and fill the frame better. As noted above, moving back and narrowing the field of view also helps isolate the subject and make them stand out from the background.

What is not always so obvious is that the same thing applies to landscape photography. In my opinion, too many times a photographer puts on a short lens for a landscape image and is disappointed with the results. There is too much foreground or too much sky, or both. The image can often be improved by using a longer lens and moving back. This is not the same as cropping in. If the photographer kept the camera in the same position and switched to a longer lens it would have the same visual effect as cropping. But what I'm suggesting is moving back so that the perspective changes.

Here is an example. Take a field with a tree in the foreground and a house in the distant background. With a 50mm lens we stand 20 feet from the tree to render it a nice size in the image. But we find the house to be too small in the background. By moving back to 40 feet away and changing to a 100mm lens we find that the tree remains the same size because we balanced the the doubling of the distance with the doubling of the focal length. But the house is now noticeably larger in relation to the tree because the distance to the house has been changed a smaller amount. If the tree was originally 20 feet away and the house was 50 feet away, moving back 20 feet to 40 feet doubled the distance to the tree, but only changed the distance to the house from 50 feet to 70 feet. This is sometimes referred to as "telephoto compression," but is really based on the camera to subject distance, not the lens.

To zoom or not to zoom?
That is the question. While it is nobler in the eyes of some photographers to use prime lenses (fixed focal length, non-zoom lenses), I offer the contradiction that a zoom lens gives you much better control over the final image. Years ago zoom lenses were often of inferior optical quality, so prime lenses were required for the best image. But many of today's zoom lenses offer quality rivaling that of prime lenses.

We've all probably heard the saying, "zoom with your feet, not with your lens." I have to disagree. You cannot zoom with your feet. Zooming implies maintaining the relationship between objects in the frame. Once you start moving the camera, the relationship between objects changes. You set the camera to subject distance to give the overall look of a scene and set that relationship. You then select the focal length lens to fill the frame. With prime lenses you often cannot frame the scene exactly as you want it and have to later crop in post processing (digital or dark room) or move and change the photo. With a zoom lens you have the ability to keep the camera stationary and alter the focal length to get the cropping done in camera. If you zoom with your feet (move in closer or move back) you change the relationship between the objects in the photo (not necessarily a bad thing, but it is a different picture).

Photographic Seeing
Many book chapters have been written about the differences in seeing between eye and lens. I strongly recommend picking up one of the many books by Andreas Feininger written in the late 60s or early 70s for detailed discussions of this. I will offer here some of his observations:

1. While a lens mechanically reproduces everything within its field of view, the eye/brain combination consciously perceives only those aspects that you are momentarily interested in. It disregards and doesn't notice the rest of the scene. The lens is objective, the eye/brain is subjective. The photographer has to learn to pay close attention to everything within the image, no matter how insignificant or dull it might seem. It is always those "unimportant" parts of the image that ruin the photograph.

2. The visual impression is only a part of what we take in. There are sounds, smells, vibrations, and possibly other people around us that all contribute to what the eye/brain sees. The lens only captures the visual part. The photographer must learn to mute senses other than sight and then be satisfied that the visual aspect of the subject is enough to reflect its essence.

3. A photograph presents a subject taken out of context. There is a frame around it. Peripheral vision is cut off by the boundaries. No matter how important those peripheral influences are in real life, they are not in the photo. The beautiful blue sky doesn't help when you come in tight on a clump of flowers, though it might have been part of what drew you in to take the close up photo. The photographer must learn to evaluate his subjects on their own merits and disregard everything outside the scene.

4. Because our eye/brain works so quickly, we sometimes think that we see everything sharp simultaneously, no matter its distance. But the camera lens can only be focused on one specific plane at a time, showing objects in front of or beyond this plane increasingly blurred the further they are from that plane. And at the same time, the eye/brain can be very selective and let you concentrate on just a part of the scene, whereas the camera lens, when stopped down, will give equal sharpness to the entire scene and remove the concentration. The photographer has to learn how and when to control the sharpness.

5. The eye/brain can adjust automatically to brightness levels in a scene as we look around the scene. The lens diaphragm stays the same throughout the exposure, and can lead to both over- and under-exposure in the same scene. The sky blows out white, the trees turn to black and only a little of the mid-tones appear as we expected. The photographer has to learn to recognize excessive subject contrast and control it (fill light, reflectors, or just move on without taking that picture). Similarly, the eye/brain adjusts to changes in the color of light. Whether in daylight, tungsten light, etc. a sheet of white paper appears white to our eyes. Not so to film. The photographer has to learn to control white balance with camera settings, filters, or post processing.

Theory to practice
Of course a lot of this photographic theory goes out the window in the real world. But I think it is important to have the theory buried someplace in the back of your mind. I'm the first person to admit that I often don't see the photo until after I take it--sometimes seconds later, sometimes a month later when looking at a set of images again. Much of the process, for me, is subconscious. Something catches my eye and I react. Other photographers are very methodical and go through pre-visualization processes, knowing everything about the image and its final print before clicking the shutter. As in most things artistic, there isn't a right or wrong way. Find the way that works for you and have fun with it!

Wednesday, February 13, 2008

Pop Quiz Time!

I have three example images here (A, B, and C). Two lenses were used (a 24mm and a 100mm). Can you tell which lens was used for each? Can you tell if the aperture is the same in all three or different?

Example A:


Example B:


Example C:


Post your answers in the comments section. Once we have a couple of comments I'll post a description of the images and background information.

Thanks!