EMLocalInterface.h File Reference

#include "vtkEMSegment.h"
#include "vtkMultiThreader.h"

Go to the source code of this file.

Classes

class  EMLocal_Hierarchical_Class_Parameters

Defines

#define _EMLOCALINTERFACE_H_INCLUDED   1
#define EMLOCALSEGMENTER_MAX_MULTI_THREAD   -1
#define EMSEGMENT_PCASHAPE_APPLY   2
#define EMSEGMENT_PCASHAPE_DEPENDENT   0
#define EMSEGMENT_PCASHAPE_INDEPENDENT   1
#define EMSEGMENT_REGISTRATION_APPLY   1
#define EMSEGMENT_REGISTRATION_CLASS_ONLY   3
#define EMSEGMENT_REGISTRATION_DISABLED   0
#define EMSEGMENT_REGISTRATION_GLOBAL_ONLY   2
#define EMSEGMENT_REGISTRATION_INTERPOLATION_LINEAR   1
#define EMSEGMENT_REGISTRATION_INTERPOLATION_NEIGHBOUR   2
#define EMSEGMENT_REGISTRATION_POWELL   2
#define EMSEGMENT_REGISTRATION_SEQUENTIAL   5
#define EMSEGMENT_REGISTRATION_SIMPLEX   1
#define EMSEGMENT_REGISTRATION_SIMULTANEOUS   4
#define EMSEGMENT_STOP_FIXED   0
#define EMSEGMENT_STOP_LABELMAP   1
#define EMSEGMENT_STOP_WEIGHTS   2

Functions

float EMLocalInterface_CalcDistanceMap (const float *ShapeParameter, float **PCAEigenVectorsPtr, float *MeanShape, int DimEigenVector, int VoxelJump)
float EMLocalInterface_CalcDistanceMap (const double *ShapeParameter, float **PCAEigenVectorsPtr, float *MeanShape, int DimEigenVector, int VoxelJump)
int EMLocalInterface_DefineMultiThreadJump (int *Start, int BoundaryMaxX, int BoundaryMaxY, int DataIncY, int DataIncZ)
void EMLocalInterface_findCoordInTargetOfMatchingSourceCentreTarget (float *invRot, float *invTran, int ccol, int crow, int cslice, float &ocol, float &orow, float &oslice, float Image_MidX, float Image_MidY, float Image_MidZ)
int EMLocalInterface_GetDefaultNumberOfThreads (int DisableFlag)
template<class T >
void EMLocalInterface_Interpolation (float col, float row, float slice, int ncol, int nrow, int nslice, T *data, int dataIncY, int dataIncZ, int InterpolationType, int *Image_Length, double &result)
template<class T >
double EMLocalInterface_Interpolation (float col, float row, float slice, int ncol, int nrow, int nslice, T *data, int dataIncY, int dataIncZ, int InterpolationType, int *Image_Length)
int EMLocalInterface_InterpolationNearestNeighbourVoxelIndex (float col, float row, float slice, int dataIncY, int dataIncZ, int *Image_Length)

Define Documentation

#define _EMLOCALINTERFACE_H_INCLUDED   1
#define EMLOCALSEGMENTER_MAX_MULTI_THREAD   -1
#define EMSEGMENT_PCASHAPE_APPLY   2
#define EMSEGMENT_PCASHAPE_DEPENDENT   0
#define EMSEGMENT_PCASHAPE_INDEPENDENT   1
#define EMSEGMENT_REGISTRATION_APPLY   1
#define EMSEGMENT_REGISTRATION_CLASS_ONLY   3
#define EMSEGMENT_REGISTRATION_DISABLED   0
#define EMSEGMENT_REGISTRATION_GLOBAL_ONLY   2
#define EMSEGMENT_REGISTRATION_INTERPOLATION_LINEAR   1
#define EMSEGMENT_REGISTRATION_INTERPOLATION_NEIGHBOUR   2
#define EMSEGMENT_REGISTRATION_POWELL   2
#define EMSEGMENT_REGISTRATION_SEQUENTIAL   5
#define EMSEGMENT_REGISTRATION_SIMPLEX   1
#define EMSEGMENT_REGISTRATION_SIMULTANEOUS   4
#define EMSEGMENT_STOP_FIXED   0
#define EMSEGMENT_STOP_LABELMAP   1
#define EMSEGMENT_STOP_WEIGHTS   2

Function Documentation

float EMLocalInterface_CalcDistanceMap ( const float *  ShapeParameter,
float **  PCAEigenVectorsPtr,
float *  MeanShape,
int  DimEigenVector,
int  VoxelJump 
) [inline]
float EMLocalInterface_CalcDistanceMap ( const double *  ShapeParameter,
float **  PCAEigenVectorsPtr,
float *  MeanShape,
int  DimEigenVector,
int  VoxelJump 
) [inline]
int EMLocalInterface_DefineMultiThreadJump ( int Start,
int  BoundaryMaxX,
int  BoundaryMaxY,
int  DataIncY,
int  DataIncZ 
) [inline]
void EMLocalInterface_findCoordInTargetOfMatchingSourceCentreTarget ( float *  invRot,
float *  invTran,
int  ccol,
int  crow,
int  cslice,
float &  ocol,
float &  orow,
float &  oslice,
float  Image_MidX,
float  Image_MidY,
float  Image_MidZ 
) [inline]
int EMLocalInterface_GetDefaultNumberOfThreads ( int  DisableFlag  )  [inline]
template<class T >
void EMLocalInterface_Interpolation ( float  col,
float  row,
float  slice,
int  ncol,
int  nrow,
int  nslice,
T *  data,
int  dataIncY,
int  dataIncZ,
int  InterpolationType,
int Image_Length,
double &  result 
) [inline]
template<class T >
double EMLocalInterface_Interpolation ( float  col,
float  row,
float  slice,
int  ncol,
int  nrow,
int  nslice,
T *  data,
int  dataIncY,
int  dataIncZ,
int  InterpolationType,
int Image_Length 
) [inline]
int EMLocalInterface_InterpolationNearestNeighbourVoxelIndex ( float  col,
float  row,
float  slice,
int  dataIncY,
int  dataIncZ,
int Image_Length 
) [inline]

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1