Robust Principal Component Analysis based on Purity