如何随机在CvSeq访问点? [英] How to randomly access a point in a CvSeq?

查看:114
本文介绍了如何随机在CvSeq访问点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们能随意在CvSeq对象访问点?我们可以穿越它,所以我想它可能以简单的方式。这是如何实现的?

Can we randomly access a point in a CvSeq object? We can traverse it, so I imagine it's possible in a simple manner. How is this accomplished?

推荐答案

我已经找到了。有一个名为 cvGetSeqElem 方法,该方法的顺序和索引英寸谢谢虽然帮助。这可能只是按照链表线性,但它比手动编码搜索更简单。

I have found it. There is a method called cvGetSeqElem, which takes in the sequence and the index. Thanks for the help though. This might just follow the linked list linearly, but it's simpler than manually coding the search.

这篇关于如何随机在CvSeq访问点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