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.

Examples

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

(Source code, png, hires.png, pdf)

../_images/machinevisiontoolbox-Image-SIFT-1.png

References

See also

SIFTFeature cv2.SIFT_create