nmpp
Титульная страница
nmpp
Структуры данных
Файлы
Файлы
Список членов всех файлов
include
nmpli
iPlessyDetector.h
1
#ifndef __PLESSYDETECTOR_H
2
#define __PLESSYDETECTOR_H
3
4
#include "iplessy.h"
5
#include "isubpixel2dimpl.h"
6
7
8
class
C_PlessyCornerDetector
:
public
I_PlessyCornerDetector
9
{
10
protected
:
11
I_2DSubPixelMinPosition
*SubPixelMinPosition;
12
short
*fxi, *fyi;
13
short
*Picture16;
14
float
*SumSxxSyy, *Subxy;
15
float
S9[9];
16
float
threshold;
17
unsigned
char
*cres;
18
19
virtual
void
CountDer(
unsigned
char
*Picture,
int
w,
int
h,
int
ww);
20
virtual
void
CountPlessy(
int
w,
int
h,
int
ww) {};
21
public
:
22
23
C_PlessyCornerDetector
();
24
~C_PlessyCornerDetector
();
25
virtual
void
Allocate(
int
w,
int
h,
int
ww);
26
virtual
void
DeAllocate();
27
virtual
void
FindCorners(
unsigned
char
*Picture,
int
w,
int
h,
int
ww,
float
*px,
float
*py,
int
& nc);
28
virtual
void
Release();
29
virtual
void
SetThreshold(
float
_threshold)=0;
30
};
31
32
33
34
class
C_PlessyCornerDetector_32f
:
public
C_PlessyCornerDetector
35
{
36
protected
:
37
float
*fx, *fy;
38
float
*sxx, *sxy, *syy;
39
float
*Sxx, *Sxy, *Syy;
40
float
*MulSxxSyy, *MulSxySxy;
41
float
*cSubxy;
42
float
threshold;
43
44
virtual
void
CountPlessy(
int
w,
int
h,
int
ww);
45
virtual
void
CountDer(
unsigned
char
*Picture,
int
w,
int
h,
int
ww);
46
public
:
47
C_PlessyCornerDetector_32f
(){};
48
~C_PlessyCornerDetector_32f
(){};
49
virtual
void
Allocate(
int
w,
int
h,
int
ww);
50
virtual
void
DeAllocate();
51
virtual
void
SetThreshold(
float
_threshold);
52
};
53
54
55
56
class
C_PlessyCornerDetector_16s
:
public
C_PlessyCornerDetector
57
{
58
protected
:
59
short
*sxxi, *sxyi, *syyi;
60
short
*Sxxi, *Sxyi, *Syyi;
61
short
*Sxxit, *Syyit;
62
short
*SumSxxSyyi, *MulSxxSyyi, *MulSxySxyi, *Subxyi;
63
short
*cSubxyi;
64
short
threshold;
65
66
virtual
void
CountPlessy(
int
w,
int
h,
int
ww);
67
68
public
:
69
C_PlessyCornerDetector_16s
(){};
70
~C_PlessyCornerDetector_16s
(){};
71
virtual
void
Allocate(
int
w,
int
h,
int
ww);
72
virtual
void
DeAllocate();
73
virtual
void
SetThreshold(
float
_threshold);
74
};
75
76
#endif
C_PlessyCornerDetector_16s
Definition:
iPlessyDetector.h:57
C_PlessyCornerDetector_32f
Definition:
iPlessyDetector.h:35
C_PlessyCornerDetector
Definition:
iPlessyDetector.h:9
I_2DSubPixelMinPosition
Definition:
isubpixel2d.h:8
I_PlessyCornerDetector
Definition:
iPlessy.h:11
Создано системой
1.9.5