bazar
1.3.1
Main Page
Modules
Classes
Files
Examples
File List
File Members
samples
fullcalib
calibmodel.h
Go to the documentation of this file.
1
#ifndef CALIBMODEL_H
2
#define CALIBMODEL_H
3
4
#include <cv.h>
5
#include <highgui.h>
6
#include <
garfeild.h
>
7
8
class
CalibModel
{
9
public
:
10
IplImage *
image
;
11
CvPoint
corners
[4];
12
13
planar_object_recognizer
detector
;
14
LightMap
map
;
15
CamAugmentation
augm
;
16
17
CalibModel
(
const
char
*modelfile =
"model.bmp"
);
18
~CalibModel
();
19
20
bool
buildCached
(CvCapture *capture,
bool
cache);
21
22
private
:
23
const
char
*win;
24
const
char
*modelfile;
25
26
enum
State { TAKE_SHOT, CORNERS };
27
State state;
28
int
grab;
29
static
void
onMouseStatic(
int
event,
int
x,
int
y,
int
flags,
void
* param);
30
void
onMouse(
int
event,
int
x,
int
y,
int
flags);
31
bool
interactiveSetup(CvCapture *capture);
32
};
33
34
35
#endif
Generated on Tue Jan 15 2013 12:50:21 for bazar by
1.8.1.2