
图像处理
文章平均质量分 84
那闯
这个作者很懒,什么都没留下…
展开
-
AdaBoost检测原理
出处:http://blog.youkuaiyun.com/hqw7286/article/details/5556129对人脸检测的研究最初可以追溯到 20 世纪 70 年代,早期的研究主要致力于模板匹配、子空间方法,变形模板匹配等。近期人脸检测的研究主要集中在基于数据驱动的学习方法,如统计模型方法,神经网络学习方法,统计知识理论和支持向量机方法,基于马尔可夫随机域的方法,以及基于肤色的人脸检测转载 2013-01-14 13:26:37 · 1350 阅读 · 0 评论 -
OpenCV Haar 检测
#include "cv.h" #include "highgui.h"#include #ifdef _EiC #define WIN32 #endifstatic CvMemStorage* storage = 0; static CvHaarClassifierCascade* cascade = 0;void detect_and_draw( IplImage*原创 2013-05-24 16:59:13 · 2181 阅读 · 0 评论 -
Sobel边缘检测
Sobel算子:公式:梯度大小:梯度方向:#define pow_2(x) ((x)*(x))typedef struct PointStruct { int x , y;}PointS , PixelVector;bool SobelCheck( PointS ip, char* curSignal, int frameWidth, int fr原创 2013-06-26 06:47:08 · 1686 阅读 · 0 评论 -
RGB与YUV转换
const double RtoY[3][3] = { 0.299, 0.587, 0.114, -0.1687, -0.3313, 0.5, 0.5, -0.4187, -0.0813 };const double YtoR[3][3原创 2013-06-26 08:33:09 · 1129 阅读 · 0 评论 -
相位相关算法实现(Phase Correlation)(FFTW版)
相位相关:void PhaseCorrelation( UChar *ref , UChar *tpl , double *poc , int width , int height ) { int i, j, k; double tmp; int step = width; int fft_size = width * height; /* setup po原创 2013-07-09 08:07:49 · 11133 阅读 · 9 评论 -
读写BMP图
#include"windows.h"typedef struct ImageStruct { uint8_t *data; uint32_t width, height; ImageStruct() { data = NULL; width = height = 0; } ~ImageStruct() { if (data != NULL) {原创 2013-06-26 06:58:05 · 941 阅读 · 0 评论