Automatic motion estimation with applications to hiPSC-CMs