Skip to content

matches

matches #

The matches scalar; a loaded Matches is the .npz path.

Matches #

Bases: NumpyScalar

The keypoints two images agree on.

  • ab: keypoint index pairs, the first column into image a's keypoints and the second into image b's.

Analysis-only: produced by a recipe, never captured, so it has no platform mirror and no place in a schema.

Source code in capturegraph-recipes/capturegraph_recipes/types/reconstruction/matches.py
class Matches(cg.NumpyScalar, name="edu.cornell.matches"):
    """The keypoints two images agree on.

    - ``ab``: keypoint index pairs, the first column into image ``a``'s
      keypoints and the second into image ``b``'s.

    Analysis-only: produced by a recipe, never captured, so it has no platform
    mirror and no place in a schema.
    """

    __slots__ = ()

    analysis_only = True

    layout = {"ab": ("int32", (-1, 2))}