A quite enjoyable technique well known among photographers dedicated to astrophotography is noise reduction by averaging a stack of images pixel by pixel.
This is a useful technique when, for some reason, we need to shoot at a certain ISO, or simply in very low light conditions, with very long exposures, and ultimately little signal and obviously using a tripod.
The problem with common noise reduction algorithms is that they cause image smoothing which ultimately results in a loss of detail. Stacking techniques tend to be more respectful of details, although if the alignment of the images is not good, some detail can be lost.
The basis of this technique is quite simple to understand since it is based on the concept of randomness of the noise present in the processing of our signal. As we see in the image on the left, which represents the cross-section for the same section of two images, the incidence of random noise in these regions can be evidenced, which translates into small oscillations of the levels along that cross-section.
It is worth briefly recalling the concept of signal-to-noise ratio (SNR), by which the greater the signal, the less noise and vice versa. In the same way that when we amplify a signal, the noise is magnified similarly. When shooting with very little light, at high ISOs, the noise becomes especially evident due to lack of signal.
Since much of the noise presents a certain randomness, if we take several images of the same scene and take a pixel for a given position in each of the images, we will observe that the contribution of that pixel is not uniform. The strategy is therefore simple: just average the values of that pixel for each image to discard the possible information contributed by the noise, since that information may or may not always be located in the same place, and therefore is discarded.
The practice of image averaging
If after taking a series of shots with a sensitivity level for which random noise is present, we can load them as an image sequence in ImageJ which will generate a stack. From the Stacks menu, and the Z Project option, we can use options like Average Intensity to obtain a new image resulting from the average of each pixel of the images in the stack.
Similarly, ENFUSE can be used to perform the fusion of our image stack, with very similar results.
It is advisable to perform prior alignment with StackReg if we are using ImageJ, or align_image_stack, otherwise it is likely that we will end up losing detail after fusion.
Some data
At first glance, as we can see in the image on the left, noise reduction is evident. However, it is better to study it through the SNR (Signal-Noise-Ratio) using a densitometric scale.
With this technique, the SNR went from 33.1 (B) to 35.4 (A), and as we see in the graph on the left, the improvement was more evident around the midtones (A), which is why the dynamic range improved by just a few tenths. For a more drastic improvement of the image, many more images would be needed. In any case, with the 7 images used in this example, the improvement is somewhat evident although the data are not especially optimistic.
