segmentation
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
Functions
Data Structures
Data Structures
Class Hierarchy
Data Fields
All
g
q
r
s
v
x
y
Functions
g
q
r
s
v
Variables
Files
File List
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
edison
edisonlib
include
edge
BgEdge.h
1
// Name: BgEdge.h
3
// Purpose: BgEdge class
4
// Author: Bogdan Georgescu
5
// Modified by:
6
// Created: 06/22/2000
7
// Copyright: (c) Bogdan Georgescu
8
// Version: v0.1
10
11
// 8-connected neighbour
12
static
const
int
gNb8[8][2]=
13
{
14
1, 1,
15
1,-1,
16
1, 0,
17
0, 1,
18
0,-1,
19
-1,-1,
20
-1, 0,
21
-1, 1
22
};
23
24
class
BgEdge
25
{
26
public
:
27
int
* edge_;
28
double
* grad_;
29
bool
isGradSet_;
30
bool
isMarkSet_;
31
unsigned
char
* mark_;
32
int
nPoints_;
33
BgEdge* next_;
34
35
BgEdge();
36
~BgEdge();
37
void
SetPoints(
float
*,
int
);
38
void
SetPoints(
int
*,
int
);
39
void
SetGradient(
float
*,
float
*,
float
*,
int
);
40
};
Generated by
1.9.1