1. A method of processing a digital image, comprising: assigning an image quality classification to the image on the basis of an analysis of at least a portion of the image to detect whether one or more defects exist in the image.