VIP: Volume Image Processing


connex.h File Reference
#include <vip/volume.h>
#include <vip/bucket.h>
#include <vip/connex/3Dconnex_gen.h>
Include dependency graph for connex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  VipConnectivityStruct
 

Macros

#define CONNECTIVITY_4   4
 
#define CONNECTIVITY_4_SAGITTAL   40
 
#define CONNECTIVITY_4_CORONAL   41
 
#define CONNECTIVITY_6   6
 
#define CONNECTIVITY_8   8
 
#define CONNECTIVITY_8_SAGITTAL   80
 
#define CONNECTIVITY_8_CORONAL   81
 
#define CONNECTIVITY_18   18
 
#define CONNECTIVITY_26   26
 
#define CONNECTIVITY_2x26   124
 
#define CONNECTIVITY_3x26   342
 
#define CONNECTIVITY_4x26   728
 
#define CONNEX_BINARY   30
 
#define CONNEX_GREYLEVEL   31
 
#define CONNEX_LABEL   32
 
#define CONNEX_ORDER   33
 
#define HYSTE_NUMBER   40
 
#define HYSTE_PERCENT   41
 

Functions

int VipTestCoordBucketConnectedToLabel (Vip3DBucket_S16BIT *buck, Volume *vol, VipConnectivityStruct *vcs, int label)
 
int VipConvertStringToConnectivity (char *thestring)
 
VipConnectivityStructVipGetConnectivityStruct (Volume *volume, int connectivity)
 
void VipFreeConnectivityStruct (VipConnectivityStruct *vcs)
 
Vip3DBucket_S16BIT * VipGetFiltered3DConnex (Volume *vol, int connectivity, int how)
 
Vip3DBucket_S16BIT * VipGetDualFiltered3DConnex (Volume *vol, int connectivity, int how)
 
Vip3DBucket_S16BIT * VipGetHysteresisFiltered3DConnex (Volume *vol, int connectivity, int how, float threshold, int mode, int param)
 
Vip3DBucket_S16BIT * VipGetDualHysteresisFiltered3DConnex (Volume *vol, int connectivity, int how, float threshold, int mode, int param)
 
int VipHysteresisPercentThresholding (Volume *vol, int connectivity, int how, int connex_mode, int low_percent, int high_percent, int mode, int param)
 
int VipHysteresisThresholding (Volume *vol, int connectivity, int how, int connex_mode, float low_threshold, float high_threshold, int mode, int param)
 
int VipConnexVolumeFilter (Volume *vol, int connectivity, int how, int mode)
 

Macro Definition Documentation

◆ CONNECTIVITY_18

#define CONNECTIVITY_18   18

Definition at line 43 of file connex.h.

◆ CONNECTIVITY_26

#define CONNECTIVITY_26   26

Definition at line 44 of file connex.h.

◆ CONNECTIVITY_2x26

#define CONNECTIVITY_2x26   124

Definition at line 45 of file connex.h.

◆ CONNECTIVITY_3x26

#define CONNECTIVITY_3x26   342

Definition at line 46 of file connex.h.

◆ CONNECTIVITY_4

#define CONNECTIVITY_4   4

Definition at line 36 of file connex.h.

◆ CONNECTIVITY_4_CORONAL

#define CONNECTIVITY_4_CORONAL   41

Definition at line 38 of file connex.h.

◆ CONNECTIVITY_4_SAGITTAL

#define CONNECTIVITY_4_SAGITTAL   40

Definition at line 37 of file connex.h.

◆ CONNECTIVITY_4x26

#define CONNECTIVITY_4x26   728

Definition at line 47 of file connex.h.

◆ CONNECTIVITY_6

#define CONNECTIVITY_6   6

Definition at line 39 of file connex.h.

◆ CONNECTIVITY_8

#define CONNECTIVITY_8   8

Definition at line 40 of file connex.h.

◆ CONNECTIVITY_8_CORONAL

#define CONNECTIVITY_8_CORONAL   81

Definition at line 42 of file connex.h.

◆ CONNECTIVITY_8_SAGITTAL

#define CONNECTIVITY_8_SAGITTAL   80

Definition at line 41 of file connex.h.

◆ CONNEX_BINARY

#define CONNEX_BINARY   30

Definition at line 50 of file connex.h.

◆ CONNEX_GREYLEVEL

#define CONNEX_GREYLEVEL   31

Definition at line 51 of file connex.h.

◆ CONNEX_LABEL

#define CONNEX_LABEL   32

Definition at line 52 of file connex.h.

◆ CONNEX_ORDER

#define CONNEX_ORDER   33

Definition at line 53 of file connex.h.

◆ HYSTE_NUMBER

#define HYSTE_NUMBER   40

Definition at line 55 of file connex.h.

◆ HYSTE_PERCENT

#define HYSTE_PERCENT   41

Definition at line 56 of file connex.h.

Function Documentation

◆ VipConnexVolumeFilter()

int VipConnexVolumeFilter ( Volume * vol,
int connectivity,
int how,
int mode )

◆ VipConvertStringToConnectivity()

int VipConvertStringToConnectivity ( char * thestring)

◆ VipFreeConnectivityStruct()

void VipFreeConnectivityStruct ( VipConnectivityStruct * vcs)
extern

◆ VipGetConnectivityStruct()

VipConnectivityStruct * VipGetConnectivityStruct ( Volume * volume,
int connectivity )
extern

◆ VipGetDualFiltered3DConnex()

Vip3DBucket_S16BIT * VipGetDualFiltered3DConnex ( Volume * vol,
int connectivity,
int how )

◆ VipGetDualHysteresisFiltered3DConnex()

Vip3DBucket_S16BIT * VipGetDualHysteresisFiltered3DConnex ( Volume * vol,
int connectivity,
int how,
float threshold,
int mode,
int param )

◆ VipGetFiltered3DConnex()

Vip3DBucket_S16BIT * VipGetFiltered3DConnex ( Volume * vol,
int connectivity,
int how )

◆ VipGetHysteresisFiltered3DConnex()

Vip3DBucket_S16BIT * VipGetHysteresisFiltered3DConnex ( Volume * vol,
int connectivity,
int how,
float threshold,
int mode,
int param )

◆ VipHysteresisPercentThresholding()

int VipHysteresisPercentThresholding ( Volume * vol,
int connectivity,
int how,
int connex_mode,
int low_percent,
int high_percent,
int mode,
int param )

◆ VipHysteresisThresholding()

int VipHysteresisThresholding ( Volume * vol,
int connectivity,
int how,
int connex_mode,
float low_threshold,
float high_threshold,
int mode,
int param )

◆ VipTestCoordBucketConnectedToLabel()

int VipTestCoordBucketConnectedToLabel ( Vip3DBucket_S16BIT * buck,
Volume * vol,
VipConnectivityStruct * vcs,
int label )