Take Better Night Sky Photos with Image Stacking

Star photography can have great image quality, too. Just try stacking images.

he night sky is one of the most alluring subjects for landscape photographers. It’s also one of the most frustrating. If you’ve ever tried to do astrophotography, you’ve probably run into all sorts of issues: blurred stars, high ISO noise, and shallow depth of field.

What can you do about it? One answer is often overlooked, but surprisingly helpful and easy to put into practice: stacking images.

Fundamentally, the big problem with shooting the stars is that you lose a lot of image quality at ultra-high ISO values. Otherwise, you could shoot every Milky Way image at f/5.6 and 10 seconds (maximizing star sharpness) while simply using an insane ISO like 51,200 to get your image to be bright enough.

Stacking photos essentially eliminates that problem.

But what do I mean by stacking photos? There are two routes, one of which is simpler and more flexible than the other. But each has its place.

(All this assumes that you don’t have a problem with blending photos. If you need to capture everything in one image for whatever reason, take a look at our tutorials on Milky Way photography, getting enough depth of field at night, and the optimal settings for star photography.)

Stacking Method One: Use an Astro Tracker

I’ll start with the harder-to-implement method because it’s easier to explain.

Today, you can find plenty of “astro trackers” available for relatively reasonable prices. These are rotating attachments for your tripod. Point an astro tracker at the North Star (or the Celestial South Pole), and it follows the movement of stars across the sky. Then, just attach your regular tripod head to the astro tracker and compose however you want.

How does this work with image blending? The answer is that astro trackers let you get sharp stars, but not sharp foregrounds:

By tracking the stars, you slowly add rotational blur to your foreground, and the photo is blurry anyway. So, you simply turn off the astro tracker, then take a second photo that prioritizes the foreground:

And then blend the two together easily in Photoshop or other photo editing software:

The Milky Way cuts across the Chilean night sky at La Silla Observatory. A suite of telescopes at the site can be seen, many which are used by the ESO Member States for targeted projects. The Moon and Jupiter can be seen to shine very brightly to the right.

This method lets you get extraordinary levels of detail in the stars. Take a look below:

That’s pretty awesome, much better than I could have gotten with a single tripod-based image:

Astro trackers let you use almost arbitrarily long shutter speeds. You’ll only get blurry stars if you use extremely long exposures (10+ minutes) and longer lenses, if your polar alignment isn’t quite perfect. Or if you use an unstable tripod in windy conditions.

However, astro trackers aren’t always ideal. It worked well for the photo above because the foreground and sky had a very distinct separation. But if your foreground is something like a tree, you’ll run into major difficulties with this method. In the tracked image, where your stars are sharp, the tree will be a large blur. If you try pasting the sharp tree image on top, you’ll get a “blur halo” around it. Not a good look.

Luckily, there is a way to simulate an astro tracker without using one – and without capturing a blurry foreground in any of your images.

Stacking Method Two: No Accessories Needed

The second method of capturing insanely sharp stars at night is actually quite easy. It’s also pretty satisfying, since you get to use the settings you always wanted to use – no need for an astro tracker or other accessories.

For example, if you need f/5.6 to get enough depth of field, just use f/5.6. If you need 10 seconds of exposure in order to eliminate star trails, use 10 seconds. And if you need ISO 51,200 to get a bright enough photo, you can use that, too. (Though I actually recommend a lower ISO combined with brightening the photo later, as you’ll see in a moment).

Then just take several photos in a row using the same settings. When you get home, you’ll stack the photos in post-processing software to minimize noise.

In the Field

How many photos does this method take? It depends on the quality you’re after, the ISO you started with, and simply the time you have in the field. But I would take pictures for at least 4 minutes if possible, and ideally longer – more photos can only help. After all, you are simulating an ultra-long shutter speed with this method, so it’s no doubt that 10 minutes is better than 4, which is better than 2, and so on. (The smaller your aperture, the more photos you should capture, since you need to make up for lost light.)

