Ask Your Question

arnold780114's profile - activity

2016-02-09 01:32:09 -0600 received badge  Famous Question (source)
2015-01-29 10:24:23 -0600 received badge  Notable Question (source)
2014-10-14 23:53:14 -0600 received badge  Taxonomist
2014-06-04 09:13:14 -0600 received badge  Popular Question (source)
2012-09-18 21:28:11 -0600 answered a question How to get the coordinate from "class KeyPoint"?

Thanks for your all answers!

2012-09-18 11:56:06 -0600 answered a question How to get the coordinate from "class KeyPoint"?

When I use this code "float x = keypoints_object[0].pt.x;" , it show the message as the following.

image description

how do I deal with this problem?

2012-09-18 11:46:04 -0600 received badge  Scholar (source)
2012-09-18 03:07:28 -0600 received badge  Nice Question (source)
2012-09-17 09:34:30 -0600 asked a question How to get the coordinate from "class KeyPoint"?

The following is my code.

std::vector<KeyPoint> keypoints_object, keypoints_scene;
detector.detect( img_object, keypoints_object );
detector.detect( img_scene, keypoints_scene );

I'm trying to get the coordinate in the keypoints_object & keypoints_scene to store in another variable. Does someone know how to do it? (PS:My opencv version is 2.4.2)

2012-09-08 12:26:55 -0600 answered a question How to get the descriptor value from "SiftDescriptorExtractor"?

thanks for your help!

2012-09-05 04:05:00 -0600 received badge  Student (source)
2012-09-05 01:48:42 -0600 answered a question How to get the descriptor value from "SiftDescriptorExtractor"?

oh! What I'm talking about is how to get every vector because I want to use that to do image matching by myself.

2012-09-03 02:24:12 -0600 received badge  Editor (source)
2012-09-03 02:23:07 -0600 asked a question How to get the descriptor value from "SiftDescriptorExtractor"?

I use SiftDescriptorExtractor to compute the descriptors of keypoints. I'm trying to get the descriptor value. Does someone know how to do it?

(PS:My opencv version is 2.4.2)

This is the part of the code

//-- Step 2: Calculate descriptors (feature vectors)
SiftDescriptorExtractor extractor;
Mat descriptors_object, descriptors_scene;
extractor.compute( img_object, keypoints_object, descriptors_object );
extractor.compute( img_scene, keypoints_scene, descriptors_scene );