Ask Your Question

how to change the value of one row descriptors into a single value

asked 2016-11-09 04:47:50 -0600

anyone can help me

ex descriptors_object.row(1) : [5,6,16,57,13,3,0,1,30,12,31,31,8,11,6,10,27,27,9,6,10,24,19,6,17,16,9,11,2,3,5,3,19,2,2,13,70,32,4,15,134,10,1,3,19,17,65,134,22,5,1,1,5,134,134,57,5,3,1,2,2,93,107,9,47,6,6,41,95,5,1,15,134,81,4,6,17,2,10,67,54,62,39,18,17,69,50,18,0,0,18,12,14,108,66,4,43,4,20,43,15,0,0,49,134,12,11,17,2,0,0,118,25,15,99,60,1,0,0,7,0,1,119,23,1,2,1,0]

how to change the value of one row descriptors SIFT into a single value ?

thank you

edit retag flag offensive close merge delete



what do you mean with: "a single value" ?

what are you trying to achieve ? (context)

berak gravatar imageberak ( 2016-11-09 04:56:21 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-11-10 01:20:34 -0600

Vintez gravatar image

Do you want to extract the row of the cv::Mat which stores the Descriptors in every row? If that is it, you can extract every row in a for-loop and then access the value through cv::Mat::at. So in each Iteration you access one value of the row and can store it or whatever you like to.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-11-09 04:47:50 -0600

Seen: 158 times

Last updated: Nov 09 '16