A technique for ghosting artifacts removal in scene-based methods for non-uniformity correction in IR systems