Ask Your Question

How can i get the brisk's orientation?

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

MQ gravatar image


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

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

Eduardo gravatar image

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

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

edit flag offensive delete link more


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 -0500 )edit

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 -0500 )edit

Ok, thanks!

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

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

Question Tools

1 follower


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

Seen: 155 times

Last updated: Oct 20 '16