Temporal statistics de-ghosting for adaptive non-uniformity correction in infrared focal plane arrays