Anisotropic conductivity in polyaniline and image processing applications