Imaging the Soul Nebula

The Soul Nebula is an emission nebula found in the constellation Cassiopeia, about 7500 light-years away from our planet. It's worth noting that the color you see in the image does not accurately represent the nebula's appearance if viewed directly through a telescope or captured with an RGB camera. However, that doesn't mean that this image is not authentic. The image is a result of merging hundreds of individual monochrome images taken over six nights, which amounts to roughly 20 hours of image data. Check out the step-by-step guide below to learn more about capturing and combining those individual image frames into this final image.

The Soul Nebula

One From Many

A common issue with deep sky astrophotography is getting enough signal of what you are imaging.

A common issue with deep sky astrophotography is getting enough signal of your imaging target. The solution is to expose for a long time, take many images, and then stack those images onto one another to increase the overall signal.

Since I have a monochrome camera, I need three sets of images to create an RGB image. A trio of narrowband filters (meaning they let in only a tiny fraction of the visible light spectrum) were used. Only a narrow band of the visible light spectrum can pass through these filters. Specifically, we are getting light produced by ionized hydrogen, sulfur, and oxygen - a similar concept to how neon lights work.

In total:

  • Hydrogen Alpha (Ha) filter: 134 images @ 5 minutes each
  • Sulphur II (SII) filter: 94 images @ 5 minutes each
  • Oxygen III (OIII) filter: 104 images @ 5 minutes each.

Typically, you would want more exposure time with the SII and OIII filters than with the H-alpha filter. Unfortunately, this target has a few more hours of H-alpha data, as I had to throw out roughly 30 images for each of the SII and OIII filters due to focus issues or clouds.

Let's look at an individual sub-exposure from each of these images.

H-alpha Sub-Exposure

This is a 5-minute exposure through a Hydrogen Alpha (H-alpha) 6nm filter. The light within the H-alpha band (~656-nanometer wavelengths) is allowed while all other visible light is blocked. Hydrogen is the most common element found in the universe, and when there is a star nearby, some hydrogen gas that gas becomes ionized. This ionization emits the H-alpha photons that pass through this filter and hit the camera's sensor.

The cloud-like structures in this image are massive "clouds" of ionized Hydrogen gas.

Calibration

So far, the above exposures don't have much signal and are still monochrome. We'll be addressing these shortly. One thing, though, that you may have noticed is that if you click between the filters, the image appears to shift ever so slightly. This is an intentional shift called dithering, where after each exposure, the telescope mount moves slightly in a random direction to help eliminate issues such as hot pixels.

Before we stack more images into each filter, we should look at two types of image defects. We primarily care about two types of defects: amp glow and dust spots/vignetting. These can be easily calculated and removed from the images by taking calibration images: dark and flat frames.

Amp Glow

Let's look at amp glow first. On the right-hand edge of each image above is a slight "starburst" pattern radiating out from the edge. This is called amp glow, and the camera's circuitry causes it during long exposures (5 minutes) such as these. Thankfully, these are simple to remove through dark frame calibration images.

The idea of a dark frame is to calculate how much of the signal (or thermal noise) of a given image at a specific exposure time is caused by amp glow. So, all we need to do for this is to block all light coming into the telescope and camera and take several 5-minute long exposures.

Amp Glow in Sub-Exposure

Due to the circuitry within the camera, thermal noise builds up during long exposures and adds in noise in the shape of a starburst. This is something that is easily fixed.

Some newer astrophotography cameras have now been designed to have no amp glow whatsoever, but all we need to address this are some dark frames.

Dust and Vignetting

Let's look at dust spots and vignetting. These are the same problems: Something in our optical path reduces or alters the light that gets to our camera sensor, creating uneven illumination. Most often, this is caused by dust or pollen on the telescope, filter, or camera sensor. It is a rule of thumb not to clean optical systems unless necessary, as cleaning can lead to permanent damage.

To fix these, we need to take flat frames. These are calibration images where we illuminate the camera sensor uniformly without over-saturating it. Typically, a value of about 50% of the maximum illumination is used. Since we are also attempting to remove dust from the system, these images are best taken the morning after each night of imaging for each filter to limit any changes in the dust on the system. I place an Elgato Key Light on my telescope each morning to do this.

I've exaggerated the flat frame below to make it easier to see some of the defects we are calibrating for. The edges are dimmer than the center, showing the vignette pattern, and on the right-hand side, there is a circular dark spot - a mote of dust. My optics are relatively clean in comparison to most. Typically, there could be tens to hundreds of those spots, and we'd still be able to calibrate the image fine. A rule of thumb is that camera sensors and telescope lenses should only be cleaned if absolutely necessary.

Another thing we also have to do is calibrate out the minimal amp glow in the flat frames - I won't attach an image as it just looks black.

H-alpha Flat Frame

Flat frames typically show the vignette pattern around the edges of the image, as we can see here with the H-alpha flat frame. There is also a circular dark spot on the bottom-right of the image. This is likely a mote of dust on the camera or telescope lens.

Each morning after a night of shooting, I'd take 50 flat frames for each filter one after another - typically, these only need to be exposed for one second, so they go quick.

Integration

At this point, we have all the data and images we need to make our image of the Soul Nebula. So, the next step is to combine everything we have captured to produce a stacked image for each filter.

