您的位置:首页 > 运维架构

Notes on opencv data types

2017-04-07 09:25 197 查看
1.  basic built-in data types, such as int、float、double etc;

2.  helper objects, such as garbage-collecting pointer class、range objects etc;

3.  large array types, such as cv::Mat、cv::SparseMat;

4.  small array types, such as cv::Vec<>, cv::Matx<> , cv::Point<> etc;

5. STL,standard template library, especially std::vector<>;

##############################################################

1. small fixed array types:

●  cv::Vec{2, 3, 4, 6}{b, w, s, i, f, d};

●  cv::Matx{1, 2, 3, 4, 6}{1, 2, 3, 4, 6}{f,d};

●  cv::Point{2, 3}{i, f, d};

●  cv::Scalar derived from cv::Vec<double, 4>;

● cv::Size2i == cv::Size, cv::Size2f;

● cv::Rect, cv::RotatedRect;

● cv::Complex{f,d}

2. Helper types:

◆ cv::DataType<>, helps us to comunicate type-information to the library

     functions.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  opencv data types