FeatureMatch.correspondence#

FeatureMatch.correspondence() ndarray[source][source]#

Feature correspondences

Returns:

feature correspondences as array columns

Return type:

ndarray(2,N)

Return the correspondences as an array where each column contains the index into the first and second feature sets.

Example:

>>> from machinevisiontoolbox import Image
>>> orb1 = Image.Read("eiffel-1.png").ORB()
>>> orb2 = Image.Read("eiffel-2.png").ORB()
>>> matches = orb1.match(orb2)
>>> matches.correspondence()
array([[410, 418, 448, ...,  70, 247,  45],
       [360, 351, 423, ...,  89, 266,  21]], shape=(2, 82))