Using Sift-Detektor with ORB-Descriptor

asked 2013-02-13 11:20:40 -0500

Mr.Mountain gravatar image

updated 2013-02-14 03:06:48 -0500

Hello, I'm trying to use the SIFTFeaturesDetector with an ORBDescriptorExtractor in C++. The images are loaded in colour. But I guess that doesn't matter since they would be converted by the detector/descriptor ?

SiftFeatureDetector sift;
sift.detect(fstImage,fstKeypoints1);
OrbDescriptorExtractor orbDesc;
orbDesc->compute(fstImage, fstKeypoints1, fstImageDescr);

This causes a bad_alloc coming from the vector of the keypoints. Im using 2.4.3 and can't tell why this is happening. When I'm trying to use ORB with a SIFT-Descriptor the system crashes completely. Do I miss something?

UPDATE: Found one issue: http://code.opencv.org/issues/2521#note-2 Perhaps a second one should be opened ... or I was wrong and everything else is fine.

edit retag flag offensive close merge delete

Comments

i also find this problem with opencv2.4.2

yangyangcv gravatar imageyangyangcv ( 2013-03-29 07:01:27 -0500 )edit