Loading autocnet/graph/edge.py +1 −1 Original line number Diff line number Diff line Loading @@ -483,7 +483,7 @@ class Edge(dict, MutableMapping): new_y[i] = res[1] strengths[i] = res[2] elif method == 'template': new_x[i], new_y[i], strengths[i] = sp.subpixel_template(sx, sy, dx, dy, s_img, d_img, new_x[i], new_y[i], strengths[i], _ = sp.subpixel_template(sx, sy, dx, dy, s_img, d_img, search_size=search_size, template_size=template_size, **kwargs) Loading autocnet/matcher/subpixel.py +2 −2 Original line number Diff line number Diff line Loading @@ -398,7 +398,7 @@ def subpixel_register_measure(measureid, iterative_phase_kwargs={}, subpixel_tem res = session.query(Images).filter(Images.id == sourceid).one() source_node = NetworkNode(node_id=sourceid, image_path=res.path) new_template_x, new_template_y, template_metric = subpixel_template(source.sample, new_template_x, new_template_y, template_metric, _ = subpixel_template(source.sample, source.line, destination.sample, destination.line, Loading Loading @@ -497,7 +497,7 @@ def subpixel_register_point(pointid, iterative_phase_kwargs={}, subpixel_templat measure.ignore = True # Unable to phase match continue new_template_x, new_template_y, template_metric = subpixel_template(source.sample, new_template_x, new_template_y, template_metric, _ = subpixel_template(source.sample, source.line, new_phase_x, new_phase_y, Loading Loading
autocnet/graph/edge.py +1 −1 Original line number Diff line number Diff line Loading @@ -483,7 +483,7 @@ class Edge(dict, MutableMapping): new_y[i] = res[1] strengths[i] = res[2] elif method == 'template': new_x[i], new_y[i], strengths[i] = sp.subpixel_template(sx, sy, dx, dy, s_img, d_img, new_x[i], new_y[i], strengths[i], _ = sp.subpixel_template(sx, sy, dx, dy, s_img, d_img, search_size=search_size, template_size=template_size, **kwargs) Loading
autocnet/matcher/subpixel.py +2 −2 Original line number Diff line number Diff line Loading @@ -398,7 +398,7 @@ def subpixel_register_measure(measureid, iterative_phase_kwargs={}, subpixel_tem res = session.query(Images).filter(Images.id == sourceid).one() source_node = NetworkNode(node_id=sourceid, image_path=res.path) new_template_x, new_template_y, template_metric = subpixel_template(source.sample, new_template_x, new_template_y, template_metric, _ = subpixel_template(source.sample, source.line, destination.sample, destination.line, Loading Loading @@ -497,7 +497,7 @@ def subpixel_register_point(pointid, iterative_phase_kwargs={}, subpixel_templat measure.ignore = True # Unable to phase match continue new_template_x, new_template_y, template_metric = subpixel_template(source.sample, new_template_x, new_template_y, template_metric, _ = subpixel_template(source.sample, source.line, new_phase_x, new_phase_y, Loading