A chaotic image encryption scheme based on multi-directional confusion and diffusion operations