Stacking: DSOs
Why stack?
Stacking increase the signal-to-noise (SNR) ratio of your images. Generally speaking the noise follows fairly predictable patterns and can be removed by the use of calibration frames. This results in a smoother image - a well calibrated image is far easier to process than just a stack of light frames. Generally speaking the more frames you use, the better your image will be.
This effect does drop off however, the noise reduction depends on the square root of the number of frames we take - 25 frames decreases the noise by a factor of 5, 100 frames decreases the noise by a factor of 10 and you'd need 225 frames to decrease noise by a factor of 15.
Frame types
Lights
Light frames are the pictures of the image you've taken. Some stacking programs have options to select the best percentage but it's best to go through them yourself beforehand and remove any that contain unwanted artifacts such as satellite trails and streaked stars. These can influence the final image and ruin the outcome.
Darks
Dark frames remove the "dark signal" from your light frames. Dark signal refers to the signal that your camera is producing independent of the light entering it, and is caused by electrons which gradually accumulate in the sensor while it is exposing. To take dark frames you must cover your telescope or camera to prevent light from entering, then take a series of exposures with the same exposure time, ISO and temperature as your light frames. This enables your stacking program to subtract the dark current from your light frames reducing the noise in the final stack.
Bias
Bias frames remove the sum of the readout noise from your light frames. This includes all types of noise that are generated upon sensor readout, such as shot noise, read noise, camera noise (from the camera's electronics itself), interference noise, etc. Since many of these types of noise are repeatable, they can be subtracted from the light frame to reduce total noise. The best way to isolate the readout noise is to take the shortest exposure possible with the same ISO as your lights, again while covering the camera. Take a bunch (~50) and average them together to create a master.
Flats
Flat frames remove defects like vignetting and dust spots from your images. To take a flat frame, cover the end of the telescope with a white t-shirt or make a flatbox, then take an exposure at the same ISO as your light frames, letting the camera decide the correct exposure time. Flatboxes will make the process easier an more accurate as they will have an evenly lit field.
Stacking programs
The most widely used stacking program is DeepSkyStacker. DSS is a very simple program, it's possible to get fine results from it with a minimal amount of effort and knowledge. It's also free and offers a basic histogram stretching functionality.
PixInsight also has an excellent stacking functionality. It can also be more advanced than DSS, allowing you to fine-tune the stacking settings to your heart's content. It generally produces better stacks, but is expensive. That said, it's also the gold-standard in post-processing so is worth buying if you have the budget.
Basic Stacking in DSS
This guide will focus on DeepSkyStacker since that's the most common program used. We'll assume you've checked your frames before hand, removing any satellite trails and poorly shaped stars.
Click on 'Register checked pictures' and a popup will appear. Assuming you've removed the garbage frames before hand, change the stacking percentage to 100%.
This will take a few minutes and it's fairly CPU intensive so it's a perfect time to have a cup of tea and a biscuit.
Basic Processing in DSS
A proper processing workflow is outside of the scope of this particular article. I have however written a quick guide to histogram stretching in DSS in the past, so I will include this. It's really no substitute for Photoshop or PixInsight though.
As an example of DSS's capabilities, here is a short processing workflow courtesy of /u/yawg6669
Last updated