I am learning C++ and OpenCV these days. Given an image, I want to extract its SIFT features. From http://docs.opencv.org/modules/nonfree/doc/feature_detection.html, we can know that OpenCV 2.4.8 has the SIFT module. See here:
But I do not know how to use it. Currently, to use SIFT, I need to first call the class SIFT to get a SIFT instance. Then, I need to use SIFT::operator()()
to do SIFT.
But what is OutputArray
, InputArray
, KeyPoint
? Could anyone give a demo to show how to use SIFT
class to do SIFT?