Quantum image classification using principal component analysis