Image quality in image classification: Design and construction of an image quality database