GraXpert Interface
Siril provides an interface to the external GraXpert tool. This is a third party piece of Free and Open Source software that provides sophisticated background removal and denoising routines. Although Siril's built-in background extraction uses a selected GraXpert algorithm, Siril currently does not directly support AI inferencing. This is because of the complexities of cross-platform GPU support and the fact that Siril is written in C, whereas almost all AI code uses python. Integration with GraXpert therefore provides a way to bring advanced AI astronomical image processing functionality to Siril users in a seamless manner.
In order to be used, the path to the working GraXpert installation must be set in
.Avertissement
If you are wondering why GraXpert doesn’t launch, please run it outside Siril first. It’s not Siril’s fault if it’s not supported by your computer or badly installed for some reason. Ensure you can correctly open GraXpert using its own GUI and that it works correctly by itself. If this is assured, then it will work when correctly configured in Siril.
Extraction de gradient
The GraXpert background extraction interface works in a very similar way to the built-in one. In AI mode there is not even any need to generate a background sampling grid: it is just necessary to select the AI algorithm (which is the interface default anyway) and click Apply.
In the other modes (RBF, Kriging and Spline) it is necessary to set a background sampling grid. This works in exactly the same way as setting the grid for the built-in background extraction tool (because it uses the same code). Samples can be automatically placed by providing a density (Samples per row) and clicking on Generate. If areas of the image are brighter than the median by some factor Grid tolerance times sigma, then no sample will be placed there. Note that to achieve commonality with GraXpert's own UI the Siril interface will allow setting the grid tolerance as low as -2.0 and up to +6.0.
Après la génération, les échantillons peuvent également être ajoutés manuellement (clic gauche) ou retirés manuellement (clic droit).
Unlike the built-in background extraction algorithm it is not possible to preview the background model, as it is calculated using external software, but there is an option Keep background which will save the background model, as computed by GraXpert, for subsequent inspection if required.
For additional details of how GraXpert background extraction works, see the website.
Déconvolution
From version 3.1 onwards, GraXpert supports deconvolution. Two modes are possible:
object deconvolution,
stellar deconvolution.
These modes can be selected using the switch at top left.
To use deconvolution, simply select Deconvolution in the upper tab. This operation has two parameters, Strength, which takes values between 0.0 (no deconvolution) and 1.0 (maximum deconvolution) and Image FWHM (in pixels), which also takes values between 0.0 (prioritises fine structure retention) and 14.0 (prioritise deconvolution ability). If you set it to zero you can see a very (too) small effect on processed image, if so set it higher.
Denoising
To use GraXpert for denoising, select Denoising in the tab. This operation has only one parameter, Strength, which takes values between 0.0 (no denoising) and 1.0 (maximum denoising).
Paramètres généraux
Use GPU: This option tells GraXpert to use the GPU for AI inferencing, if one is available. It is safe to leave this set, as GraXpert will fall back to CPU if no GPU is available. Note that the background extraction AI model is much quicker to run and the AI inferencing has a significant set-up time, so for background extraction you may find that CPU inferencing is marginally quicker. The denoising algorithm is significantly slower and it is always worth using AI inferencing for this if possible
AI batch size: This option sets how many chunks GraXpert will attempt to run inferencing on in parallel. Note that setting this too high may cause out-of-memory errors, and may or may not provide a speed benefit dependent on your hardware.
Apply to Sequence: Using GraXpert via the Siril interface provides a unique option that is not even available using GraXpert stand-alone: the ability to apply GraXpert processing to sequences of images. In order to achieve this, simply select the Apply to sequence check box. The sequence will be saved with the prefix graxpert_.
Ligne de commande Siril
graxpert_bg [-algo=] [-mode=] [-kernel=] [-ai_batch_size=] [-pts_per_row=] [-splineorder=] [-samplesize=] [-smoothing=] [-bgtol=] [ { -gpu | -cpu } ] [-ai_version=] [-keep_bg]
Ligne de commande Siril
graxpert_denoise [-strength=] [ { -gpu | -cpu } [-ai_version=] ]
Ligne de commande Siril
graxpert_deconv [-strength=] [-psfsize=] [ { -gpu | -cpu } [-ai_version=] ]
Ligne de commande Siril
seqgraxpert_bg sequencename [-algo=] [-mode=] [-kernel=] [-ai_batch_size=] [-pts_per_row=] [-splineorder=] [-samplesize=] [-smoothing=] [-bgtol=] [ { -gpu | -cpu } ] [-keep_bg]
Ligne de commande Siril
seqgraxpert_denoise sequencename [-strength=] [ { -gpu | -cpu } ]
Ligne de commande Siril
seqgraxpert_deconv sequencename [-strength=] [-psfsize=] [ { -gpu | -cpu } ]