![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
OpenCV
文章平均质量分 70
zhoucy163
这个作者很懒,什么都没留下…
展开
-
人脸识别算法综述
本文通过工业界世界级人脸测试,说明人脸识别发展现状,分别从二维、三维角度,阐述了人脸识别算法现状,并对人脸识别算法发展趋势予以说明。 [关键词] 人脸识别 二维识别算法 三维识别算法 一、引言 1.人脸识别概述。人脸识别由于可接受性好,在生物识别领域得到较快的发展。人脸识别的研究范围广义上来讲大致包括以下五个方面的内容:人脸定位和检测、人脸表征(人脸特征抽取)、人脸鉴别转载 2013-03-06 10:03:52 · 2500 阅读 · 0 评论 -
Otsu's method大津法/最大类间方差(Otsu)
大津法由大津(otsu)于1979年提出,对图像Image,记t为前景与背景的分割阈值,前景点数占图像比例为w0,平均灰度为u0;背景点数占图像比例为w1,平均灰度为u1。图像的总平均灰度为:u=w0*u0+w1*u1。从最小灰度值到最大灰度值遍历t,当t使得值g=w0*(u0-u)2+w1*(u1-u)2最大时t即为分割的最佳阈值。对大津法可作如下理解:该式实际上就是类间方差值,阈值t分割出的前转载 2013-06-09 16:44:15 · 1269 阅读 · 0 评论 -
oopencv rotated rectangle
original position rotated 50o原创 2013-06-09 18:47:06 · 812 阅读 · 0 评论 -
cvCountNonZero() opencv
CountNonZero计算非零数组元素个数int cvCountNonZero( const CvArr* arr );arr数组, 必须是单通道数组或者设置COI(感兴趣通道)的多通道图像。函数 cvCountNonZero 返回arr中非零元素的数目:result = sumI arr(I)!=0当IplImage 支持ROI和COI。转载 2014-02-28 15:05:42 · 4469 阅读 · 0 评论 -
face-detection
createEigenFaceRecognizer createEigenFaceRecognizer(int num_components , double threshold)" style="margin-bottom:7px">C++: Ptr createEigenFaceRecognizer(int num_components=0, double threshold=原创 2013-03-06 10:37:15 · 1521 阅读 · 1 评论 -
opencv中的安全指针和指针对齐 Ptr<>
[转]http://hi.baidu.com/maxint/blog/item/fc817c2f29881f331e3089ef.html1. 安全指针从opencv2.0开始,很多C数据结构变成了C++的类,考虑到兼容性,保留旧的API。在内存管理方面,提供安全指针类Ptr,让在此以前旧的需要手动管理内存的数据结构(IplImage, CvMat等)无需手动Release,用法为转载 2013-03-06 10:40:08 · 1299 阅读 · 0 评论 -
OpenCV resize()
// Load images in the C++ formatcv::Mat img = cv::imread("something.jpg");cv::Mat src = cv::imread("src.jpg");// Resize src to img sizecv::resize(src, src, img.size());转载 2013-03-08 18:52:06 · 1196 阅读 · 0 评论 -
【OpenCV】访问Mat图像中每个像素的值
今天百度搜资料还搜到了自己的。。。《访问图像中每个像素的值》,这是之前写的了,用的也是2.0的风格IplImage*格式,不太适用后来Mat的格式,特此重写一篇。以下例子源自《The OpenCV Tutorials --Release 2.4.2》2.2 How to scan images, lookup tables and time measurement with OpenCV转载 2013-03-28 18:15:52 · 784 阅读 · 0 评论 -
Photo to colored dot patterns with OpenCV
I was trying to write the code to achieve the same photo effect with this Photoshop tricks. With only a few lines of code, I’m pretty amazed with the result. Given a photo, the code will turn the ph转载 2013-03-28 18:30:22 · 1150 阅读 · 0 评论 -
Basic Structures OpenCV
http://docs.opencv.org/modules/core/doc/basic_structures.html转载 2013-03-28 19:51:27 · 710 阅读 · 0 评论 -
我的OpenCV学习笔记(12):VideoCapture类
这次通过一个读取视频的综合例子来介绍VideoCapture类的一些基本操作:[cpp] view plaincopy#include #include #include #include using namespace std; using namespace cv; int main() { //打开视频文件:其实就是建立一个转载 2013-03-29 10:30:01 · 978 阅读 · 0 评论 -
Random generator and text with OpenCV¶
GoalsIn this tutorial you will learn how to:Use the Random Number generator class (RNG) and how to get a random number from a uniform distribution.Display text on an OpenCV window by using the原创 2013-03-30 09:41:56 · 1004 阅读 · 0 评论 -
UBUNTU 下编译安装opencv 2.3.1
1.首先在终端运行下列命令进行必要的编译环境安装。sudo apt-get install build-essential libgtk2.0-dev libavcodec-dev libavformat-dev libjpeg62-dev libtiff4-dev cmake libswscale-dev libjasper-dev2.下载相应的版本到电脑里面,这里我们以下载OpenC...转载 2015-07-21 20:53:54 · 529 阅读 · 0 评论