AdSense Mobile Ad

Showing posts with label focal length. Show all posts
Showing posts with label focal length. Show all posts

Friday, August 17, 2012

Night Photography: A Tip to Photograph Stars (and Other Point Light Sources)

Mastering night photography is not that difficult, nonetheless it has its own peculiarities you should be aware of. In this blog post we will see how one of the basic rules we learn about exposure is no longer valid when shooting stars.

One of the first things you certainly learnt when you started learning photography was how exposure is determined by three parameters: aperture, shutter speed and ISO sensitivity. Each one has multiple effects on the final result (most notably depth of field, motion blur and noise), but each one can be used to determine how much light enters your camera and reaches the sensor. Aperture, though, has a peculiarity: it's not an absolute measure, but a relative one. In fact, the f-number is not a measure strictly speaking: it's a pure number. The f-number N is the ratio between the focal length f of the lens and the diameter r of the entrance pupil:


Basically, the luminance (the "brightness" of the resulting image) depends only on the relative aperture and not on the absolute value of either lens parameters alone. In fact, when evaluating exposure, you just use the f-number: no matter the focal length or, more generally, no matter which lens you're using, if the f-number is the same, exposure is going to be the same. If you stop your aperture up or down, exposure will stop up or down accordingly.

This is true most of the time and is a consequence of the physical model of an optical system such as a single aperture camera (or the human eye). We've seen many time the equation


which summarizes this basic rule: luminance (in f-stops, hence the logarithm) is proportional to the square of the aperture N and inversely proportional to time t the shutter remains open.

What Happens When Shooting Point Light Sources?

When shooting stars, or more generally point light sources, however, the model changes and this result is no longer valid. A point light source, in this context, will be defined as a source of light whose size in the resulting image will smaller or equal to one pixel. Perfectly in focus, and depending on your sensor's resolution, some stars and planets may in fact appear bigger than one pixel, but not that much. Hence, this approximation can be considered good enough.

The reason why this happens is not complicated but requires some knowledge of Mathematics and Physics but since a photographer is usually only concerned with results and the rules to apply, I'll try to provide just a very summarized and intuitive explanation.

Let's start with a couple of analogies, although pretty "rough". It's absolutely intuitive that, the farther from a sound source, the fainter the sound you perceive. It's also intuitive that when shooting with a flash, the farther from the subject, the fainter the light that reaches it and, hence, the fainter the light reflected to your camera sensor. Now: why doesn't a similar effect exists when shooting any subject? A picture is produced by the light reflected on the subject: why isn't exposure affected by the distance from it?

It turns out it's a consequence of two competing phenomenons which, under certain circumstances, "balance" themselves and cancel out the contribution of the distance. It also turns out that the result is the general well known law we were talking about at the beginning of this article, hence the importance of the relative aperture, the f-number, in the field of photography.

On the other hand, when shooting point light sources (as the majority of stars in the night sky can be considered) the two competing phenomena don't balance themselves any more. In fact, one of the two practically disappears and the focal length f of the lens doesn't affect exposure any more. In this case, the result is similar to what we described in the analogies we above: luminance is inversely proportional to the distance from the subject but, much more importantly, it is proportional to the diameter of the entrance pupil. Having disappeared f from the equation, the result depends solely on r2 (a quantity proportional to the area of the entrance pupil) and not on the relative aperture. This fact is somewhat intuitive, if you think about it: the larger the area of the entrance pupil, the more light it can gather. Seen from this point of view, in fact, the usual rule is probably less intuitive: lenses configuration with the same aperture N may have entrance pupils of different sizes. Why, then, they give the same effect? That's because of the two components we were talking about, but we won't enter into mathematical details.

Since


it turns out that focal length does affect the final exposure, given N.

How? This model predicts that an increase in the focal length of the lens keeping the aperture N fixed increases exposure, since it increases the area of the entrance pupil. Although you won't be usually shooting skies with long lenses, you could take advantage of this fact to reduce shutter speeds, especially taking into account that detected luminance varies with r2 and, hence, with f2, the square of the focal length.

Some estimations are quickly done: if you increase the focal length from, let's say, 18 to 35 (using the same aperture), you'll increase the quantity of light reaching the sensor of a factor


that is, 2 stops.

It's important to realize that this effect applies only to point light sources, that is, small stars whose size in the picture is comparable to, or smaller than, the size of a pixel. It doesn't apply to the moon, to bigger stars and planets and not even to the sky itself. Nevertheless, it's a good trick to know if you want to maximize the number of visible stars in your picture.

Sometimes you may be tempted to stop down the aperture to have a better focus at infinity, especially when the lens you're using hasn't got a hard stop at infinity (many cheaper lenses, such as most Nikkor DX lenses, have not). In this case, instead of indiscriminately or heuristically stopping down the aperture, use the hyperfocal distance instead (which we talked about in a previous post) to get a good focus lock at infinity and determine exactly the depth of field you need. If you can, open your lens as much as you can.

Tuesday, January 17, 2012

Angle of View and Focal Length: A Rule of Thumb for a Quick Estimation

Nowadays there are plenty of zooms lenses for any budget and many photographers aren't using big lens bags any longer. In fact, some lenses such as the Nikkon 18-200mm (in its various incarnation) are jack-of-all-trades that satisfy the needs of many photographers out there.

However, there's people who prefer carrying more lenses of different focal lengths and, possibly, better optical quality. I'm one of them. I'm not implying that the 18-200mm is a bad lens: it isn't. I simply made other choices.

Be it as it may, the point of this post is the following: you're framing a picture with your camera and you realize you need a longer lens to get the shot you've got in mind. The question is: Which focal length do I need?

