VIP: Volume Image Processing


distmap_static.h File Reference

Go to the source code of this file.

Data Structures

struct  distmap_mask_point
 
struct  distmap_mask
 

Macros

#define CHAMFER_DOMAIN   32500
 
#define CHAMFER_MASK_MAXSIZE   20
 
#define VIP_OUTSIDE_DOMAIN   32501
 
#define SWEEPING_FORWARD   1
 
#define SWEEPING_BACKWARD   0
 
#define LONG_BUCKET   50000 /*initial length of a bucket*/
 
#define INCREMENT_BUCKET   200000 /*increment length of a bucket*/
 

Typedefs

typedef struct distmap_mask_point DistmapMask_point
 
typedef struct distmap_mask DistmapMask
 

Functions

int CreateAndSplitCubicMask (Volume *vol, int xsize, int ysize, int zsize, DistmapMask **forward, DistmapMask **backward)
 
void FreeMask (DistmapMask *m)
 
int ForwardSweepingWithBorder (Volume *vol, DistmapMask *mask, int borderlevel)
 
int BackwardSweepingWithBorder (Volume *vol, DistmapMask *mask, int borderlevel)
 
int ForwardSweepingVoronoiWithBorder (Volume *vol, Volume *label, DistmapMask *mask, int borderlevel)
 
int BackwardSweepingVoronoiWithBorder (Volume *vol, Volume *label, DistmapMask *mask, int borderlevel)
 
void VolumeChamferPreparation (Volume *vol)
 
void VolumeChamferPreparationGeodesic (Volume *vol, int domain, int outside_domain)
 
DistmapMaskCreateSquareMask (Volume *vol, int xsize, int ysize, int zsize)
 
int FrontPropagation (Volume *vol, DistmapMask *mask, int limit)
 
int FrontPropagationVoronoi (Volume *vol, Volume *label, DistmapMask *mask)
 
DistmapMaskCreateConnectivityMask (Volume *vol, int connectivity)
 
int FrontPropagationConnectivity (Volume *vol, DistmapMask *mask, int limit)
 
int FrontPropagationConnectivityVoronoi (Volume *vol, Volume *label, DistmapMask *mask)
 

Variables

float VIP_USED_DISTMAP_MULTFACT
 

Macro Definition Documentation

◆ CHAMFER_DOMAIN

#define CHAMFER_DOMAIN   32500

Definition at line 27 of file distmap_static.h.

◆ CHAMFER_MASK_MAXSIZE

#define CHAMFER_MASK_MAXSIZE   20

Definition at line 28 of file distmap_static.h.

◆ INCREMENT_BUCKET

#define INCREMENT_BUCKET   200000 /*increment length of a bucket*/

Definition at line 37 of file distmap_static.h.

◆ LONG_BUCKET

#define LONG_BUCKET   50000 /*initial length of a bucket*/

Definition at line 36 of file distmap_static.h.

◆ SWEEPING_BACKWARD

#define SWEEPING_BACKWARD   0

Definition at line 34 of file distmap_static.h.

◆ SWEEPING_FORWARD

#define SWEEPING_FORWARD   1

Definition at line 33 of file distmap_static.h.

◆ VIP_OUTSIDE_DOMAIN

#define VIP_OUTSIDE_DOMAIN   32501

Definition at line 29 of file distmap_static.h.

Typedef Documentation

◆ DistmapMask

typedef struct distmap_mask DistmapMask

◆ DistmapMask_point

Function Documentation

◆ BackwardSweepingVoronoiWithBorder()

int BackwardSweepingVoronoiWithBorder ( Volume * vol,
Volume * label,
DistmapMask * mask,
int borderlevel )
extern

◆ BackwardSweepingWithBorder()

int BackwardSweepingWithBorder ( Volume * vol,
DistmapMask * mask,
int borderlevel )
extern

◆ CreateAndSplitCubicMask()

int CreateAndSplitCubicMask ( Volume * vol,
int xsize,
int ysize,
int zsize,
DistmapMask ** forward,
DistmapMask ** backward )
extern

◆ CreateConnectivityMask()

DistmapMask * CreateConnectivityMask ( Volume * vol,
int connectivity )
extern

◆ CreateSquareMask()

DistmapMask * CreateSquareMask ( Volume * vol,
int xsize,
int ysize,
int zsize )
extern

◆ ForwardSweepingVoronoiWithBorder()

int ForwardSweepingVoronoiWithBorder ( Volume * vol,
Volume * label,
DistmapMask * mask,
int borderlevel )
extern

◆ ForwardSweepingWithBorder()

int ForwardSweepingWithBorder ( Volume * vol,
DistmapMask * mask,
int borderlevel )
extern

◆ FreeMask()

void FreeMask ( DistmapMask * m)
extern

◆ FrontPropagation()

int FrontPropagation ( Volume * vol,
DistmapMask * mask,
int limit )
extern

◆ FrontPropagationConnectivity()

int FrontPropagationConnectivity ( Volume * vol,
DistmapMask * mask,
int limit )

◆ FrontPropagationConnectivityVoronoi()

int FrontPropagationConnectivityVoronoi ( Volume * vol,
Volume * label,
DistmapMask * mask )
extern

◆ FrontPropagationVoronoi()

int FrontPropagationVoronoi ( Volume * vol,
Volume * label,
DistmapMask * mask )
extern

◆ VolumeChamferPreparation()

void VolumeChamferPreparation ( Volume * vol)
extern

◆ VolumeChamferPreparationGeodesic()

void VolumeChamferPreparationGeodesic ( Volume * vol,
int domain,
int outside_domain )
extern

Variable Documentation

◆ VIP_USED_DISTMAP_MULTFACT

float VIP_USED_DISTMAP_MULTFACT
extern