Thanks again Juan,
ImageIntegration ignores all pixels outside the [0.00002, 0.99998] normalized range for all statistics calculations. It treats those pixels as if they wouldn't exist when it comes to compute values such as the mean, median, standard deviation, and so on.
I 'think' I understand that - in other words, AFTER normalisation, any pixels outside the bracketed range shown in your reply, CANNOT take part in the statistical analyisis. So, presumably, after normalisation, the 'padded values' still remain within the exclusion zone, and are therefore simply 'ignored' thereafter?
pixel rejection could be implemented for pixels below a specific value
Isn't this just a variation of your "Min/Max" clipping system?
One point that I haven't mentioned is the fact that your Image Integration dialogue box is becoming rather unwieldy - it is becoming too 'tall' to fit on a 1900x1200 screen workspace. I don't know how best to resolve this. I do have some ideas, and would be happy to discuss these in a more appropriate thread.
ROI
I think I understand this now - you still do a "whole-of-image" statistical analysis - most likely ONCE (at the start) for a given a data-set. Then ONLY the area within the ROI is passed to the actual "stacking" routine, and the ouput image is then only the size of the ROI. When parameters are adjusted thereafter, the file-cache information is easily, and quickly retrieved, the new integration parameters are applied, and the ROI image is recalculated. Very clever. And even more clever when the ROI is an image preview

I'm looking forward to the new module already !! (I am sure that you realise by now that I would NEVER now entrust my precious pixels to ANY other Integration process out there - there is no doubt in my mind that PI gives greater flexibility, and better results, than anything I have encountered - and, remember, I am testing these routines with Meade DSI data - dirty, nasty stuff, often containing more outliers than real values

)
Cheers,