OpenCV学习笔记——Mat类型数据存储
生活随笔
收集整理的這篇文章主要介紹了
OpenCV学习笔记——Mat类型数据存储
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
CV_[The number of bits per item][Signed or Unsigned][Type Prefix]C[The channel number]
比如 CV_8UC3 表示使用8位的 unsigned char 型,每個像素由三個元素組成三通道。
Mat_<uchar>對應的是CV_8U,
Mat_<char>對應的是CV_8S,
Mat_<int>對應的是CV_32S,
Mat_<float>對應的是CV_32F,
Mat_<double>對應的是CV_64F
?
[1] http://blog.csdn.net/yang_xian521/article/details/7107786
[2] http://www.opencv.org.cn/opencvdoc/2.3.2/html/doc/tutorials/core/mat%20-%20the%20basic%20image%20containe/mat%20-%20the%20basic%20image%20container.html#matthebasicimagecontainer
轉載于:https://www.cnblogs.com/JJJanepp/p/5643983.html
總結
以上是生活随笔為你收集整理的OpenCV学习笔记——Mat类型数据存储的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: linux-----shell高级编程-
- 下一篇: Android自动化测试工具Appium