Text this: Feature extraction algorithm based on quaternion common spatial pattern for banknote recognition