header

How to Use a Histogram for Better Star Photos

When you take photos with a digital camera during daytime, it’s quite easy to estimate if you got your exposure right by taking a peek at the photo on the display on the back of the camera. You might think that the same it’s true for astro and night photography. You take a photo, you have a look at it on the display, and you decide if you increase or decrease the exposure, ISO or aperture accordingly. But it’s not that easy for photographers out in the dark. This article will look at how you can use you histogram to ensure you take better night photos with the correct exposure.

Histogram Better Night Photos

At night, your eyes adapt to the dark. Your pupils dilate and you actually perceive dim lights as being brighter than they are. That’s what happens when you look at your star photos on the display of your camera. You will have the tendency of misjudging their general appearance and you will perceive them as being brighter.

You go back home, download the photos to your computer, and suddenly they don’t appear as bright as they seemed the night before when you were reviewing them on location. They all look underexposed.

You adjust the exposure in your raw conversion software, and you do your best to recover some details in the shadows. Great, the photo looks as you intended. But now it’s a lot noisier, especially in the shadows. 

aurora borealis and snow landscape

How can you get around this problem? It’s quite easy, actually. All you need to do is learn how to read your histogram properly, and you’ll find that it becomes very, very helpful for these kinds of scenarios.

What is a histogram in photography?

What’s a histogram? Technically speaking, a histogram is a graph that shows the distribution of some kind of numerical data. Imagine you have a wall divided into a certain number of squares and you repeatedly throw a ball at the wall. You count how many times the ball hit each square, and you graph those values.

As an example, let’s have a wall with 8 squares. We throw the ball multiple times and we count the number of times our ball hits each of the 8 squares. Our histogram might look like this:

Histogram Better Night Photos
A histogram describing our fictional experiment.

Basically, a histogram is like having a collection of bins containing the same kind of things and counting the number of whatever things are in the bins. Nothing fancy or complicated to grasp about a histogram.

Now, any digital image can have a histogram associated with  it. When we talk about histograms in the context of digital imaging, we talk about a graph that actually represents the tonal values of that image. On this histogram, we will have black (dark) tones to the left, and white (bright) tones to the right. In between them, we have the midtones.

So, pixels to the left of the histogram are black and the ones to the right are white. On the vertical axis of the histogram we will have the number of pixels that have a certain value. Depending on the amount of bright, dark and midtone areas of a photo, the histogram will have some peaks (or mountains, as we sometimes call them) at different positions.

Histogram Better Night Photos
A histogram of a photo taken during the total solar eclipse of August 21, 2017

Usually, we try to avoid having lots of pixels grouped on either side of the histogram. If we have a big mountain to the left and not that much information anywhere else, the photo will be underexposed. If we have the big mountain to the right, it will be an overexposure.

This is true most of the time, but there are situations when they are not. One good example is a photo of a skier when there’s nothing but white snow around the skier. That photo will have a very heavy histogram on the right side, but the photo will not be overexposed.

Generally speaking, I would not suggest you to judge the correctness of your exposure for daytime photography by using only the histogram.

total eclipse landscape Using a histogram for better star photos

There are lots of tutorials out there that will tell you that you should try and do your best to preserve the highlights in your digital photos and maybe underexpose your photos by a tiny amount. They might apply to daylight photography, although personally I choose not to do this. But, at night, it will be pretty tough to blow out any highlights.

When you shoot at night, and especially when you shoot landscape star photography, your primary goal in terms of exposure is to get the stars sharp. Then, your second goal is to record as much information as possible in the shadows. You do that by exposing to the right, and by exposing to the right I mean shifting the histogram to the right.

Read more: How to Get Sharp and In Focus Stars in Starscape Photos

the milky way

You might have heard this before. I am not the first one to say that, and “expose to the right” should be some sort of motto for landscape astrophotographers. 

Most digital cameras will allow you to show both the photo and its histogram while reviewing the images that you have just taken. If you want your star photos to look better, be sure to enable that feature as that’s pretty much the only way of checking your exposure at night. If you don’t know how to enable this feature, check the manual of your camera.

Histogram Better Night Photos
That’s how your display might look like when viewing a photo with its associated histogram. This is from a Canon EOS 6D

Most of the pixels in an astrophoto will be concentrated in the left part of a histogram, because most of the area of the photo will be covered by the sky. So, the histogram will have a mountain close to its left side. Our goal is to shift that mountain to the right.

But by how much? That’s tough to answer. But, having that mountain about 1/4 to 1/3 from the left hand side of the histogram would probably be the best option.

You can move the mountain by either increasing the exposure, opening the aperture, or increasing the ISO. Most of the time your only option will be to increase the ISO.

The shutter speed can be reduced just until the stars start trailing, and the aperture can be opened until the image starts degrading too much in the corners.

Then we are left with ISO. I have seen lots of people being afraid to set a high ISO on their cameras. They will just shoot at a low ISO and then recover the shadows in post processing. But, believe me, that’s the biggest mistake. An underexposed image at a lower ISO will show more noise in the shadows than a properly exposed photo at a higher ISO.

Histogram Better Night Photos
The mountain in the histogram moves to the right when increasing the ISO and then opening the aperture

Let’s take the next photo as an example. It’s a shot of the Northern Lights above the lake Ågvatnet in the Lofoten Islands, Northern Norway.

The two photos were shot with the same exposure time and aperture, but at a different ISO. The photo on the left was shot at ISO 3200, while the one on the right was shot at ISO 6400.

Histogram Better Night Photos
The same photo taken at two different ISO values

In Adobe Lightroom, I increased the exposure of the photo on the left by one stop. Let’s now compare the two photos at 100%.

The photo on the right has better detail than the one on the left. So, yes, a higher ISO can generate a cleaner image if your exposure is correct.

Histogram Better Night Photos

In conclusion

Ultimately, I would like to remind you that this article is just a guide and it does not represent a strict way of doing things.

Sometimes you can get very beautiful results in astrophotography with a histogram that is very different to what was shown here. But this is a starting point and you can let your creativity take control.

Clear skies!

the milky way over mountains

Download our free ebook
Grab Our FREE eBook!

Get our best tutorials sent straight to you, and enjoy a copy of "10 Ways to INSTANTLY Improve Your Nature Photos".

Get Free Ebook