gft_ift.h
Go to the documentation of this file.
1 
2 #ifndef _GFT_IFT_H_
3 #define _GFT_IFT_H_
4 
5 #include "gft_common.h"
6 #include "gft_sparsegraph.h"
7 #include "gft_pqueue32.h"
8 #include "gft_queue.h"
9 #include "gft_heap.h"
10 
11 //----------------------------------------
12 // Method wrappers:
13 
14 //The 'label' scene should be pre-initialized as follows:
15 // label->val[p]=NIL, unlabeled voxel.
16 // label->val[p]=0, background voxel.
17 // label->val[p]=1, object voxel.
18 
19 //---------------------------------------
20 
21 namespace gft{
22  namespace ift{
23 
25  int *Si,
26  int *Se,
27  Image32::Image32 *label);
29  int *Si,
30  int *Se,
31  Image32::Image32 *label);
32 
34  int *Si,
35  int *Se,
36  Image32::Image32 *label,
37  float power);
38 
39  //---------------------------------------
40 
41  Image32::Image32 *EDT(Image32::Image32 *bin, float r);
42 
43  } //end ift namespace
44 } //end gft namespace
45 
46 #endif
47 
struct gft::SparseGraph::_sparseGraph SparseGraph
Header file for common definitions and function prototypes.
void method_IFTW_FIFO_InnerCut(SparseGraph::SparseGraph *sg, int *Si, int *Se, Image32::Image32 *label)
Definition: gft_ift.cpp:98
Image32::Image32 * pred_IFTSUM(SparseGraph::SparseGraph *sg, int *Si, int *Se, Image32::Image32 *label, float power)
Definition: gft_ift.cpp:19
void method_IFTW_FIFO_OuterCut(SparseGraph::SparseGraph *sg, int *Si, int *Se, Image32::Image32 *label)
Definition: gft_ift.cpp:167
struct gft::Image32::_image32 Image32
Image32::Image32 * EDT(Image32::Image32 *bin, float r)
Definition: gft_ift.cpp:239