SIFTKeypointMatcher

class giant.image_processing.feature_matchers.SIFTKeypointMatcher(options=None)[source]

Implementation of KeypointMatcher using SIFT for detection and FLANN for matching.

Parameters:

options (SIFTKeypointMatcherOptions | None) – how to configure the class

allowed_dtypes: list[type[Any] | dtype[Any] | _SupportsDType[dtype[Any]] | tuple[Any, Any] | list[Any] | _DTypeDict | str | None] = [<class 'numpy.uint8'>]

A list of dtypes allowed by the detector.

This must be implemented by subclasses.

detect_keypoints(image)[source]

Detect keypoint descriptors using SIFT.

Parameters:

image – The image to search for keypoints

Returns:

Tuple of (keypoints, descriptors)