More often than not, you're not carrying many lenses and the answer may be simple: the one you've got. Sometimes the estimate is easy, sometimes it is not. Imagine you're framing the shot with a 35mm and you deem it insufficient. Would a 100mm do the job? Or a 200mm? And what about a 300mm?

Other times you cannot even decide by trial and error: you haven't got any more lenses and you want to buy one. But you want to be sure beforehand.

You've probably experienced such a doubt. A common situation amongst novices with a telephoto lens is shooting the moon. You take your brand new 200mm lens (or whatever) and you frame the moon only to realize that your lens is way too short to get the amazing picture of the moon you wanted to take.

What focal length do I need?

Tradeoffs

Before getting deeper into the subject, let me tell you about some tradeoffs. They're obvious, but many people seem to miss them anyway:
  • Zoom with your feet.
  • Crop.

Zoom With Your Feet
The first advice I can give you is: zoom with your feet. This is the best tradeoff since it's got many advantages. Focal length is just one of the parameters and, sometimes, long lenses may prevent you from doing what a good photographer should do: walk around your subject, look for a good or an unusual point of view, change perspective and so on. The lens is a tool, it's up to you deciding how to use it.

There are times, however, when you can't get closer to your subject. There's no way to get closer to the moon on foot. There are ways to get closer to a leopard in the wild, but you aren't going to do it either. Other times you don't want a bird to see you and fly away. In this case, you do need a longer lens.

How long? Read on.

Crop
Nobody likes cropping: you've spent money on a good sensor and you want to squeeze any possible detail from it. I agree. However, it's better to crop a shot rather than lose it anyway. How much crop you can afford depends on what's the purpose of the image. If you just need a decent print, you can calculate beforehand how much crop you're willing to trade in for a better composition.

A 16 megapixel sensor, for example, gives an image almost 5000 pixels wide and more than 3000 pixel high (landscape frame). If you're going to print such image at 300 dpi, you're going to get approximately a 16" x 10" picture (42 cm x 27 cm). It's big, isn't it? If you crop it to half of its size, you're left with enough resolution to get a 8" x 5" picture (21 cm x 13.5 cm). Big enough for many uses.

Obviously, details aren't going to be as sharp as on the original image but it can be enough.

Look at this picture of the moon, for example:

200mm - Cropped to 2500x1600 pixels

It was taken using a 200mm lens and cropped down to approximately 2500x1600 pixels (scaled down further for inclusion in this blog).

It's not state of the art but still, some details of the craters are still visible.

However, this image, as whichever image you see in your viewfinder, can help you estimate the focal length you need to get the picture you'd like.

Angle of View

Here's some theory to answer this question. The angle of view can be calculated easily using the sensor (or film) size, the focal length of the lens and the distance to the subject. Since we're talking about telephoto lenses, we'll use a simpler model that simplifies a bit the maths and the resulting formula assuming that you're focusing at infinity (or sufficiently far away). This assumption holds in this case: we're talking about getting closer, hence it's safe to assume that we're pretty far away.

The maths tells us that the angle of view a of a given lens/sensor pair is:


where d is the sensor size and f is the focal length. The angle you're measuring (horizontal, vertical or diagonal) depends on how you measure the sensor size (horizontally, vertically or diagonally). As far as it concerns our estimation and the rule of thumb, it doesn't really matter.

Estimating the Required Focal Length

The previous formula tells us everything, doesn't it? Probably no, in fact, I admit it. We're photographers, not mathematicians. But a very useful rule of thumb comes directly from the properties of the previous equation. Let's plot it from 18mm to 600mm, using a sensor size of 23mm (the sensor size, as I told you, doesn't matter very much since it's effect is just stretching or expanding the function graph):

Angle of view from 18mm to 600mm

Let's ignore the y dimension and just focus on its shape. What can we infer? The shortest the focal length you're using (the closer you are to the origin), the steeper the curve. This is something you probably have observed when you zoom in with you telephoto lens: at the beginning, the effect of getting closer is more pronounced, and it slows down as you open your lens. Look how the angle gets smaller and smaller when zooming further at bigger focal length (arrows indicate the size of the angle of view reduction in focal length increments of 100mm, except the first one that is calculated from f=50mm approximately):

d(Angle of View)/d(focal length)

Ok, we knew that. What's next? This observation: look at the angle of view delta when scaling the focal length with a fixed multiplier. Let's use 2: the difference between 50, 100, 200 and 400 is very similar. Why? Once more, is a mathematical property of the arctan function. The plot of the arctan function is the following:

arctan(x), with x in [-2,2]

In the angle of view equation, f it's in the denominator: this means that when f increases, the arctan argument actually decreases. Look at the plot: if you consider an interval sufficiently near the origin, it very much resembles a line.

That's the trick in our rule of thumb! We're going to approximate the arctan function near the origin with the line y = x. Can we do it? Sure. Take a sensor size of d = 23mm. We're not interested in wider lenses, but even if we were, d/(2f) with f = 18mm gives 0.6. Pretty much into the linear zone of the function anyway. Here's the rule:

We can approximately affirm that, for sufficiently long lenses, multiplying the focal length by a factor of c reduces the angle of view by the same factor.

This is very handy, since you need to take no measurement. Just look into the viewfinder: want a moon twice as big? You need a focal length twice as big.

An Example

Take a look at the previous picture of the moon:

200mm - Cropped to 2500x1600 pixels (half the original width)

The moon size is approximately a quarter of the picture height. If I wanted to fill the frame, our rule of thumb tells us that I'd need approximately a 200mm · 4 = 800mm lens.

But the previous image is a crop: the original image is twice the size. That gives 1600mm, if I wanted to fill that frame.

Big bucks for the moon picture.

Next time you plan to buy a longer lens, frame a picture with your telephoto and use this rule.

P.S.: Plots were generated using the excellent Wolfram Alpha web application.