ewoksndreg.features.matching.numpy_backend.match_keypoints#
- ewoksndreg.features.matching.numpy_backend.match_keypoints(features1, features2, image1, image2, window_ext=5, gauss_sigma=3, npoints=None, metric='nssd')[source]#
Match features based differences between ROI’s around their coordinates.
This method returns two arrays:
an array of matching indices in features1 and features2
an array of matching measures (smaller value means a better match)
These two arrays are sorted by increasing matching measure.
- The following difference measures are supported:
sum of squared differences
- Parameters:
features1 (
NumpyKeypointFeatures
)features2 (
NumpyKeypointFeatures
)image1 (
ndarray
)image2 (
ndarray
)
- Return type:
Tuple
[ndarray
,ndarray
]