c++ - Detection returns huge number of keypoints -
using following code (snippet of relevant parts) try perform keypoint detection opencv 2.4.11:
iplimage *fiducial; cv::siftfeaturedetector siftdetector; cv::surffeaturedetector surfdetector(400); std::vector<cv::keypoint> siftkeypoints,surfkeypoints; ... siftdetector.detect(fiducial,siftkeypoints); surfdetector.detect(fiducial,surfkeypoints);
after calls detect() both vectors siftkeypoints , surfkeypoints come incredibly huge number of keypoints (658812288344697520). amazingly detect() has no return value inform error , not throw exception.
so...what wrong here?
thanks!
solved, mismatch between debug-build , release-libraries.
Comments
Post a Comment