Bsoft
1.9
Bernard's software package
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
img_graphseg.h
Go to the documentation of this file.
1
9
#include "
rwimg.h
"
10
11
struct
Edge
{
12
size_t
u
,
v
;
// Edge ends in the 1D data array
13
float
w
;
// Edge weight: Neighbor value difference
14
} ;
15
16
struct
Region
{
17
long
p
;
// Region index
18
int
r
;
// Number of region joins
19
int
s
;
// Number of voxels in the region
20
float
a
;
// Average value for the region
21
} ;
22
23
// Function prototypes
24
size_t
img_graph_segment
(
int
type,
Bimage
* p,
Bimage
* pmask,
int
connect_type,
double
complexity,
int
min_size);
25
Edge::w
float w
Definition:
img_graphseg.h:13
Region::a
float a
Definition:
img_graphseg.h:20
Region::p
long p
Definition:
img_graphseg.h:17
Bimage
General image parameter class.
Definition:
Bimage.h:133
Region::s
int s
Definition:
img_graphseg.h:19
Edge::v
size_t v
Definition:
img_graphseg.h:12
Region::r
int r
Definition:
img_graphseg.h:18
Region
Definition:
img_graphseg.h:16
Edge::u
size_t u
Definition:
img_graphseg.h:12
img_graph_segment
size_t img_graph_segment(int type, Bimage *p, Bimage *pmask, int connect_type, double complexity, int min_size)
Graph-based segmentation of an image.
Definition:
img_graphseg.cpp:233
Edge
Definition:
img_graphseg.h:11
rwimg.h
Header file for 2D and 3D image I/O.
include
img_graphseg.h
Generated on Mon Feb 22 2016 10:18:01 for Bsoft by
1.8.8