Thu, Apr 04, 19

DSLR Astrophotography 101: Photo Editing

DSLR Astrophotography 101: Photo Editing

Welcome to the third installment of OPT’s DSLR Astrophotography blog series, where we’re focused on fine-tuning our photos of the heavens. If you missed our previous lessons, we encourage you to check out the DSLR Astrophotography Intro and Exposure articles before proceeding with this blog.

Since we've now covered the basics of astrophotography and how to properly expose our shots, we’re moving into where the magic happens: photo editing and processing. In particular, we’re going to put heavy focus on stacking and how it brings the best out of our shots.

QUICK SUMMARY:

  • Image stacking compounds the signal from many shots into a single image
  • Stacking can produce the cleanest, most refined, and highest resolution images
  • Images exposed to the right (ETTR) maximize the potential data in our final stacked product, and even images exposed to the left (ETTL) can be saved through stacking
  • Photoshop can be used for both stacking and aligning but falls short in astrophotography
  • Dedicated stacking software is required for pixel-perfect alignment
  • An equatorial (EQ) mount or camera tracker is highly recommended to maximize the amount of data to stack.

What we cover here will also help you win the monthly OPT photo contest on Instagram! So if you’re interested in free stuff and internet fame, what’s to come is definitely for you.

ASSUMPTIONS

As usual, we’ve got to get some assumptions out of the way:

If you’ve come this far--especially if you’d been a photographer before this series, we’re assuming you're familiar with using Adobe Photoshop.

We’re definitely assuming you’ve read the previous blog about exposure and know what ETTR means. Hopefully, you’ve employed this technique since last we met because we’re gonna need all the sweet, sweet data we can get for processing.

Now then, it's time to get started.

Here We Go

IMAGE STACKING

Think of this: let's say you are using a really high ISO and you take only one picture, how can you tell the difference between small stars and noise?

We haven’t figured out a way to tell from a single image, but what we do know is if we take a bunch photos of the same object shot with the same settings, we can then use those images to stack out the noise.

Image stacking is, essentially, aligning a bunch of images, layering them on top of each other, then assigning the average or median values of each pixel within each layer into one single image. What this does is strengthen the signal of what is being photographed which in turn exponentially reduces noise and increases resolution.

The cool part about stacking is the more photos you stack, the better the noise reduction will be. The math is pretty simple to figure out the relationship between the number of shots stacked vs the effectiveness of the noise reduction. It’s all based on the index of two.

$$Log_{2} \space (number \space of \space photos \space stacked) \space  = \space stops \space of \space noise \space reduction $$

or

$$2^{stops \space of \space noise \space reduction} \space = \space number \space of \space photos \space stacked$$

So what this means is every time we double the number of images to stack, we gain one stop of noise reduction. For example, if two images are stacked, you get one stop of noise reduction, If you stack four images you get 2 stops of noise reduction, 8 images equals 3 stops and so forth.

To illustrate this effect, take a look below.

One Shot of Noisy Hippo

64 Photos aligned and Stacked of Noisy Hippo

Adorable, isn’t it? This little critter was captured at ISO 6400. We don’t have to look too closely to see the noise on and around the left hippo. Comparing it then to the hippo on the right, we’re probably in agreement that the stacked image looks a whole lot cleaner than the single shot. Even after shooting at such a high ISO for so many shots there’s almost no noise whatsoever.

Image Stacking With Photoshop

Ok, so you probably want to know how this is done. Here’s how you can do it. 

Photoshop Image Stacking Method

Photoshop Alignment and Stacking Flow Chart

Once you’ve made it to the end the chart--that’s it! You’ve stacked! Now you’re free to mess with levels, curves, gradients, and whatever else you need to make that image pop!

To make this easy, we have put together a Photoshop script that you can download and run. The script only works after you have imported the images into layers, but basically, it takes care of everything after the “Align & Stack” choice point in the flow chart above. This effectively takes all of the images you’ve added to Photoshop and goes through the aligning and stacking process for you.

LIMITATIONS OF PHOTOSHOP

Imagine you got a series of nice wide-angle shots with a clear sky and a mountain range below. You exposed to the right and may have taken ten, twenty, or even sixty(!) exposures of one particular scene. You shot it perfectly and have a lot of data. You head on home, transfer them all to a computer, then use Photoshop's auto-align function, start to stack them and bam! All the stars are faint and smeared! The mountain range looks great, but that’s it. What gives?

Photoshop is really great for processing astro-photos. But, it is not great at aligning astro-images. Yes, we just did that with the hippo, but that is a static object in the image. Photoshop is exquisite in aligning static, easily recognizable shapes, but when it comes to pinpoints (stars) it really falls short.

The image below shows what we mean. This is what ten, ten-second exposures look like with Photoshop’s automatic alignment, then stacked.

Photoshop Stacked Images Blur

This highlights the inherent flaw in Photoshop’s stacking software with not recognizing and prioritizing the pinpoint stars we want to align on. We aren’t hating on Photoshop. The program just wasn’t designed with astrophotography in mind. 

