Version 0.8
I have made a very significant improvement to the 'Weight keyword'. It now bases the weight on noise evaluation. My tests indicate accurate results, even when imaging through light clouds.
Several people have mentioned on this forum that the ImageIntegration 'Noise evaluation' can assign high weights to images that were plagued with clouds. I have also experienced this with my own data. The reason for this is:
(1) PixInsight uses an excellent algorithm for measuring noise. I believe this to be working correctly. However, before the returned noise value can be used, it has to be scaled. For example, suppose you take two identical images, and multiply one of them by 2. The noise has doubled, but the signal to noise remains unchanged. Hence the need to scale the noise value. ImageIntegration understands this, and it calculates a scale factor for the noise estimate. This scale factor is independent of the normalization settings.
(2) ImageIntegration uses a fast and easy to use algorithm to calculate the scale. It is trying to solve an 'ill posed' problem. It can be ambiguous how much of the correction should be done by scaling or offset.
(3) If the image has a larger background level (i.e. imaging through light clouds), the measured noise will depend on how this background level is corrected. If the light pollution is subtracted, the noise measurement will be correct. If it is scaled, the noise measurement can end up being a significant underestimate. So an accurate scale is critical in these situations to determine the noise accurately, and hence the image weight. ImageIntegration usually does extremely well, but it cannot be expected to always get it right in these situations without a much more CPU intensive algorithm.
NormalizeScaleGradient calculates the scale very accurately (at the expense of much CPU ...), and can therefore save an accurate MRS noise based weight keyword in the FITS header.
I use PixInsight's MRS noise evaluation method:
"Estimation of the standard deviation of the Gaussian noise from the multiresolution support."
To use the NWEIGHT keyword, in ImageIntegration, set
Weights: to 'FITS keyword'
Weight keyword: 'NWEIGHT'
I have also added a summary at the end of the batch run:
Regards, John Murphy