Strangers in the night: a Centaurus A case study, part 4
Continuing from previous issues his processing of an image of the Centaurus A galaxy merger, Nik Szymanek splits the data into star-less and star-only layers in order to work on the details.
Nik Szymanek
In the previous issue we reached a point in the processing stream where the large LRGB dataset had produced a two-layer image of the magnificent object Centaurus A. The top layer consists of just the stars, which we extracted using the Star Xterminator plug-in running in Affinity Photo . We then worked with the ‘History’ and ‘Layer’ menus to synthesise a separate star layer. This is fine but rather than using Affinity Photo for this, I tend to flatten the two-layer LRGB image, save it and then open it in PixInsight as it will really streamline the star-removal process.
Step 1 shows the flattened LRGB image along with the Star Xterminator menu in PixInsight . It’s a simple menu and the only option I tick is ‘Generate Star Image’. With my powerful desktop PC, the star removal takes less than ten seconds, also creating a separate star layer that, you may recall, Affinity Photo didn’t do ( Step 2 ).
1
2
Graphics acceleration
Working with AI-based processing tools puts quite a strain on any PC, so having high-performance components really accelerates these procedures. My own PC is based around an Intel Core i9 processor with 96 GB RAM and, importantly, a 20 GB NVIDIA RTX 4000 Ada Lovelace graphic card. Last issue we saw that Affinity Photo took over seventy seconds to remove the stars from the same image, so why is PixInsight so much faster? The answer is that it’s possible to apply a graphics acceleration to all three of the RC-Astro AI-based Xterminator tools but only within PixInsight . The procedure is a little complex and requires working with NVIDIA’s ‘CUDA’ toolkit (available as a free download). This link explains the details: rikutalvio. [blogspot.com/2023/02/pixinsight-cuda.html](https://blogspot.com/2023/02/pixinsight-cuda.html).
Before proceeding, it’s important to check the performance of your computer’s NVIDIA graphic card by viewing the ‘Compute Capability’ list. Find your graphic card and note the associated number. The higher the number, the better the graphic card will perform. Cards with a lower figure of 3.5 may not be suitable. Incidentally, users of Mac computers benefit from having this performance-enhanced capability built in.
As covered in the above link, you can check the success of the application. There should be something like a ten-times reduction in processing time, which will be obvious. Further confirmation can be found by using the Windows ‘Task Manager’ to monitor video graphic acceleration. Click on the ‘Performance’ tab in the Task Manager and select the ‘GPU’ button. Run any of the RC-Astro Xterminator tools and you should see a massive spike in the Video Encode graph ( Step 3 ).
3
Local contrast
Back in PixInsight , I save both the star and starless images as 16-bit TIFF files before opening the latter in Affinity Photo . As is so often the case, I start off by applying Tone Mapping to the starless image. This is a powerful tool, used to enhance the visibility of extremely low-contrast features in an image, and will pay superlative dividends on the Centaurus A galaxies.
The Tone Mapping Persona is accessed via a square button at the top left of the screen. Clicking on it opens the menu. Affinity Photo always applies a massive tonal stretch by ramping the ‘Tone Compression’ slider up to 100 per cent. To proceed, this needs to be reset to 0 per cent, though there may be the odd occasion where it’s beneficial to move the slider up by a few per cent, perhaps if the image is a bit dark or tonally flat. It’s then a simple matter to click on the ‘Local Contrast’ slider and move it towards the right to boost the low-contrast detail.
When I first applied Tone Mapping to the Centaurus A image using a Local Contrast value of 45 per cent, it was obvious that something magical happened. From out of the gloom around the galaxies appeared incredible concentric shells of stars, arranged in circular waves but also exhibiting subtle clumping, although a small part of this is artefacts from the star-removal process. My assumption is that the spiral galaxy, of which the disrupted remains run diagonally across the image, collided with the elliptical ‘face on’ causing massive gravitational disruption that scattered myriad stars into intergalactic space. Imagine dropping a rock into a calm lake and watching the circular waves emanate from the impact point; maybe we’re seeing something equivalent playing out on an unimaginably larger and more violent scale.
Note also that what appeared to be a possible grouping of galaxies at the upper left in earlier versions of the image is revealed to be a jet of material roughly pointing back towards the nucleus of the elliptical galaxy. Multi-wavelength images of Centaurus A indeed show massive emission from the colliding galaxies, far more than in the visible light shown here. Step 4 shows the result.
4
Tone mapping
The Tone Mapping procedure worked wonders on our starless image, bringing forth the star shells and jet (both of which will be enhanced further later) but because the procedure is global, it’s applied to the whole image, most noticeably to the maelstrom in the centre of the galaxy pairing. Step 5 shows a close-up of the pre-Tone Mapped image (top) and the processed version (bottom). At this stage no further manipulation has occurred so both appear a bit washed-out, but notice that the bottom image appears to have much more contrast. The dust lanes are more prominent, which is good, but I think that the effect is too strong. So while we have achieved an excellent result with the sky ‘background’, i.e. the star shells and jet, the core is over-processed.
5
There are several ways this problem can be addressed. A quick fix is to move back to a state before the Tone Mapping was applied, using the History menu. Click on the paint-brush icon on the left-hand side of the chosen state to highlight it. Return to the final state in the History menu (a selected state is highlighted in blue). Now go to Affinity Photo ’s Toolbox options on the left-hand side of the screen and click on the ‘Undo Brush Tool’. Set a brush size that covers the central area of the galaxies and ‘paint’ over them to revert the image back to the previous state, leaving the star shells unaffected. Experiment with the ‘Opacity’ strength to blend the images together. A value of 100 per cent reverts the image to the pre-Tone Mapped state.
I prefer an alternative and much more flexible approach, which we’ll explore in the next issue.
Nik Szymanek is an astro-imager based in Essex and is the author of Shooting Stars and Shooting Stars II , which are Astronomy Now books about modern astrophotography techniques.