FeatureMatch.correspondence#
- FeatureMatch.correspondence() ndarray[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, 332, 494, ..., 132, 497, 343], [360, 313, 448, ..., 21, 477, 419]], shape=(2, 39))