Hugintrunk
0.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
celeste
GaborJet.h
Go to the documentation of this file.
1
/* Import from Gabor API
2
3
Copyright (c) 2002-3 Adriaan Tijsseling
4
5
6
All Rights Reserved
7
8
This program is free software; you can redistribute it and/or modify
9
it under the terms of the GNU General Public License as published by
10
the Free Software Foundation; either version 2 of the License, or
11
(at your option) any later version.
12
13
This program is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
GNU General Public License for more details.
17
18
You should have received a copy of the GNU General Public License
19
along with this program. If not, see <http://www.gnu.org/licenses/>.
20
*/
21
22
/*
23
Description: Class definition for a Gabor Jet
24
Author: Adriaan Tijsseling (AGT)
25
Copyright: (c) Copyright 2002 Adriaan Tijsseling. All rights reserved.
26
Change History (most recent first):
27
18/04/2002 - AGT - initial version
28
*/
29
30
#ifndef __GABORJET__
31
#define __GABORJET__
32
33
#include <cstring>
34
#include "
GaborGlobal.h
"
35
#include "
GaborFilter.h
"
36
37
namespace
celeste
38
{
39
class
GaborJet
40
{
41
public
:
42
43
GaborJet
();
44
~GaborJet
();
45
46
void
Initialize
(
int
y,
int
x,
int
x0,
int
y0,
int
r,
float
s = 2.0,
int
f = 2,
47
float
maxF = 2,
float
minF = 1,
int
a = 8,
char
* file=NULL);
48
49
void
Filter
(
float
** image,
int
* len );
50
float
GetResponse
(
int
idx ) {
return
mFiducials
[idx]; }
51
52
protected
:
53
54
int
mHeight
;
// vertical size of image
55
int
mWidth
;
// horizontal size of image
56
int
mX
;
// origin of Gabor Jet
57
int
mY
;
58
int
mAngles
;
// number of orientations
59
int
mFreqs
;
// number of frequencies
60
int
mRadius
;
// radius of filter
61
GaborFilter
**
mFilters
;
// set of filters in use
62
float
*
mFiducials
;
// vector with Gabor responses at center
63
};
64
}
//namespace
65
#endif
66
celeste::GaborJet::mAngles
int mAngles
Definition:
GaborJet.h:58
celeste::GaborJet::mRadius
int mRadius
Definition:
GaborJet.h:60
celeste::GaborJet::mHeight
int mHeight
Definition:
GaborJet.h:54
celeste::GaborJet::~GaborJet
~GaborJet()
Definition:
GaborJet.cpp:52
celeste::GaborJet::Filter
void Filter(float **image, int *len)
Definition:
GaborJet.cpp:109
celeste::GaborJet::mY
int mY
Definition:
GaborJet.h:57
celeste::GaborJet::mFreqs
int mFreqs
Definition:
GaborJet.h:59
celeste::GaborJet::mFiducials
float * mFiducials
Definition:
GaborJet.h:62
celeste::GaborFilter
Definition:
GaborFilter.h:37
GaborFilter.h
celeste::GaborJet::mFilters
GaborFilter ** mFilters
Definition:
GaborJet.h:61
celeste::GaborJet::GaborJet
GaborJet()
Definition:
GaborJet.cpp:38
celeste::GaborJet
Definition:
GaborJet.h:39
GaborGlobal.h
celeste::GaborJet::GetResponse
float GetResponse(int idx)
Definition:
GaborJet.h:50
celeste::GaborJet::mX
int mX
Definition:
GaborJet.h:56
celeste::GaborJet::mWidth
int mWidth
Definition:
GaborJet.h:55
celeste::GaborJet::Initialize
void Initialize(int y, int x, int x0, int y0, int r, float s=2.0, int f=2, float maxF=2, float minF=1, int a=8, char *file=NULL)
Definition:
GaborJet.cpp:64
Generated on Sun Nov 17 2024 01:25:23 for Hugintrunk by
1.8.5