Ask Your Question

ignas's profile - activity

2014-02-04 19:18:22 -0600 received badge  Student (source)
2013-01-19 02:44:01 -0600 received badge  Editor (source)
2013-01-19 02:12:50 -0600 asked a question ORB features

I'am using ORB feature detector and extractor to get features from a list of grayscale images. The problem is that I get different features from the same image if I try to detect\extract it more than once. So it is impossible to use them for detection later.

The code:

bmp=BitmapFactory.decodeResource(getResources(),R.drawable.t1);
Utils.bitmapToMat(bmp, mat);
FeatureDetector detector = FeatureDetector.create(FeatureDetector.ORB);
detector.detect(mat, keypoints);
DescriptorExtractor extractor = DescriptorExtractor.create(DescriptorExtractor.ORB);
extractor.compute(mat, keypoints, features);

If I input the same image more than once, features is different each time. Maybe someone have some insight into that?

(Here are few of the images I use: imgur.com/a/IfgcI#0)