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;
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: Perhaps a second one should be opened ... or I was wrong and everything else is fine.

edit retag flag offensive close merge delete


i also find this problem with opencv2.4.2

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