Image registration based on the structure tensor of the local phase