A novel robust principal component analysis method for image and video processing