vtkImageEMGeneral Class Reference

#include <vtkImageEMGeneral.h>

Inheritance diagram for vtkImageEMGeneral:
vtkImageMultipleInputFilter vtkImageEMAtlasSegmenter vtkImageEMLocalSegmenter

List of all members.

Public Member Functions

void GEImageReader (vtkImageReader *VOLUME, const char FileName[], int Zmin, int Zmax, int ScalarType)
int GEImageWriter (vtkImageData *Volume, char *FileName, int PrintFlag)
void * GetPointerToVtkImageData (vtkImageData *Image, int DataType, int Ext[6])
void PrintMatrix (double **mat, int yMax, int xMax)
void PrintMatrix3D (double ***mat, int zMax, int yMax, int xMax)
void PrintSelf (ostream &os, vtkIndent indent)
void SetInputIndex (int index, vtkImageData *image)
 vtkTypeMacro (vtkImageEMGeneral, vtkObject)

Static Public Member Functions

static float CalcSimularityMeasure (vtkImageData *Image1, vtkImageData *Image2, float val, int PrintRes)
static float CalcSimularityMeasure (vtkImageData *Image1, vtkImageData *Image2, float val, int PrintRes, int *BoundaryMin, int *BoundaryMax)
static int CalculateGaussLookupTable (double *GaussLookupTable, double **ValueTable, double **InvCovMatrix, double InvSqrtDetCovMatrix, double *ValueVec, int GaussTableIndex, int TableSize, int NumberOfInputImages, int index)
static void CalculateLogMeanandLogCovariance (double *mu, double *Sigma, double *LogMu, double *LogSigma, int NumberOfClasses, int SequenceMax)
static int CalculateLogMeanandLogCovariance (double **Mu, double ***CovMatrix, double **LogMu, double ***LogCov, int NumberOfInputImages, int NumberOfClasses, int SequenceMax)
static double CalculatingPJointDistribution (float *x, int *Vleft, double *mu, double **inv_cov, double inv_sqrt_det_cov, int SequenceMax, int setvar, int numvar)
static double determinant (double **mat, int dim)
static double FastGauss (const double inverse_sigma, const double x)
static float FastGauss2 (const double inverse_sqrt_det_covariance, const float *x, const double *mu, double **inv_cov, const int virtualDim)
static float FastGaussMulti (const double inverse_sqrt_det_covariance, const float *x, const double *mu, double **inv_cov, const int realDim, const int virtualDim)
static float FastGaussMulti (const double inverse_sqrt_det_covariance, const float x, const int dim)
static double FastGaussTest (const double inverse_sigma, const double x)
static double GeneralGauss (float *x, double *mu, double **inv_cov, double inv_sqrt_det_cov, int n)
static double GeneralGauss (double x, double m, double s)
static int InvertMatrix (double **mat, double **inv_mat, int dim)
static double LookupGauss (double *table, double *lbound, double *ubound, double *resolution, double *value, int NumberOfInputImages)
static double LookupGauss (double *table, double lbound, double ubound, double resolution, double value)
static void MatrixVectorMulti (double **mat, double *vec, double *res, int dim)
static vtkImageEMGeneralNew ()
static FILE * OpenTextFile (const char *FileDir, const char FileName[], int Label, int LabelFlag, const char *LevelName, int LevelNameFlag, int iter, int IterFlag, const char FileSucessMessage[], char OpenFileName[])
static void SquareMatrix (double **Input, double **Output, int dim)

Protected Member Functions

void DeleteVariables ()
void TestMatrixFunctions (int MatrixDim, int iter)
void ThreadedExecute (vtkImageData **vtkNotUsed(inData), vtkImageData *vtkNotUsed(outData), int vtkNotUsed(outExt)[6], int vtkNotUsed(id))
 vtkImageEMGeneral ()
 ~vtkImageEMGeneral ()

Static Protected Member Functions

