bazar
1.3.1
Main Page
Modules
Classes
Files
Examples
File List
File Members
garfeild
viewsets
image_class_example.h
Go to the documentation of this file.
1
/*
2
Copyright 2005, 2006 Computer Vision Lab,
3
Ecole Polytechnique Federale de Lausanne (EPFL), Switzerland.
4
All rights reserved.
5
6
This file is part of BazAR.
7
8
BazAR is free software; you can redistribute it and/or modify it under the
9
terms of the GNU General Public License as published by the Free Software
10
Foundation; either version 2 of the License, or (at your option) any later
11
version.
12
13
BazAR is distributed in the hope that it will be useful, but WITHOUT ANY
14
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15
PARTICULAR PURPOSE. See the GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License along with
18
BazAR; if not, write to the Free Software Foundation, Inc., 51 Franklin
19
Street, Fifth Floor, Boston, MA 02110-1301, USA
20
*/
21
#ifndef IMAGE_CLASS_EXAMPLE_H
22
#define IMAGE_CLASS_EXAMPLE_H
23
24
#include <
keypoints/keypoint.h
>
25
#include "
object_view.h
"
26
32
class
image_class_example
33
{
34
public
:
35
image_class_example
(
void
);
36
image_class_example
(
int
class_index
,
37
float
u,
float
v,
float
scale,
38
object_view
* ov,
39
int
patch_size);
40
41
// For other problems:
42
image_class_example
(
int
class_index, IplImage * image);
43
44
~image_class_example
(
void
);
45
46
int
class_index
;
47
float
orig_u
,
orig_v
;
48
49
keypoint
*
point2d
;
50
object_view
*
view
;
51
52
IplImage *
original_image
;
53
IplImage *
preprocessed
;
54
55
void
alloc
(
int
sz);
56
57
float
dot_product
;
58
};
59
60
#endif // IMAGE_CLASS_EXAMPLE_H
Generated on Tue Jan 15 2013 12:50:21 for bazar by
1.8.1.2