PYME.Analysis.fiducial_matching module

Match fiducials between frames using rotation invariant point features, and a probabalistic matching algorithm.

PYME.Analysis.fiducial_matching.gen_features(points, N)

Features are distances of the N nearest neighbours to each point

Parameters
pointsarray_like

Mx2 or Mx3 array of points

Nint

Number of nearest neighbours to use

PYME.Analysis.fiducial_matching.gen_features2(points, N)

Features are distances of the N nearest neighbours to each point

Parameters
pointsarray_like

Mx2 or Mx3 array of points

Nint

Number of nearest neighbours to use

PYME.Analysis.fiducial_matching.match_points(points0, points1, scale=1.0, p_cutoff=0.1, gui=True)

Match points between two frames

Parameters
points0array_like

Mx2 or Mx3 array of points

points1array_like

Mx2 or Mx3 array of points

Returns
matchesarray_like

Nx2 array of indices of matched points