#computer-vision #features #image #descriptor #sift #cv

sift-features

Implementation of SIFT image features, compatible with OpenCV

1 unstable release

0.1.0 Sep 10, 2024

#305 in Science

MIT license

1MB
894 lines

SIFT features for Rust

This crate contains an implemenation of the SIFT image descriptor. It aims to be compatible with the implementation found in OpenCV's feature2d module and you should be able to match features extracted with OpenCV and this crate.

Useful resources:

The code tries to follow [4] (Anatomy of the SIFT Method) in particular. It deviates in a few places to be compatible with the SIFT implementation OpenCV, namely how histograms are smoothed, angle computations and some details in how the final descriptor vector is calculated.


lib.rs:

This crate contains an implemenation of the SIFT image descriptor. It aims to be compatible with the implementation found in OpenCV's feature2d module and you should be able to match features extracted with OpenCV and this crate.

Useful resources:

The code tries to follow [4] (Anatomy of the SIFT Method) in particular. It deviates in a few places to be compatible with the SIFT implementation OpenCV, namely how histograms are smoothed, angle computations and some details in how the final descriptor vector is calculated.

Dependencies

~11MB
~219K SLoC