KeypointMatcher.match_images

KeypointMatcher.match_images(image1, image2)[source]

Orchestrates the detect-then-match process.

This concrete method fulfills the ImageMatcher interface requirement. It uses the abstract detect_and_compute and match_descriptors methods to perform the full matching pipeline.

Parameters:
  • image1 (ndarray[tuple[Any, ...], dtype[_ScalarT]]) – The first image to match keypoints

  • image2 (ndarray[tuple[Any, ...], dtype[_ScalarT]]) – The second image to match keypoints

Returns:

An array of the matched keypoint locations as nx2x2

Return type:

ndarray[tuple[Any, …], dtype[float64]]