involving reference image or background adaptation with time to compensate for changing conditions