Spatial color algorithms: Milano retinex and NASA retinex