Sift implementation with OpenCV 2.2 -


Does anyone know the link to example SIFT implementation with OpenCV 2.2? Below is a minimum example:

Below is a minimum example:

  # Include & lt; Opencv / cv.h & gt; #include & lt; Opencv / highgui.h & gt; Int main (int argc, const char * argv []) {const cv :: mat input = cv :: imread ("input.jpg", 0); // Load as CR: sewai: SiftFeatureDetector detector; Std :: vector & lt; CV :: KeyPoint & gt; key points; Detector.detect (input, keypoint); // Add results to the image and save. CV :: Mate Output; CV :: Drawpointpoint (input, keyboard, output); CV :: IMlight ("sift_result.jpg", output); Return 0; }   

Tested on OpenCV2

Comments