Flow-velocity imaging from linear regression of phase images with techniques for reducing eddy-current effects