Assessing self-similarity in redundant complex and quaternion wavelet domains: Theory and applications