What specific camera settings are best? The most important thing is to avoid any star trails in your images. If that means shooting at 5-10 seconds when normally you would shoot 15-30 seconds, so be it. This technique cannot get rid of star trails – nor can any technique I know of.

Beyond that, don’t be careless about your settings just because you have a bit more flexibility; you’re still trying to capture every last photon. In terms of aperture, pick what you need in order to get enough depth of field, nothing more. You’ll usually be good with a reasonable aperture like f/4 to f/8 (full frame equivalent).

And for your ISO, I know I said earlier that 51,200 can work fine, but I recommend sticking with a lower value in general. Quite simply, if you go too high, you might blow out some details (especially colors) in the stars. It’s better to shoot at a lower ISO like 3200 to 6400, even though the photo will look too dark, and then brighten it later (before you start doing the photo stack).

Some photographers will augment this method by taking “dark frames” to subtract patterned noise out of the image. However, this is not a requirement. But note that I do not recommend shooting with long exposure noise reduction turned on, since the delay from shot to shot may make stacking more difficult.

Post-Processing Image Stacks

Next, we’re going to stack the photos in specific astrophotography software designed for the task. It doesn’t really matter what software you use. Sequator is a popular free option for Windows, and Starry Landscape Stacker is a popular $40 option for Mac (I couldn’t find a free competitor unfortunately). You can use Photoshop for image stacking, and you can find some tutorials/actions online if you’re interested. But dedicated software tends to do a better job in the more tricky situations.

Load the photos into your software and begin the star-identification process (in this case, every red dot – most of them added automatically – representing a star):

Touch up any areas that the software masks incorrectly, like some areas of the tree below that the software accidentally labeled as sky. This can take some time if you have foreground details like trees in your image, since you’ll need to fix any errors in the auto generated mask manually – but it is possible:

By stacking multiple photos together, you “average out” the noise and end up with tack-sharp stars. The level of detail in your nighttime photos has almost no upper limit, similar to using an astro tracker. Here’s the final image:

Even the tricky areas, like pine needles against the night sky, look great. Though, again, it did take some manual corrections to get the best possible result. (With this worst-case scenario image, I spent about 30 minutes of manual masking to get the final version.)

How does this compare in image quality to a single photo? Here’s a before/after with one of the 14 composite images I used to make this photo stack:

Not bad! Because I used 14 images for this stack, and each had a 10-second shutter speed, I was simulating a 140-second exposure. You can go much longer than that and capture even lower amounts of noise in your images. The limit is totally up to you.

Admittedly, this method does not always work right. If something in your photo is moving, like clouds across the sky, it can lead to some strange blur artifacts or extra noise. And in extreme cases like the image above – where practically the entire photo has trees that need precise masking – the software’s default attempt may require some correction.

Then again, the image quality benefits to this method are impossible to ignore. Plus, the fact that it can work in tricky situations like forest photography – where an astro tracker generally would not be feasible – makes it quite flexible overall.

Note that I still recommend taking one or two photos using single-image Milky Way settings – i.e., the ones we cover here – just in case. You never know if something might happen to make image stacking impossible. This also applies to astro tracking.

Conclusion

For years, my goal was to capture the Milky Way as sharp as possible in a single image, along with the foreground, too. I wasn’t willing to deal with astro trackers, and the idea of stacking images in dedicated software seemed to carry a lot of potential for error. (It’s also not allowed in certain publications and photography competitions, which I respect.)

But if you have no aversion to blending images, the two techniques outlined in this article are game changers. You can shoot f/16 photos at night! Not to mention, with the second method, you can carry a lighter bag while capturing better results than before.

Cheating? It’s so useful that it almost feels like it has to be. To me, though, this is not cheating any more than focus stacking. But that’s something you need to decide for yourself. If these techniques do cross your line, our standard Milky Way photography tutorial may be more up your alley.

Hopefully, either way, you found this article to be interesting! If you have any questions about the finer points of image blending for night sky photography, feel free to leave a comment below.

Previous Article Next Article