Ask Your Question

GpuMat Storage of Descriptors

asked 2013-04-03 21:20:23 -0600

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.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-04-04 00:46:00 -0600

Vladislav Vinogradov gravatar image

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

edit flag offensive delete link more


Excellent! Thank you for posting a reply!

clattenb gravatar imageclattenb ( 2013-04-04 00:48:05 -0600 )edit

Question Tools


Asked: 2013-04-03 21:20:23 -0600

Seen: 232 times

Last updated: Apr 04 '13