match_lists

grizli.prep.match_lists(input, output, transform=None, scl=3600.0, simple=True, outlier_threshold=5, toler=5, triangle_size_limit=[5, 800], triangle_ba_max=0.9, assume_close=False)[source]

Compute matched objects and transformation between two (x,y) lists.

Parameters
input(array, array)

Input pixel/array coordinates

output(array, array)

Output pixel/array coordinates

transformNone, skimage.transform object

Coordinate transformation model. If None, use skimage.transform.EuclideanTransform, i.e., shift & rotation

sclfloat

Not used

simplebool

Find matches manually within outlier_threshold. If False, find matches with skimage.measure.ransac and the specified transform

outlier_thresholdfloat

Match threshold for simple=False

triangle_size_limit(float, float)

Size limit of matching triangles, generally set to something of order of the detector size

triangle_ba_maxfloat

Maximum length/height ratio of matching triangles

assume_closebool

Not used

Returns
input_ix(array, array)

Array indices of matches from input

output_ix(array, array)

Array indices of matches from output

outliers(array, array)

Array indices of outliers

modeltransform

Instance of the transform object based on the matches