Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

Retrieve data from CvSeq

$
0
0
Hello, I have a structure of the type CvSeq* and I want retrieve data from it. Each line is composed of N element The code is: CvSeq *imageKeypoints = 0, *imageDescriptors = 0; int i; CvSURFParams params = cvSURFParams(500, 1); cvExtractSURF( image, 0, &imageKeypoints, &imageDescriptors, storage, params ); for( i = 0; i < imageDescriptors->total; i++ ) { CvPoint* r = (CvPoint*)cvGetSeqElem( imageDescriptors, i)} CvPoint* gives me only 2 elements and y but the line is omposed with many elements. What could I put instead of CvPoint Thanks

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>