Loading autocnet/control/control.py +1 −1 Original line number Original line Diff line number Diff line Loading @@ -112,7 +112,7 @@ class CorrespondenceNetwork(object): This attribute serves as a low memory reverse lookup table This attribute serves as a low memory reverse lookup table point_id : int point_id : int The current 'new' point id if an additional point were to be adde The current 'new' point id if an additional point were to be added n_points : int n_points : int The number of points in the CorrespondenceNetwork The number of points in the CorrespondenceNetwork Loading autocnet/matcher/suppression_funcs.py +4 −0 Original line number Original line Diff line number Diff line Loading @@ -23,6 +23,10 @@ def distance(row, edge): def error(row, edge): def error(row, edge): """ Suppression function that takes the reprojection error in a fundamental matrix as the inverse strength. """ key = row.name key = row.name try: try: return 1 / edge.fundamental_matrix.error.iloc[key] return 1 / edge.fundamental_matrix.error.iloc[key] Loading autocnet/utils/utils.py +1 −1 Original line number Original line Diff line number Diff line Loading @@ -10,7 +10,7 @@ def normalize_vector(line): Parameters Parameters ---------- ---------- line : ndarray line : ndarray Standard line form coefficients Standard form of a line (Ax + By + C = 0) Returns Returns ------- ------- Loading autocnet/fileio/tests/test_io_controlnetwork.py +1 −1 File changed.Contains only whitespace changes. Show changes Loading
autocnet/control/control.py +1 −1 Original line number Original line Diff line number Diff line Loading @@ -112,7 +112,7 @@ class CorrespondenceNetwork(object): This attribute serves as a low memory reverse lookup table This attribute serves as a low memory reverse lookup table point_id : int point_id : int The current 'new' point id if an additional point were to be adde The current 'new' point id if an additional point were to be added n_points : int n_points : int The number of points in the CorrespondenceNetwork The number of points in the CorrespondenceNetwork Loading
autocnet/matcher/suppression_funcs.py +4 −0 Original line number Original line Diff line number Diff line Loading @@ -23,6 +23,10 @@ def distance(row, edge): def error(row, edge): def error(row, edge): """ Suppression function that takes the reprojection error in a fundamental matrix as the inverse strength. """ key = row.name key = row.name try: try: return 1 / edge.fundamental_matrix.error.iloc[key] return 1 / edge.fundamental_matrix.error.iloc[key] Loading
autocnet/utils/utils.py +1 −1 Original line number Original line Diff line number Diff line Loading @@ -10,7 +10,7 @@ def normalize_vector(line): Parameters Parameters ---------- ---------- line : ndarray line : ndarray Standard line form coefficients Standard form of a line (Ax + By + C = 0) Returns Returns ------- ------- Loading
autocnet/fileio/tests/test_io_controlnetwork.py +1 −1 File changed.Contains only whitespace changes. Show changes