Background subtraction robust to illumination changes