OpenCV
mmcatt
这个作者很懒,什么都没留下…
展开
-
一些图像处理用得着的函数
cv::copyMakeBorder 给图像加边用的。void copyMakeBorder( const Mat& src, Mat& dst, int top, int bottom, int left, int right, int borderType, const Scalar& value=Scalar() );/*src The source image dst原创 2011-12-06 14:04:48 · 705 阅读 · 0 评论 -
OpenCV MAT小笔记(整理中)
使用Mat类型存储图像,我的一些笔记。cv::Mat是个模板,里面保存的数据类型是单个元素或者vector。Mat(rows, cols, type);rows:高度cols:宽度type参数含义如下://There are tons of matrix type in CvMat defined in cvtypes.h and listed below.#de原创 2011-12-06 13:24:44 · 759 阅读 · 0 评论