NoiseXTerminator 2/AI3 User Manual (PixInsight)

Workflow

Questions often arise about when to apply NoiseXTerminator in an image processing workflow. There are two guiding ideas to keep in mind:

  • NoiseXTerminator can just as easily process linear data as non-linear (stretched) data
  • Noise reduction of any kind should never be applied before deconvolution of any kind, including BlurXTerminator

Internally, NoiseXTerminator applies a stretch prior to extracting the noise using the neural network, and then precisely reverses it after processing. So there’s really not much difference from the neural network’s perspective whether linear or nonlinear data is being processed – it tolerates either quite well.

Deconvolution, to truly be called deconvolution, requires linear data that has not been noise-reduced. Good deconvolution tools, such as BlurXTerminator, are designed to operate and produce accurate results in the presence of noise. There is nothing stopping anyone from mis-applying tools, but serious astrophotographers adhere to principles and practices that maintain the integrity of their data, and their processed images show it.

Real-time preview

Noise reduction is a highly subjective process, typically requiring careful tuning of parameters for the best and most natural results. It is highly recommended to use PixInsight’s real-time preview function to tune NoiseXTerminator for each image. Updates to the parameters will be reflected in the real-time preview window after a short delay.

The Denoise parameter

The “Denoise” parameter controls how much noise is removed from the image. A value of “0.00” means to remove none of the noise, and will leave the image unchanged. A value of “1.00” means to remove all of the noise. The choice of how much noise to remove or leave in the image is yours to make, but keep in mind that removing 100% of the noise can create an overly-smooth image that can look a bit unnatural.

Here is an example comparing the original, 85% noise reduction (0.85), and 100% noise reduction (1.00).

1.00
Denoise 1.00
0.85
Denoise 0.85
Original
Original
The Iterations parameter

This parameter controls how many steps NoiseXTerminator takes to remove noise using a technique called “successive approximation.” Better results can sometimes be obtained by removing the noise gradually over a number of steps rather than all at once. Increasing the number of iterations tends to retain detail better in very noisy areas of an image, and may help smooth the background. A high number of iterations can lead to artifacts appearing, however, so inspect the results carefully.

This is a subtle adjustment – you may not notice any difference in images that already have low noise, but the difference can be substantial on very noisy images, or in faint, noisy areas of any image. Here is a comparison between one and five iterations on a very noisy section of an image:

The trade-off here is execution time: it will take longer to perform more iterations.

Intensity/color separation

In color images, noise can be separated into two components: intensity, the “brightness” part of the noise, and color. NoiseXTerminator allows you to independently control how much of each of these components to remove.

Color Noise
Intensity Noise
Original

As you can see, the color component of the noise is often more objectionable than the intensity component. Good, natural results can thus often be obtained by reducing the color component more than the intensity component

Frequency separation

Noise can also be divided into “high frequency” and “low frequency” components. The term “frequency” here refers to the scale, or size, of the random fluctuations that comprise the noise. High-frequency noise refers to fine-scale, pixel-to-pixel variations, whereas low-frequency noise is larger-scale random variation, appearing as blotches or random ripple. Raw noise in an unprocessed image has both high- and low-frequency components.

High-Frequency Noise
Low-Frequency Noise
Original

In addition to allowing different amounts of high- and low-frequency noise reduction, NoiseXTerminator also allows you to define the scale that separates the high- and low-frequency components using the “HF/LF Scale” parameter. It is easiest to adjust the HF/LF scale parameter using PixInsight’s real-time preview function and temporarily setting “Denoise LF” to zero, like this:

Then, while watching the real-time preview window, adjust the HF/LF Scale parameter to target noise or image features of a desired size:

4 pixels 7 pixels

Once the HF/LF Scale parameter is adjusted, choose the amounts of HF and LF noise reduction. Often it is best to use a lower value for LF noise reduction, especially on objects that have a lot of natural low-frequency variations, such as dust clouds.

Combined modes

The intensity/color separation and frequency separation modes may be used together by selecting both checkboxes:

This is a lot of parameters to adjust, but think of these as different, independent “axes” that can be explored for best results on your images. Often, great results can be obtained using something like the following combination of settings:

  • A moderately high amount of HF intensity noise reduction, say 80-90%
  • A high amount of HF color noise reduction, e.g., 90-100%
  • A moderate amount of LF intensity noise reduction, e.g., 50-70% – this can help to retain natural fluctuations in many objects such as dust clouds
  • A high amount of LF color noise reduction, e.g., 100% – this will eliminate the colored “patches” or “blotches” that can often appear at larger scales
  • Adjust the HF/LF scale parameter to target retention of features naturally present in your image. The best setting will likely be different from object to object.

Different images will likely require different settings for best results. If it gets too overwhelming, you can always drop back to one of the simpler modes.

Scripting

Like any process in PixInsight, NoiseXTerminator can be scripted. If you click the Instance Source Code button in the NoiseXTerminator window, you will see the parameters that can be set:

If the enable_color_separation and enable_frequency_separation parameters are false, then only the denoise and iterations parameters will be relevant.

If enable_color_separation is true and enable_frequency_separation is false, then the denoise parameter controls how much intensity noise to reduce, and the denoise_color parameter controls how much color noise to reduce.

Conversely, if enable_frequency_separation is true and enable_color_separation is false, then the denoise parameter controls how much the high-frequency noise is reduced, and denoise_lf controls how much the low-frequency noise is reduced.

Combining the separation modes by setting both enable_color_separation and enable_frequency_separation to true, the parameters have the following meanings:

  • denoise: reduction of high-frequency intensity noise
  • denoise_color: reduction of high-frequency color noise
  • denoise_lf: reduction of low-frequency intensity noise
  • denoise_lf_color: reduction of low-frequency color noise

The iterations parameter applies in all of the above modes, and controls how many successive-approximation steps NoiseXTerminator takes when estimating the image noise. It only applies to AI version 3, and has no effect when using AI version 2.

The detail parameter only applies when using AI version 2, and controls the amount of sharpening applied during noise reduction. It has no effect when using AI version 3.

Share this with others...

One comment

Comments are closed.