Commit 08c77fac authored by Jay's avatar Jay Committed by Jason R Laura
Browse files

Additional updates re: comments.

parent 925b9903
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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
+4 −0
Original line number Original line Diff line number Diff line
@@ -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]
+1 −1
Original line number Original line Diff line number Diff line
@@ -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
    -------
    -------
+1 −1

File changed.

Contains only whitespace changes.