Tone Reproduction of Photographs by Affine Color Transformation