Matchers
Page under construction...
MatcherBase
Base class for matchers. It defines the basic interface for matchers
and basic functionalities that are shared among all matchers,
in particular the match
method. It must be subclassed to implement a new matcher.
Attributes: |
|
---|
__init__(custom_config)
Initializes the MatcherBase object.
Parameters: |
|
---|
Raises: |
|
---|
match(feature_path, matches_path, img0, img1, try_full_image=False)
Match features between two images.
Parameters: |
|
---|
Raises: |
|
---|
Returns: |
|
---|
viz_matches(feature_path, matchings_path, img0, img1, save_path=None, fast_viz=True, interactive_viz=False, **kwargs)
_match_pairs(feats0, feats1)
abstractmethod
Perform matching between two sets of features. This method must be implemented by subclasses. It takes in two dictionaries containing the features of the two images and returns the matches between keypoints and descriptors in those images.
Parameters: |
|
---|
Raises: |
|
---|
Returns: |
|
---|
_match_by_tile(img0, img1, features0, features1, method=TileSelection.PRESELECTION, select_unique=True)
Match features between two images using a tiling approach.
Parameters: |
|
---|
Returns: |
|
---|
DetectorFreeMatcherBase
Base class for matchers. It defines the basic interface for matchers
and basic functionalities that are shared among all matchers,
in particular the match
method. It must be subclassed to implement a new matcher.
Attributes: |
|
---|
__init__(custom_config)
Initializes the MatcherBase object.
Parameters: |
|
---|
Raises: |
|
---|
match(feature_path, matches_path, img0, img1, try_full_image=False)
Match features between two images.
Parameters: |
|
---|
Raises: |
|
---|
Returns: |
|
---|
viz_matches(feature_path, matchings_path, img0, img1, save_path=None, fast_viz=True, interactive_viz=False, **config)
_match_pairs(feature_path, img0_path, img1_path)
abstractmethod
Perform matching between two images using a detector-free matcher. It takes the path to two images, and returns the matches between keypoints and descriptors in those images. It also saves the updated features to the specified h5 file. This method must be implemented by subclasses.
Parameters: |
|
---|
Returns: |
|
---|
Raises: |
|
---|
_match_by_tile(feature_path, img0, img1, method=TileSelection.PRESELECTION, select_unique=True)
abstractmethod
Match features between two images using a tiling approach. This method must be implemented by subclasses.
Parameters: |
|
---|
Returns: |
|
---|