Image.SIFT#

Image.SIFT(**kwargs: Any) SIFTFeature[source]#

Find SIFT features in image

Parameters:

kwargs – arguments passed to OpenCV

Returns:

set of 2D point features

Return type:

SIFTFeature

Inheritance diagram of machinevisiontoolbox.ImagePointFeatures.SIFTFeature

Returns an iterable and sliceable object that contains SIFT features and descriptors.

Example:

>>> from machinevisiontoolbox import Image
>>> img = Image.Read("eiffel-1.png")
>>> sift = img.SIFT()
>>> len(sift)  # number of features
2985
>>> print(sift[:5])
SIFTFeature features, 5 points
References:
Seealso:

SIFTFeature cv2.SIFT_create