A Tool for Computing Luminance and Synthetic Images