vismatch.im_models.sphereglue

Functions

unit_cartesian(points)

Classes

SiftSphereGlue([device, max_num_keypoints])

SphereGlueBase([device])

This class is the parent for all methods that use LightGlue as a matcher, with different local features.

SuperpointSphereGlue([device, max_num_keypoints])

vismatch.im_models.sphereglue.unit_cartesian(points)[source][source]
class vismatch.im_models.sphereglue.SphereGlueBase(device='cpu', **kwargs)[source][source]

Bases: BaseMatcher

This class is the parent for all methods that use LightGlue as a matcher, with different local features. It implements the forward which is the same regardless of the feature extractor of choice. Therefore this class should NOT be instatiated, as it needs its children to define the extractor and the matcher.

Parameters:

device (str)

class vismatch.im_models.sphereglue.SiftSphereGlue(device='cpu', max_num_keypoints=2048, *args, **kwargs)[source][source]

Bases: SphereGlueBase

Parameters:

device (str)

class vismatch.im_models.sphereglue.SuperpointSphereGlue(device='cpu', max_num_keypoints=2048, *args, **kwargs)[source][source]

Bases: SphereGlueBase

Parameters:

device (str)