Improving color constancy using indoor-outdoor image classification