Strangers in the night: a Centaurus A case study, part 3

Having stacked and deconvolved the LRGB dataset of the Centaurus A galaxy and created 16-bit TIFF files, Nik Szymanek now moves on to processing the image further by removing the stars.

Nik Szymanek

In the previous two issues we worked on a large LRGB dataset of the magnificent object Centaurus A. This Southern Hemisphere beauty is the result of a collision between several galaxies and is in a class of its own as an astrophotography target. So far, we have stacked the data into master frames, applied deconvolution using the Blur Xterminator plug-in for PixInsight and created scaled 16-bit TIFF files of the monochrome super-luminance and colour RGB images. These were combined into a layered LRGB image. At this point we have completed the preparatory stages of the processing stream and can now turn to extracting the amazing detail hidden in the galaxies. For this we’ll use Affinity Photo and will start by opening the LRGB image.

Generally, if I scale images by eye in PixInsight (prior to saving as 16-bit TIFFs) they come out a bit too bright in Affinity Photo. I’ve never been able to resolve why this happens but it’s easy to rectify. With the luminance layer selected, a simple re-scale using the ‘Filters > Shadows/Highlights’ menu is perfect for darkening the sky background. Then a couple of applications of the ‘Shadows Strength’ slider towards the left-hand (negative values) side worked a treat ( Step 1 ).

It’s good practice to keep the ‘Histogram’ menu visible onscreen at all times. If you can’t see it, go to ‘Window > Histogram’ to turn it on. Keep an eye on the left-hand side of the histogram curve when making any adjustments using the ‘Shadows/ Highlights’ or ‘Levels’ menus. If the sky background is darkened too much, the histogram curve will be squashed against the left-hand axis resulting in clipping of the data, rendering parts of the sky a single shade of jet black. This would be catastrophic for the mode of processing to come. It’s fine to leave a little headroom in the histogram, as shown in Step 2 , as we can make subtle tweaks later. Then flatten the image down to a single layer using ‘Document > Flatten’ and save as a 16-bit RGB TIFF file.

Xterminating the stars

The next section of processing will be to remove the stars from the image using the Star Xterminator plug-in. This AI-based tool will cleanly remove the stars from the image and place them in a separate layer while we concentrate on the main task of processing the galaxy using a variety of techniques. Having them separated will allow us to work on the galaxy only and not the stars, which will be reintroduced to the image towards the end of the processing run.

Star Xterminator can be accessed from within Affinity Photo directly, but it may take quite a long time to apply. It’s accessed via ‘Filters > Plugins > RC-Astro > StarXterminator’. The menu is very simple and only requires clicking on the ‘OK’ button to run. Even with my very hi-spec desktop PC it took about seventy seconds to complete.

I never tire of looking at these wonderful deep-sky objects with the stars temporarily banished ( Step 3 ). Note that it looks like some stars have been left behind. These are not stars but far more remote galaxies.

Applying Star Xterminator within Affinity Photo has delivered the starless image, but we’ll have to work a bit more to create a separate star layer. Here’s the procedure. Copy the starless image to the clipboard using ‘Edit > Copy’ or ‘Control-C’ (on a Windows PC). Ensure that you have the ‘History’ menu onscreen. Again, if it’s not visible use ‘Window > History’ to view it. At the top of the menu is a blue slider with a white circular ‘grab’ button. Click on that and drag it to the far left. This will revert the image to the earliest state, which is just our flattened LRGB image. Now paste the starless version onto the LRGB image using ‘Edit > Paste’ (or Control-V). We’ll now have a two-layer image visible in the ‘Layers’ menu, which should be visible on the screen at all times. Click on the blending drop-list in the Layer menu (the default option is ‘Normal’) and scroll down to ‘Difference’. This will create a star image as it is literally showing the difference between the starry LRGB image and the starless version. Flatten the star image and paste it to the clipboard. Using the History menu, go back two steps to the state labelled ‘Paste’ and this will revert to the starless version. Now paste the star image from the clipboard as a new layer. Finally, change the blending mode in the Layers menu to either ‘Add’ or ‘Screen’. I prefer to use ‘Add’ as it places the stars with the same brightness as in the original image. Using ‘Screen’ will fade the stars somewhat, making them less obtrusive. I find this works well on wide- field images as the stars can sometimes appear distracting.

Renaming the layers

At this stage we have a three-layer image. To keep track of things I clicked into each of the layers and named them ‘Stars’, ‘Starless’ and ‘Original’. Step 4 shows the Layers and History menus. The Star Xterminator plug-in is so efficient that you shouldn’t be able to see the difference between the original image and a combination of the Star/Starless layers, so at this point I delete the original layer by right-clicking on it and scrolling down to ‘Delete’. It’s very important to save the layered image now using ‘Save As’ to ensure that Affinity Photo’s .afphoto format is used (it’s the equivalent of Photoshop’s PSD format but is quicker to work with).

Step 5 shows a view of the stars partially removed from the image. Note how the elliptical galaxy looks larger on the starless section. You might also be able to see what looks like a small line of galaxies at upper left. It’s not galaxies, but we’ll come back to this feature later.

We are making progress. Next issue I’ll offer an alternative method of working with Star Xterminator that will help to streamline its application.

Nik Szymanek is an astro-imager based in north Essex and is the author of Shooting Stars and Shooting Stars II , which are Astronomy Now books about modern astrophotography techniques.