Realm of the Galaxies Part 5
Nik Szymanek continues his tour through the realm of the galaxies with a look at processing LRGB data, and discovers that even the best barred spiral galaxies can lead an astro-imager down an unexpected rabbit hole.
In the last issue we experimented with processing an RGB image of the magnificent spiral galaxy M83 in the constellation of Hydra. The central theme of the processing strategy was the use of PixInsight’s Multiscale Adaptive Stretch (MAS) tool to process the image in a way that allowed good visibility of the core and spiral arms without resorting to using multiple versions. This time we will investigate ways of working with LRGB images. These are generally superior, as the luminance component (L) captures deeper and fainter details than RGB images. For this tutorial I will be using an LRGB dataset of what I consider to be the best barred spiral galaxy of all, NGC 1365, which is located in the southern constellation of Fornax and forever below UK horizons. The dataset was taken with Telescope Live’s 24-inch (61-cm) telescope located in Chile.
Down the LRGB rabbit hole
I wanted to continue testing the MAS tool. You may recall from the earlier tutorial that for the MAS procedure to be successful we have to work with linear, or unscaled, data. To satisfy this, I had to use a program that could combine all four LRGB master frames and output a
32-bit FITS file. My first choice was Astro Pixel Processor but the combined file appeared monochrome. APP allows colour adjustments to the FITS file (ticking the ‘Saturation’ box injected colour into the image). However, the only way to save these colours is to click the ‘Save’ button at top right, ensuring the ‘Stretch’ box is ticked. This does not achieve anything useful for us as we need to see the colours but have the image unstretched prior to using MAS. I tried boosting the saturation of the original image but it steadfastly resisted and remained monochrome. Rabbit hole on standby.
Investigations in PixInsight revealed a similar limitation. While it has two good LRGB combining tools, they both require the image(s) to be scaled first to work, although buried in the Script list I came across ‘LinLRGB’, which combines 32-bit FITS files but with the same result as APP, no visible colour. I tried experimenting with the Histogram Transformation tool and incremental scaling but with each iteration the colour faded.
Finding colour with MAS
I dabbled with SIRIL but could not make any progress. So, I decided to try MAS on the 32-bit FITS file that APP had created, expecting an epic fail. Using the Real-Time Preview I applied extreme settings in the ‘Colour Separation’ section of the menu and lo! colour appeared in the image, and it was the right kind of colour, too. The spiral arms were blue, the red H-II regions stood out, and the core appeared suitably tan coloured. This was a huge step forward, although the colours were a little muted. I applied MAS to the raw image (having previously run BlurXTerminator deconvolution) and then used PixInsight’s Colour Saturation tool to boost the colours in the image. Step one shows our progress. The left pane is the raw LRGB image after compiling in APP and the right pane is the colour-boosted version.
Continuing, I opened the colour image in PixInsight and removed the stars using StarXTerminator and then ran the SyQon Prism denoise program. In Affinity 3, I opened both images and copied and pasted the stars onto the starless layer but hid the star layer temporarily. With the galaxy layer selected, I ran Tone Mapping on the galaxy layer using a Local Contrast setting of just 9%. This dramatically boosted the low-contrast pixel values, enhancing the spiral arms. Zooming in, I noticed that the core of the galaxy was a bit bright so an application of Shadows/Highlights and a reduction of the ‘Highlights Strength’ slider worked a treat. To complete the image, I adjusted the colour in the usual way with the Selective Colour tool. Step two shows the final result.
The backup method
Of course, there was always a backup plan and it is the methodology I have always used when compiling LRGB images. Basically, we create a monochrome luminance frame and then blend in the colour from an RGB image. Let us start with the luminance image. The first step is to apply deconvolution and then run MAS, tweaking the values to show the core. As before, I used SyQon Prism to remove low-level pixel noise and saved the image as a 16-bit TIFF file ( Step three ). Next, I opened a 32-bit RGB FITS file that was compiled in APP. Compared to the shenanigans earlier with the LRGB file, it was easy to apply the MAS tool again to get a very nice rendition of the galaxy ( Step four ), which was copied and pasted onto the luminance image. To blend the two together, click on the RGB layer and from the drop-down list change ‘Normal’ to ‘Colour’. Doing this merges the colour information with the high signal-to-noise ratio luminance frame.
By having the data in two separate but communicating layers it is possible to apply further processing independently. One trick I call on occasionally is to reduce the opacity of the luminance layer as it can overwhelm the colour data. Some experimentation will be necessary as every image responds differently. Then, I flatten the image to a single layer, switch to PixInsight again and remove the stars, then return and apply final tweaks to the galaxy layer before reintroducing the star layer. Step five shows the end result.
If you would like to try these processing techniques, the NGC 1365 dataset is available for download from: telescope.live/home.