static void CalculateLogMeanandLogCovariance (double *mu, double *Sigma, double *LogMu, double *LogVariance, double *LogTestSequence, int NumberOfClasses, int SequenceMax)
static double CalculateVectorMatrixVectorOperation (double **mat, double *vec, int offY, int dimY, int offX, int dimX)
static void convMatrix3D (double ***mat3D, double ***U, int mat3DZlen, int mat3DYlen, int mat3DXlen, double v[], int vLen)
static double InnerproductWithMatrixX (double **mat, int posY, int posX, int dimX, double *vec)
static double InnerproductWithMatrixY (double *vec, double **mat, int posY, int dimY, int posX)

Private Member Functions

void operator= (const vtkImageEMGeneral &)
 vtkImageEMGeneral (const vtkImageEMGeneral &)

Constructor & Destructor Documentation

vtkImageEMGeneral::vtkImageEMGeneral (  )  [inline, protected]
vtkImageEMGeneral::~vtkImageEMGeneral (  )  [inline, protected]
vtkImageEMGeneral::vtkImageEMGeneral ( const vtkImageEMGeneral  )  [private]

Member Function Documentation

float vtkImageEMGeneral::CalcSimularityMeasure ( vtkImageData Image1,
vtkImageData Image2,
float  val,
int  PrintRes 
) [static]
float vtkImageEMGeneral::CalcSimularityMeasure ( vtkImageData Image1,
vtkImageData Image2,
float  val,
int  PrintRes,
int BoundaryMin,
int BoundaryMax 
) [static]
int vtkImageEMGeneral::CalculateGaussLookupTable ( double *  GaussLookupTable,
double **  ValueTable,
double **  InvCovMatrix,
double  InvSqrtDetCovMatrix,
double *  ValueVec,
int  GaussTableIndex,
int  TableSize,
int  NumberOfInputImages,
int  index 
) [static]
void vtkImageEMGeneral::CalculateLogMeanandLogCovariance ( double *  mu,
double *  Sigma,
double *  LogMu,
double *  LogVariance,
double *  LogTestSequence,
int  NumberOfClasses,
int  SequenceMax 
) [static, protected]

References FastGauss(), and j.

void vtkImageEMGeneral::CalculateLogMeanandLogCovariance ( double *  mu,
double *  Sigma,
double *  LogMu,
double *  LogSigma,
int  NumberOfClasses,
int  SequenceMax 
) [static]
int vtkImageEMGeneral::CalculateLogMeanandLogCovariance ( double **  Mu,
double ***  CovMatrix,
double **  LogMu,
double ***  LogCov,
int  NumberOfInputImages,
int  NumberOfClasses,
int  SequenceMax 
) [static]
double vtkImageEMGeneral::CalculateVectorMatrixVectorOperation ( double **  mat,
double *  vec,
int  offY,
int  dimY,
int  offX,
int  dimX 
) [static, protected]

References result.

Referenced by CalculateGaussLookupTable().

double vtkImageEMGeneral::CalculatingPJointDistribution ( float *  x,
int Vleft,
double *  mu,
double **  inv_cov,
double  inv_sqrt_det_cov,
int  SequenceMax,
int  setvar,
int  numvar 
) [static]
void vtkImageEMGeneral::convMatrix3D ( double ***  mat3D,
double ***  U,
int  mat3DZlen,
int  mat3DYlen,
int  mat3DXlen,
double  v[],
int  vLen 
) [static, protected]

References j, and k.

