1. A method for classifying a test image, the method comprising the step of: building a classifier that distinguishes motion blur features from defocus blur features; wherein building the classifier includes (i) providing a plurality of training images to a control system including a processor, (ii) analyzing the plurality of training images with the control system to determine a training image point spread function for at least a portion of each of the plurality of training images, and (iii) extracting, directly from each of the training image point spread functions determined by analyzing the training images, one or more training image features with the control system.