cvCircle(CvArr*img, CvPointcenter, intradius, CvScalarcolor, intthickness=1, intlineType=8, intshift=0)img为图像指针,单通道多通道都行,不须要特殊要求center为画圆的圆心坐标radius为圆...
                            
                            
                                分类:
其他好文   时间:
2014-06-26 21:58:54   
                                阅读次数:
299
                             
                    
                        
                            
                            
                                IplImage 结构解读:typedef struct _IplImage{int nSize;/* IplImage大小 */int ID;/* 版本 (=0)*/int nChannels;/* 大多数OPENCV函数支持1,2,3 或 4 个通道 */int alphaChannel;/* ...
                            
                            
                                分类:
其他好文   时间:
2014-06-26 21:37:24   
                                阅读次数:
175
                             
                    
                        
                            
                            
                                将一副图像转变成另一种表现形式 ,比如,傅里叶变换将图像转换成频谱分量 卷积 —— 变换的基础 cvFilter2D 源图像 src 和目标图像 dst 大小应该相同 注意:卷积核的系数应该是浮点类型的,必须用 CV_32F 来初始化矩阵 cvFilter2D 函数内部处理边界 —— cvCopyM...
                            
                            
                                分类:
其他好文   时间:
2014-06-26 21:03:17   
                                阅读次数:
833
                             
                    
                        
                            
                            
                                ×××××××××××××××××××××××××××××××××××××××CvScalar imgmean,imgstd; double imgmax,imgmin; cvAvgSdv(img,&i
                            
                            
                                分类:
其他好文   时间:
2014-06-26 19:44:55   
                                阅读次数:
200
                             
                    
                        
                            
                            
                                直方图就是对数据进行统计,将统计值组织到一系列事先定义好的bin中。bin中的数值是从数据中计算出来的特征的统计量,这些数据可以是诸如梯度,方向,色彩或任何其他特征。 直方图获得是是数据分布的统计图 直方图的基本数据结构 CvHistogram 创建一个新的直方图 cvCreateHist dims...
                            
                            
                                分类:
其他好文   时间:
2014-06-26 16:00:41   
                                阅读次数:
274
                             
                    
                        
                            
                            
                                VS 2012 下安装 opencv 2.4.9...
                            
                            
                                分类:
其他好文   时间:
2014-06-26 10:19:54   
                                阅读次数:
276
                             
                    
                        
                            
                            
                                直接上代码了,不难,自己理解吧;
void MorhpolotyDilate_ChenLee(unsigned char* pBinImg, int imgW, int imgH, Tpoint* mask, int maskLen)
{
	unsigned char* pTempImg = new unsigned char[imgW*imgH];
	memcpy(pTempImg, pBin...
                            
                            
                                分类:
其他好文   时间:
2014-06-26 07:49:19   
                                阅读次数:
233
                             
                    
                        
                            
                            
                                才学疏浅,只言片语,只求志同道的朋友一起交流研究。
       并行化不算是算法的改进,只是追求运行的实时性。
       简要列举一个例子:
       TLD算法的C++版本源码里:
LKTracker::trackf2f(const Mat& img1, const Mat& img2,vector &points1, vector &points2){
bool LKT...
                            
                            
                                分类:
其他好文   时间:
2014-06-26 07:33:40   
                                阅读次数:
183
                             
                    
                        
                            
                            
                                原理摘自:http://www.opencv.org.cn/opencvdoc/2.3.2/html/doc/tutorials/imgproc/threshold/threshold.html
目标:
本节简介:
OpenCV中的阈值(threshold)函数: threshold 的运用。
基本理论:
注意:
本节的解释出自Bradski与Kae...
                            
                            
                                分类:
其他好文   时间:
2014-06-26 07:13:37   
                                阅读次数:
230
                             
                    
                        
                            
                            
                                // ConsoleApplication3_6_23.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include
#include
using namespace std;
using namespace cv;
Mat src,dst,gray;
int pro_typ...
                            
                            
                                分类:
其他好文   时间:
2014-06-26 06:46:25   
                                阅读次数:
315