void vtkImageEMGeneral::DeleteVariables (  )  [protected]
double vtkImageEMGeneral::determinant ( double **  mat,
int  dim 
) [static]
double vtkImageEMGeneral::FastGauss ( const double  inverse_sigma,
const double  x 
) [inline, static]
float vtkImageEMGeneral::FastGauss2 ( const double  inverse_sqrt_det_covariance,
const float *  x,
const double *  mu,
double **  inv_cov,
const int  virtualDim 
) [inline, static]
float vtkImageEMGeneral::FastGaussMulti ( const double  inverse_sqrt_det_covariance,
const float *  x,
const double *  mu,
double **  inv_cov,
const int  realDim,
const int  virtualDim 
) [inline, static]
float vtkImageEMGeneral::FastGaussMulti ( const double  inverse_sqrt_det_covariance,
const float  x,
const int  dim 
) [inline, static]
double vtkImageEMGeneral::FastGaussTest ( const double  inverse_sigma,
const double  x 
) [inline, static]
void vtkImageEMGeneral::GEImageReader ( vtkImageReader *  VOLUME,
const char  FileName[],
int  Zmin,
int  Zmax,
int  ScalarType 
)
int vtkImageEMGeneral::GEImageWriter ( vtkImageData Volume,
char FileName,
int  PrintFlag 
)
double vtkImageEMGeneral::GeneralGauss ( float *  x,
double *  mu,
double **  inv_cov,
double  inv_sqrt_det_cov,
int  n 
) [static]

References EMSEGMENT_ONE_OVER_ROOT_2_PI, and j.

double vtkImageEMGeneral::GeneralGauss ( double  x,
double  m,
double  s 
) [static]
void * vtkImageEMGeneral::GetPointerToVtkImageData ( vtkImageData Image,
int  DataType,
int  Ext[6] 
)
double vtkImageEMGeneral::InnerproductWithMatrixX ( double **  mat,
int  posY,
int  posX,
int  dimX,
double *  vec 
) [static, protected]

References result.

Referenced by CalculateGaussLookupTable().

double vtkImageEMGeneral::InnerproductWithMatrixY ( double *  vec,
double **  mat,
int  posY,
int  dimY,
int  posX 
) [static, protected]

References result.

Referenced by CalculateGaussLookupTable().

int vtkImageEMGeneral::InvertMatrix ( double **  mat,
double **  inv_mat,
int  dim 
) [static]
double vtkImageEMGeneral::LookupGauss ( double *  table,
double *  lbound,
double *  ubound,
double *  resolution,
double *  value,
int  NumberOfInputImages 
) [static]
double vtkImageEMGeneral::LookupGauss ( double *  table,
double  lbound,
double  ubound,
double  resolution,
double  value 
) [static]
void vtkImageEMGeneral::MatrixVectorMulti ( double **  mat,
double *  vec,
double *  res,
int  dim 
) [static]
vtkImageEMGeneral * vtkImageEMGeneral::New (  )  [static]
FILE * vtkImageEMGeneral::OpenTextFile ( const char FileDir,
const char  FileName[],
int  Label,
int  LabelFlag,
const char LevelName,
int  LevelNameFlag,
int  iter,
int  IterFlag,
const char  FileSucessMessage[],
char  OpenFileName[] 
) [static]
void vtkImageEMGeneral::operator= ( const vtkImageEMGeneral  )  [private]
void vtkImageEMGeneral::PrintMatrix ( double **  mat,
int  yMax,
int  xMax 
)

Referenced by TestMatrixFunctions().

void vtkImageEMGeneral::PrintMatrix3D ( double ***  mat,
int  zMax,
int  yMax,
int  xMax 
)

Referenced by TestMatrixFunctions().

void vtkImageEMGeneral::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [inline]
void vtkImageEMGeneral::SetInputIndex ( int  index,
vtkImageData image 
) [inline]
void vtkImageEMGeneral::SquareMatrix ( double **  Input,
double **  Output,
int  dim 
) [static]

References j, and k.

Referenced by TestMatrixFunctions().

void vtkImageEMGeneral::TestMatrixFunctions ( int  MatrixDim,
int  iter 
) [protected]
void vtkImageEMGeneral::ThreadedExecute ( vtkImageData **  vtkNotUsedinData,
vtkImageData vtkNotUsedoutData,
int   vtkNotUsed(outExt)[6],
int   vtkNotUsedid 
) [inline, protected]
vtkImageEMGeneral::vtkTypeMacro ( vtkImageEMGeneral  ,
vtkObject   
)

The documentation for this class was generated from the following files:

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1