A corner detection method based on adaptive multi-directional anisotropic diffusion