A quick overview of all of the data:

  • H-alpha
    • 134 light frames (over 6 nights)
    • 300 flat frames (50 each morning)
    • 300 dark flats (50 each morning)
  • SII
    • 94 light frames (over 6 nights)
    • 300 flat frames (50 each morning)
    • 300 dark flats (50 each morning)
  • OIII
    • 104 light frames (over 6 nights)
    • 300 flat frames (50 each morning)
    • 300 dark flats (50 each morning)
  • All
    • 1 master dark

You can see that we don't have the same amount of light frames for each filter. This is due to some captures being thrown away from being out of focus or blocked by a cloud. An imbalance with this exposure time per filter will have a negligible impact on our overall result. Thankfully, integrating all of this together is handled automatically by PixInsight, an astrophotography-focused program, and takes ~5 hours for this amount of data.

Stacked

What we get from stacking the images together is one master image for each filter. Each contains more signal and less noise compared to the individual sub-exposures. It's important to note that what we are picking up with these filters are ionized hydrogen, sulfur, and oxygen atoms from nearby ultraviolet radiation.

H-alpha Stacked

The stacked H-alpha image contains the most detail out of the filters. This filter got the most integration time, and emission nebulas like the Soul Nebula have many ionized hydrogen atoms. All the white cloud-like structures within the image are massive swaths of hydrogen gas that the ultraviolet radiation from the stars within has ionized.

Stellar wind, flowing streams of gas and particles ejected from stars, creates the cloud-like formations seen here.

Sub-exposure Versus Stacked

It has been a while since we looked at the individual sub-exposures, so let's compare them to the stacked versions. One thing you may notice when going between the sub-exposure and the stacked image is that the stacked image shifts slightly. This is due to needing to line up all of the other images onto one another, so we need to crop the stacked image slightly.

H-alpha Sub-Exposure

Going back to our H-alpha exposure, there is actually a decent amount of hydrogen gas that we can see in the image. You can also see the amp glow caused by the camera on the right-hand side.

Sulphur II Sub-Exposure

Returning to our SII exposure, it is hard to see much detail as it is faint. This is common for the SII filter as there are fewer singly ionized sulfur atoms than ionized hydrogen atoms.

Oxygen III Sub-Exposure

The last one is the OIII exposure; similar to the SII exposure, it is hard to see the doubly ionized oxygen gas.

Combining into RGB

Now that we have our three master images for each filter, we can combine them into a single color image. But before we do that, there is some data cleaning that we need to do here. Specifically, removing light gradients caused by light pollution, reducing blur caused by the atmosphere and optical defects, and finally, reducing noise. I have opted not to show these steps as the visual changes are hard to see without zooming in and analyzing pixels. I will leave that for a later article to focus on those improvements.

Creating a color image from these three images is straightforward; we can map each image to a single color channel in RGB. For example, we could map the SII filter to the red channel, the H-alpha filter to the green channel, and the OIII filter to the blue channel. The output would produce a false-color image of the Soul Nebula - basically, since we do not actually have RGB data, we can't create an accurate color image. This practice is common for deep-sky astrophotography and allows for an easier time to discern details that would not be visible otherwise.

A quick note: palettes for astrophotography are typically referred to as three-letter acronyms. For example, the SHO palette means that SII was mapped to red, H-alpha to green, and OIII to blue.

Let's take a look at some standard color combinations.

Standard Hubble Palette

Made famous from images produced by the Hubble Space Telescope, the Hubble Palette maps SII to red, H-alpha to green, and OIII to blue. This creates a primarily green-colored image due to how much stronger the H-alpha signal is compared to SII or OIII. This is just the start of the Hubble Palette; through some color adjustments, the final image will be green, orange, and blue. Not only does this produce a striking image, but it also conveys more detail than we can see with the naked eye.

This is also known as the SHO palette, and while still popular today, other palettes have been gaining popularity.

Stars and Starless

I opted to go with the dynamic Hubble Palette image as it produced a better range of colors than the standard Hubble Palette. Soon, the next step will be focusing on increasing the saturation and contrast and bringing more color into the nebula, but before we do that, we need to address the stars.

The Issue with Stars

Now that we have combined the three channels, we have our color image. The color here is relatively muted, so the plan is to isolate the individual RGB channels and alter their hue/saturation. This will allow a more dynamic range of colors to be represented in the image to highlight finer details better. One issue, though, is that the stars in the image are considerably brighter than the nebula structures, so if we don't exclude them from our changes, we'll over-saturate them.

The solution here is simple - we remove the stars.

Coloring

At this point, we will focus entirely on the starless image and begin adjusting its color balance. This works because we have different sets of color masks that we can create and then place on the image. For example, we can create a red mask that will ignore everything in the image besides the strongest red signals. This allows us to isolate areas of the nebula to work on while not impacting others - especially the background.

This is an iterative and slow process. Each step is to create a single color mask, apply it to the image, and then carefully adjust the color profile. It's not uncommon to repeat this process several times, which can take many hours.

Each image in the grid below is a single step of this coloring process.

Starless (Original)

Our coloring changes will now build off this starting starless image.

Wrapping Up

With all of the editing done, here is the higher-resolution image. Note that it will open in a new tab and may take a bit to load.

Soul Nebula - 7000x4697