OpenCV中文网站

 找回密码
 立即注册
搜索
热搜: 安装 配置
查看: 4513|回复: 2

emgucv 知道点集的数组,如何进行椭圆拟合

[复制链接]
发表于 2015-4-29 21:21:30 | 显示全部楼层 |阅读模式
//
        // 摘要:
        //     Calculates ellipse that fits best (in least-squares sense) to a set of 2D
        //     points. The meaning of the returned structure fields is similar to those
        //     in cvEllipse except that size stores the full lengths of the ellipse axises,
        //     not half-lengths
        //
        // 参数:
        //   points:
        //     Sequence or array of points
        //
        // 返回结果:
        //     The ellipse that fits best (in least-squares sense) to a set of 2D points
        public extern static MCvBox2D cvFitEllipse2(IntPtr points);

以上为椭圆拟合函数的说明,问题是,我现在通过其它的方法得到了一个椭圆的点集,该点集保存在一个PointF型数组里面,如何通过这个数组生成拟合函数所需要的IntPtr 型呢

回复

使用道具 举报

发表于 2015-8-3 15:38:56 | 显示全部楼层
这个问题可不可以分享一下你的解决方法
回复 支持 反对

使用道具 举报

发表于 2015-8-4 10:05:54 | 显示全部楼层
同求
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|OpenCV中文网站

GMT+8, 2024-4-20 22:15 , Processed in 0.008406 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表