资源简介
利用Gabor滤波器对图像进行处理目标检测与跟踪,车辆特征识别,人脸识别,字符识别,特征提取, 图像分割,手势识别,计算机视觉视频教程,opencv基础知识
代码片段和文件信息
/***************************************************************************
#include “cvgabor.h“
CvGabor::CvGabor()
{
}
CvGabor::~CvGabor()
{
cvReleaseMat( &Real );
cvReleaseMat( &Imag );
}
/*!
\fn CvGabor::CvGabor(int iMu int iNu double dSigma)
Construct a gabor
Parameters:
iMu The orientation iMu*PI/8
iNu The scale
dSigma The sigma value of Gabor
Returns:
None
Create a gabor with a orientation iMu*PI/8 a scale iNu and a sigma value dSigma. The spatial frequence (F) is set to sqrt(2) defaultly. It calls Init() to generate parameters and kernels.
*/
CvGabor::CvGabor(int iMu int iNu double dSigma)
{
F = sqrt(2.0);
Init(iMu iNu dSigma F);
}
/*!
\fn CvGabor::CvGabor(int iMu int iNu double dSigma double dF)
Construct a gabor
Parameters:
iMu The orientation iMu*PI/8
iNu The scale
dSigma The sigma value of Gabor
dF The spatial frequency
Returns:
None
Create a gabor with a orientation iMu*PI/8 a scale iNu a sigma value dSigma and a spatial frequence dF. It calls Init() to generate parameters and kernels.
*/
CvGabor::CvGabor(int iMu int iNu double dSigma double dF)
{
Init(iMu iNu dSigma dF);
}
/*!
\fn CvGabor::CvGabor(double dPhi int iNu)
Construct a gabor
Parameters:
dPhi The orientation in arc
iNu The scale
Returns:
None
Create a gabor with a orientation dPhi and with a scale iNu. The sigma (Sigma) and the spatial frequence (F) are set to 2*PI and sqrt(2) defaultly. It calls Init() to generate parameters and kernels.
*/
CvGabor::CvGabor(double dPhi int iNu)
{
Sigma = 2*PI;
F = sqrt(2.0);
Init(dPhi iNu Sigma F);
}
/*!
\fn CvGabor::CvGabor(double dPhi int iNu double dSigma)
Construct a gabor
Parameters:
dPhi The orientation in arc
iNu The scale
dSigma The sigma value of Gabor
Returns:
None
Create a gabor with a orientation dPhi a scale iNu and a sigma value dSigma. The spatial frequence (F) is set to sqrt(2) defaultly. It calls Init() to generate parameters and kernels.
*/
CvGabor::CvGabor(double dPhi int iNu double dSigma)
{
F = sqrt(2.0);
Init(dPhi iNu dSigma F);
}
/*!
\fn CvGabor::CvGabor(double dPhi int iNu double dSigma double dF)
Construct a gabor
Parameters:
dPhi The orientation in arc
iNu The scale
dSigma The sigma value of Gabor
dF The spatial frequency
Returns:
None
Create a gabor with a orientation dPhi a scale iNu a sigma value dSigma and a spatial frequence dF. It calls Init() to generate parameters and kernels.
*/
CvGabor::CvGabor(double dPhi int iNu double dSigma double dF)
{
Init(dPhi iNu dSigmadF);
}
/*!
\fn CvGabor::IsInit()
Determine the gabor is initilised or not
Parameters:
None
Returns:
a boolean value TRUE is initilised or FALSE is non-initilised.
Determine whether the gabor has been initlized - variables F K Kmax Phi Sigma are filled.
*/
bool CvGabor::IsInit()
{
return bInitialised;
}
/*!
\fn CvGabor::mask_width()
Give out the width of the mask
Parameters:
None
Returns:
The long type show the w属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
.CA.... 2794 2008-04-07 12:47 cvgabor.h
文件 16811 2015-05-06 11:43 cvgabor.cpp
----------- --------- ---------- ----- ----
19605 2
- 上一篇:半车模型汽车主动悬架系统控制器的设计与仿真研究
- 下一篇:LXE屏幕录像播放器
相关资源
- labview编程软件滤波器以及编写程序设
- 基于Gabor滤波器的图像纹理特征提取
- 图像的小波变换/图像的融合、复原、
- FIR低通滤波器 ccs运行环境
- 液晶电视电路图及解说
- 自适应滤波amp;LMS算法
- 基于labview滤波器的设计
- PLL回路滤波器设计的调整指南
- PLL回路滤波器设计调整指南及使用案
- 锁相环回路滤波器设计优化
- 一种有效的InSAR相位干涉图滤波方法
- 基于GSM接收机的集成多相滤波器设计
- 宽频带数字锁相环的设计及基于FPGA的
- 高手教你如何计算逆变器输出滤波电
- SAPF并网LCL滤波器稳定性
- 基于改进鱼群算法的矿用链式STATCOM装
- 基于梳状滤波器和子群算法的谐波检
- 一种优化的基于i_p-i_q法的谐波电流检
- 一种改进的谐波电流检测方法
- 基于改进自适应谐波检测法的有源电
- LMS自适应滤波器在电力有源滤波器中
- 并联型有源电力滤波器输出电感选择
- 有源电力滤波器在舰船电网谐波补偿
- 有源滤波器的预测电压空间矢量控制
- 有源电力滤波器综述
- 三相四线制有源滤波器的无差拍控制
- LCL滤波器在三相PWM整流器中的应用
- 如何利用RC滤波方法来处理EMC问题
- VSP波场分离的径向中值滤波方法
- 大功率防爆变频器EMI滤波器设计
川公网安备 51152502000135号
评论
共有 条评论