Now, some people will tell you how it’s possible to manually align your images in Photoshop by painstakingly rotating… and scaling… every single layer one by one… for hours… but we’re not that cruel. Manual alignment will surely foster your first inklings of insanity.

Manual Photoshop Alignment

So instead of breaking our minds and potentially our computers out of frustration, we can take a look at the other software options that take care of this issue for us.

STACKING SOFTWARE

Using the same ten exposures from that blurred image above, this picture below is the end result after using proper stacking software--and, of course, some touch-ups in Photoshop.

Stacking Software x 10 Exposures and Photoshop Adjustments

Looks quite a bit better, doesn’t it? And that only takes a few minutes once you get the hang of it.

Stacking software is what’s best for getting our images aligned perfectly. Unlike Photoshop, these programs are all about recognizing the pinpoint stars we need. The method each software employs can vary, but they all give similar results.

We’ve got a lot of options to consider, but a few major players out there are Nebulosity, Prism, and MaximDL.

Nebulosity is an excellent choice for those just getting started in the hobby. It’s got a straightforward user interface, it works for both Macs and PCs, and has a simple method for stacking and aligning. It’s also the least expensive stacking software on the market.

If you are PC user want a bit more advanced features, check out Prism Lite. Its aligning and stacking method is really fast and it has great telescope functions that are found in much more expensive software.

Regardless of which program anybody uses, the general process will look the same for stacking. Here’s another flow chart breaking down the steps into each fundamental objective. Please note: we’re being purposely general with this chart so as to not exclude any software you might use.

Stacking Software Flow Chart

You’ll notice in the second step we mention “Adobe Camera Raw” and “Lightroom.” These are the most common tools you’re likely to already have as a photographer. Photoshop comes equipped with Adobe Camera Raw which is super convenient, but Lightroom is another option that we like to use; it’s a great tool for compiling all of your images and lets us perform a few blanketed pre-adjustments before stacking. 

How to maximize your data for stacking

The whole goal of stacking is to maximize your data to strengthen the signal of whatever it is you are photographing. The more data you have the better the signal is going to be. Here is what you can do to get the most data possible out of your images.

Shoot Raw

You’ll want to save pictures in your camera’s raw format for image processing. While it is possible to go through this process with the JPEG format, you would be throwing away 98% of the potential data recorded by doing so.

Expose to the right

Stacking combined with exposing to the right (ETTR) yields the maximum possible data per image. If we’re stacking those high-data shots then we’re maximizing our data potential for the final product.

Shoot as many images as possible

This is kind of tricky because there is a point of diminishing returns. See the chart below.

Number of Shot vs Noise Reduction in Stops

So if you want ISO 6400 to look like ISO 50 (seven stop difference) you’ll need to shoot. 128 images. If your camera has long exposure noise reduction turned on and are taking a 20-second exposure for each shot, that would take over an hour and a half to get all the shots!

Use a Tracker or EQ mount

When shooting a sequence over a long period of time and using only a tripod you’ll start to see the Earth’s rotation in the final stacked image, leaving you with a smaller area in the framed image to be stacked. So basically, you get a smaller field of view after you crop out the unstacked areas.

Remember those camera trackers we talked about in the DSLR Astrophotography Exposure blog? Those will come into play more than ever when stacking a bunch of exposures. Since trackers and EQ mounts rotate on the same axis as the Earth, your images will be pretty much cured of the field rotation and cropping issue mentioned above.

We went over what the trackers are, but you might be wondering: what’s an equatorial (EQ) mount? An EQ mount compensates for the Earth’s rotation by rotating opposite to the Earth’s spin just as trackers do, but one main difference between them is the EQ mount can have GoTo Technology functionality.

Explore Scientific iExos 100 PMC 8 EQ Tracker

Most of the incredible pictures you see of the night sky are captured using one of these. Some deep space objects are particularly difficult or even impossible to image without a tracker because they’re so small and/or faint to see through your LCD screen. The Goto function will make sure you land on the target you want every time.

High-resolution, refined shots like you’ve seen on websites like everyclearnight.com or NASA’s astronomy picture of the day are often too precise to be done with a tripod alone. Targets will trail. That’s just physics: it’s inevitable. And if you’re forced to do shorter exposures you’ll need to up the ISO, further increasing the noise that shows so clearly in the dark skies.

Stacking highly benefits from tracking to fully extract the signal out of each shot.

That’s All, Folks!

We find ourselves again at the end of another entry in this DSLR Astrophotography series. If we've accomplished our goal, you should now have a foundational understanding of what stacking is and why it’s the heart and soul of astrophotography processing.

Remember to use what you’ve learned here if you’re entering into our monthly Instagram photo contest!

Next up we’re digging deep into the topic of camera trackers, EQ mounts, and how to get these setup for an optimal imaging experience. Stay safe out there, and keep looking up!


Do You Want More Content Like This?

Leave a comment