An introduction to GraXpert AI Deconvolution

Nik Szymanek takes time to try out the beta version of the latest GraXpert deconvolution software, using an image of the Leo Triplet member NGC 3628 as his guinea pig.

Nik Szymanek

1

GraXpert is an interesting program that has been around for a couple of years and has undergone many stages of development, making it a very powerful tool that can deal with light-pollution gradients and noise removal. I’ve reported on various versions of the program over the years. The latest beta version, named ‘Umbriel (3.1.0rd2)’, includes deconvolution, which is an incredibly powerful tool for removing blurring caused by the effects of atmospheric turbulence. Remarkably, with all this functionality, the programme remains free to download here: [github.com/Steffenhir/GraXpert/releases](https://github.com/Steffenhir/GraXpert/releases).

After installation and when running the program for the first time, you will be prompted to download any necessary AI files. This shouldn’t take too long, and you can check what’s been downloaded by clicking on the blue ‘Advanced’ tab on the right-hand side of the screen. It looks quite complicated, but the top half of the menu can be ignored unless you need to fine-tune any of the background extraction parameters when not using the AI mode. At the bottom right are the AI models that have been downloaded for background extraction, object deconvolution and de-noising.

I’ve noticed that occasionally the beta version freezes, but generally it performs well and should improve with upcoming stable releases. In any case, it’s a very easy program to use and therefore it is ideal for people starting out in astrophotography.

For this tutorial I’ll use an image of the lovely galaxy NGC 3628 that was taken with a 610mm (24-inch) telescope and CMOS camera that are part of the Telescope Live remote imaging platform. This galaxy is one of the famous ‘Leo Triplet’ that also includes M65 and M66, both remarkable galaxies in their own right, and the group is a very popular target for astro-imagers.

Removing dithering artefacts

Step 1 shows the familiar user-interface that is laid out in a clear and logical order. At the top-left we can see the main program features and along the bottom are adjustments for stretching the image as well as boosting the saturation. The Advanced tab menu is shown on the right.

To proceed, click on the green ‘Load Image’ button. I opened a raw 32-bit RGB FITS file and boosted the colour saturation using the ‘Saturation’ slider. Doing this allows us to better assess the gradients in the image, which in this case are caused by the infringement of moonlight as well as some colour bleed from the bright star at top-left.

Notice that there are edge artefacts around the image. These are caused by ‘dithering’ the data during the acquisition stage by a small amount to spread the pixel noise around. This technique pays huge dividends when the multiple sub-exposures are stacked and produces a much-improved master frame.

The first task is to crop these artefacts from the image because if they are left in then they will degrade the final image. To do this, click on the ‘+’ sign to the right of the ‘Crop’ menu. A yellow crop-box will appear around the image and it’s a simple task to reduce this in size to remove the offending edges by clicking inside the two yellow circles and dragging inwards. Press the green ‘Apply Crop’ button to remove the edge artefacts.

Continuing, we can move to the next menu item and run GraXpert’s ‘Background Extraction’ tool. Click on the ‘+’ on the right of the menu and choose the AI option from the Interpolation Method drop-list. Doing this reduces the whole procedure to a single click on the green ‘Calculate Background’ button. Within the menu is also found a ‘Smoothing’ slider. I usually leave this on a value of 0.0, but try experimenting with your own images and see if changing this value helps.

The extraction has worked well, and we can do a before and after comparison by using the drop-list at the top of the screen. If you click on ‘Original’, you’ll see the image before correction. ‘Gradient Correction’ shows the modified image, and you can view the model used to correct the image by clicking on the ‘Background’ option. We can now revert the image back by reducing the saturation values ( Step 2 ).

2

Applying deconvolution

With the gradients removed, I applied deconvolution to the image by clicking on ‘+’ to the right the ‘Deconvolution’ menu.

The latest beta version includes a two-step process that is applied to either the deep-sky object or to the stars, although this procedure is a bit quirky. Let’s start off by selecting ‘Object-only’ (the galaxy) from the drop-list. There are two sliders available, ‘Deconvolution Strength’ and ‘Image FWHM (in pixels)’. The latter is where you set a value that matches the FWHM of the stars in your image. It’s basically a measure of the quality of the data in terms of atmospheric seeing. There are no tools to assess the FWHM information in GraXpert , so I recommend that with both sliders you experiment with different values and see what works best. I used high values for both to hopefully show the effect more clearly. As always, you can compare to the earlier version using the top drop-list.

I expected to proceed by applying deconvolution to the stars, and when I tried this it worked except for the fact that it undid the earlier object-only deconvolution. After a bit of head-scratching I found the only way to apply both settings was to save the image, reopen it and then apply the second- stage deconvolution. As you might expect, the image is saved using the ‘Saving’ menu at the bottom of the list.

Keeping the same 32-bit file format, I saved the object-only deconvolved image and re-opened it. The deconvolution of the stars worked, to a degree. I found that the best result came from using a value of about 3.4 on the FWHM slider. This really tightened up the smaller stars in the image while ignoring the very bright stars, and the overall result was good ( Step 3 ). Commendably, GraXpert saves any applied effects in the file name, making image identification easier.

STEP 3

After opening the double-deconvolved image, I moved to the final processing stage. From the ‘Denoising’ menu I chose a value of 0.72 for the ‘Denoise Strength’ slider and clicked on the green ‘Denoise Image’ button to start the procedure. In passing, when evaluating this new version, I found that de-noising took much longer to apply and crashed the beta version more than any other processing stage. Having the earlier processed images saved meant just reopening GraXpert and running the de-noise again. As usual, it’s helpful to compare the de-noised image to the original and to review all the individual processing stages. The final task is to save the image by clicking, as you might expect by now, on the plus sign to the right of the save menu.

STEP 4

I think that this latest version of GraXpert is a very useful program for beginners and advanced astrophotographers. It’s not yet in the league of Blur Xterminator or Noise Xterminator , but it does very well. The interface is clear and very simple to use. Happily, even with all this functionality, the program is still free.

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.