Ask Your Question
0

How can i get the brisk's orientation?

asked 2016-10-19 10:06:36 -0600

MQ gravatar image

Hello,

I'm trying to extract the orientation and scale from brisk's descriptors, but i don't know exactly how. I've already get the keypoints and the descriptors from my image.

Can anyone help me?

Thanks in advance,

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2016-10-20 03:28:31 -0600

Eduardo gravatar image

updated 2016-10-20 07:54:20 -0600

Orientation and scale are stored in the Keypoint, they can be accessed by the angle and scale attritbute.

edit flag offensive delete link more

Comments

Thanks! Could you give me an example about how i do this in c++? I've already tried using "keypoint.angle" but it doesn't work. EDIT I mean, I just add the "types.hpp" in my code, but I still can't use it on my keypoints that I've extracted before with the BRISK constructor.

MQ gravatar imageMQ ( 2016-10-20 08:30:25 -0600 )edit
1

You need to add the whole OpenCV library, not types.hpp alone ... when creating a vector<Keyoints> collection; and then filling it with data by calculating keypoints, you can loop over them and access the angles using collection[i].angle which I just confirmed.

StevenPuttemans gravatar imageStevenPuttemans ( 2016-10-20 08:49:53 -0600 )edit
1

Ok, thanks!

I was used points2d as keyponts... The problem is solved now, thanks!

MQ gravatar imageMQ ( 2016-10-20 10:00:35 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-10-19 10:06:36 -0600

Seen: 436 times

Last updated: Oct 20 '16