BBC Sky at Night Magazine

Removing stars from a deep-sky nebula target

Use a Photoshop plug-in to eliminate stars in an image of the Statue of Liberty Nebula

- Warren Keller is an astrophoto­grapher and image-processing educator. See www.mastersofp­ixinsight.com

With the exception of targets like open clusters, stars are generally not the main feature of astro images. In fact, their presence can hinder us from teasing out nebulae and similar objects of interest. While some programs, like Photoshop, offer techniques to partly get around this, a new plug-in makes it much easier. In this article,

I will look at the benefits of using StarXTermi­nator.

The plug-in StarXTermi­nator, by Russell Croman, has been trained to recognise and eliminate stars from an image, by using ‘machine learning’ (artificial intelligen­ce). Once these have been removed, the image can be processed with full attention paid to the target. When the processing is complete, the stars can be put back in, or left out (see images, above).

The starless software revolution itself began with StarNet++, a free script for PixInsight. Several years later, StarXTermi­nator, a commercial plug-in, built by Croman’s RC Astro, was introduced for Photoshop (and PixInsight). The software is compatible with Windows, macOS and Linux operating systems, and a free 30-day trial is offered (see www.rc-astro.com/ resources/StarXTermi­nator).

Why are stars such a challenge? For starters they are already bright, so you can damage them by ‘stretching’ (boosting) dimmer elements of the picture. Also, unlike the rest of the image, stars do not require sharpening or noise reduction – the removal of unwanted artefacts. If you are trying to process nebulae that lie within the Milky Way, it can be tricky to enhance their dim tendrils due to the stars in the field. You’ll find that removing the stars makes processing so much easier.

Making life easier

In the past, the process of separating stars from the rest of the image was achieved by using a ‘mask’. Think of the way a house painter uses masking tape to protect wood trim where new colour is unwanted. Likewise, applying a virtual mask to an image allows the processor to protect specific elements (eg, stars), so that work performed on other elements doesn’t adversely affect them. This may include noise

reduction, sharpening and colour saturation. While masks do this quite well, Photoshop doesn’t offer a way to make a star mask. In the past, Photoshop ‘Actions’ – automated sets of procedures – could be created by advanced users to select the stars, but these involved multiple iterations of several processes and only did a fair job. The StarXTermi­nator plug-in for Photoshop removes stars at the press of a button!

After purchasing or downloadin­g the free trial of StarXTermi­nator, the files must be placed in Photoshop’s ‘Plug-ins’ folder per the instructio­ns in the included PDF. After opening the plug-in within Photoshop’s ‘Filter’ menu (‘RC-Astro’) and entering the key sent by email, you’ll need to download the latest version of the neural network by clicking ‘Download AI’. At the time of writing, Version 9 had just been released. With each revision, the neural network is trained further with image data from different optical systems. This makes the program better at recognisin­g stars of all shapes and sizes, and preventing damage to non-stellar structures.

While it’s recommende­d that you run StarXTermi­nator in the workflow, it does a great job at any stage, even on final images. With a TIFF image open in Photoshop, you can duplicate the background layer twice.

From the ‘Filter’ menu, run StarXTermi­nator on the top layer. Duplicate this layer, then make it invisible by turning off its ‘eyeball’ icon. Next, set the lower, duplicate starless layer’s blend mode to ‘Subtract’, and merge this layer with the one below using the keyboard command ‘Ctrl + E’, or the ‘Merge Down’ command in the ‘Layers’ menu. This is now the layer with the stars alone. Next, drag it to the top and set the blend mode to ‘Linear Dodge (Add)’ (Screenshot 1).

You should now have three layers: the original ‘Background’ photo (bottom), the ‘Starless’ version (middle) and the stars themselves, ‘Stars only’ (top). To work on the ‘Starless’ layer, activate it by clicking on it, and be sure the ‘eyeball’ icon is switched on. You may wish to briefly turn off the ‘Stars only’ layer to get a better look at what you’re doing (Screenshot 2).

With the stars out of the way, the nebula or galaxy in the middle layer can be enhanced in various ways. Screenshot 3 shows a ‘Curves’ adjustment, which is used to boost a nebula’s brightness and contrast.

When the processing is complete, the layers are ‘Flattened’ to include the stars, or not: it’s your choice!

 ?? ?? Right: … and you still have the option of adding the stars back in
Right: … and you still have the option of adding the stars back in
 ?? ?? ▲ Left: a starless image of NGC 3576 shows why the technique of omitting stars during processing can bring out vivid nebulosity in narrowband images…
▲ Left: a starless image of NGC 3576 shows why the technique of omitting stars during processing can bring out vivid nebulosity in narrowband images…
 ?? ?? ▲ Screenshot 3: a contrast-enhancing ‘Curves’ adjustment to the ‘Starless’ layer can make the nebula pop
▲ Screenshot 3: a contrast-enhancing ‘Curves’ adjustment to the ‘Starless’ layer can make the nebula pop
 ?? ?? ▲ Screenshot 2: the ‘Starless’ middle layer can be enhanced with various adjustment­s and filters to accentuate the deep-sky target
▲ Screenshot 2: the ‘Starless’ middle layer can be enhanced with various adjustment­s and filters to accentuate the deep-sky target
 ?? ?? ▲ Screenshot 1: the topmost layer of the stack contains only the image’s stars
▲ Screenshot 1: the topmost layer of the stack contains only the image’s stars
 ?? ??

Newspapers in English

Newspapers from United Kingdom