A multi-directional displacement tracking algorithm for strain imaging