Skip to content

Commit

Permalink
feat: ✨ add tps transformation grid
Browse files Browse the repository at this point in the history
  • Loading branch information
noshita committed Mar 10, 2024
1 parent d295a4f commit ae87df5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ktch/landmark/_plot/_tps.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import matplotlib.pyplot as plt
import numpy as np

from .._Procrustes_analysis import _thin_plate_spline_2d, _tps_2d
Expand Down Expand Up @@ -46,6 +45,8 @@ def tps_grid_2d_plot(
Matplotlib axes.
"""

import matplotlib.pyplot as plt

W, c, A = _thin_plate_spline_2d(x_reference, x_target)

if ax is None:
Expand Down

0 comments on commit ae87df5

Please sign in to comment.