Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion matlab_cp2tform.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import numpy as np
from numpy.linalg import inv, norm, lstsq
from numpy.linalg import matrix_rank as rank
import copy


"""
Expand Down Expand Up @@ -404,7 +405,7 @@ def findSimilarity(uv, xy, options=None):
# Solve for trans2

# manually reflect the xy data across the Y-axis
xyR = xy
xyR = copy.deepcopy(xy)
xyR[:, 0] = -1 * xyR[:, 0]

trans2r, trans2r_inv = findNonreflectiveSimilarity(uv, xyR, options)
Expand Down