1. A computer-implemented method for improving the quality of an image, comprising: receiving an input image; utilizing a tone mapping operator (TMO) having one or more operational parameters to tone map the input image and create a first tone-mapped image; generating a contrast waste score for the first tone-mapped image; generating a contrast loss score for the first tone-mapped image; with a computer, automatically utilizing the contrast waste score and the contrast loss score to tune one or more of the operational parameters of the TMO; and utilizing the TMO with the one or more tuned operational parameters to generate a second tone-mapped image from the input image.