Notes:
We use the standard deviation of the first 75 images we acquire as an estimate of the per-pixel noise.
It allows us to set threshold values for each individual pixel.