【问题标题】:What is equivalent type of vector<Point> and Mat in EMGU?EMGU 中 vector<Point> 和 Mat 的等效类型是什么?
【发布时间】:2017-02-18 14:41:33
【问题描述】:

这里是 OpenCV 类型:

vector<Point> vectorPoint;
Mat mat;

EMGU 中上述类型的等价类型是什么?

【问题讨论】:

  • 从 EmguCV v3.1 开始,上述答案仍然适用

标签: opencv emgucv


【解决方案1】:

垫垫;更改为

Matrix<TDepth> mat;

位于 Emgu.CV 命名空间中。 TDepth 可以是浮点数、整数等。

矢量vectorPoint;更改为

VectorOfPoint vectorPoint;

在 Emgu.CV.Util 中

我不确定 VectorOfPoint 所在的 EMGU 最早版本,但它不在 2.2.1 中。这篇文章的最新版本是 2.4.2,所以现在可能已经发布了。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-04-19
    • 1970-01-01
    • 2012-09-11
    • 2010-09-26
    • 1970-01-01
    • 2012-12-21
    • 1970-01-01
    相关资源
    最近更新 更多