1. A processor-implemented method for determining quality of an image, the processor-implemented method comprising: segmenting the image sections; generating quality measures for each section; and combining the quality measures of the sections to form a quality measure for the image, wherein the combining the quality measures comprises, for each section, multiplying a number of pixels in the section by the quality measure for the section to obtain a product, and dividing a sum of the products of the sections by a total number of pixels in the image to form an average quality measure for the image, wherein the generating quality measures for each section comprises: generating an in focus measure an out-of-focus measure, an over-exposure measure, and an under-exposure measure for each section; combining the in-focus measure, the out-of-focus measure, the over-exposure measure, and the under-exposure measure of each section to form a first composite quality measure for the section; determining a local contrast measure for each section; combining the first composite quality measure and the local contrast measure for each section to form a second composite quality measure for the section; and wherein the combining the quality measures of the sections comprises combining the second composite quality measures of the sections to form the quality measure for the image.