Ask Your Question
0

GpuMat Storage of Descriptors

asked Apr 4 '13

clattenb gravatar image

Before I run into issues way down the road I want to ask my question on here.

When storing descriptors by using the GPU enabled functions surf() or orb() are the descriptors stored per row of a GpuMat? I have seen the documentation state that the CPU based versions of the functions store descriptors per row of a Mat datatype and I want to be sure that the GPU version does the same. I'm not sure because of the use of the "rowrange" function to set a range of rows to pass to the kernels to calculate the descriptors. It makes me think that maybe the descriptors are across several rows but I can't yet tell by just looking at the code. I figured I may get a quicker answer on here.

I just want to store each descriptor individually from the GPU feature detectors to put into a float array in my own data structures.

Any Feedback is appreciated.

Preview: (hide)

1 answer

Sort by » oldest newest most voted
3

answered Apr 4 '13

Vladislav Vinogradov gravatar image

Yes. GPU algorithms stores descriptors in the same way as CPU analogues, descriptors per row.

Preview: (hide)

Comments

Excellent! Thank you for posting a reply!

clattenb gravatar imageclattenb (Apr 4 '13)edit

Question Tools

Stats

Asked: Apr 4 '13

Seen: 314 times

Last updated: Apr 04 '13