資源簡介
利用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屏幕錄像播放器
評論
共有 條評論