Slicer 4.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
CSFLSSegmentor3D< TPixel > Class Template Reference

#include <Modules/CLI/RobustStatisticsSegmenter/SFLSSegmentor3D.h>

Inheritance diagram for CSFLSSegmentor3D< TPixel >:
Inheritance graph
[legend]
Collaboration diagram for CSFLSSegmentor3D< TPixel >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef SuperClassType::CSFLSLayer CSFLSLayer
typedef TImage ImageType
typedef TCharImage LabelImageType
typedef TFloatImage LSImageType
typedef TUCharImage MaskImageType
typedef SuperClassType::NodeType NodeType
typedef CSFLSSegmentor3D< TPixel > Self
typedef CSFLS SuperClassType
typedef itk::Image< char, 3 > TCharImage
typedef itk::Image< double, 3 > TDoubleImage
typedef itk::Image< float, 3 > TFloatImage
typedef itk::Image< TPixel, 3 > TImage
typedef TImage::IndexType TIndex
typedef TImage::RegionType TRegion
typedef TImage::SizeType TSize
typedef itk::Image< unsigned
char, 3 > 
TUCharImage

Public Member Functions

void basicInit ()
virtual void computeForce ()=0
double computeKappa (long ix, long iy, long iz)
 CSFLSSegmentor3D ()
virtual void doSegmenation ()=0
LSImageType::Pointer getLevelSetFunction ()
bool getPhiOfTheNbhdWhoIsClosestToZeroLevelInLayerCloserToZeroLevel (long ix, long iy, long iz, double &thePhi)
void getZeroLayerAtIteration (unsigned long i)
void initializeLabel ()
void initializePhi ()
void initializeSFLS ()
void initializeSFLSFromMask ()
void keepZeroLayerHistory (bool b)
void normalizeForce ()
void oneStepLevelSetEvolution ()
void setCurvatureWeight (double a)
void setImage (typename ImageType::Pointer img)
void setMask (typename MaskImageType::Pointer mask)
void setMaxRunningTime (double t)
void setMaxVolume (double v)
void setNumIter (unsigned long n)
void writeZeroLayerAtIterationToFile (unsigned long i, const char *name)
void writeZeroLayerToFile (const char *namePrefix)
virtual ~CSFLSSegmentor3D ()

Public Attributes

std::vector< double > m_force
unsigned long m_numIter
double m_timeStep
ImageType::Pointer mp_img
LabelImageType::Pointer mp_label
MaskImageType::Pointer mp_mask
LSImageType::Pointer mp_phi

Protected Member Functions

bool doubleEqual (double a, double b, double eps=1e-10)
void updateInsideVoxelCount ()

Protected Attributes

double m_curvatureWeight
bool m_done
double m_dx
double m_dy
double m_dz
double m_insideVolume
long m_insideVoxelCount
bool m_keepZeroLayerHistory
CSFLSLayer m_lIn2out
CSFLSLayer m_lOut2in
double m_maxRunningTime
double m_maxVolume
long m_nx
long m_ny
long m_nz
std::vector< CSFLSLayerm_zeroLayerHistory

Detailed Description

template<typename TPixel>
class CSFLSSegmentor3D< TPixel >

Definition at line 16 of file SFLSSegmentor3D.h.


Member Typedef Documentation

template<typename TPixel >
typedef SuperClassType::CSFLSLayer CSFLSSegmentor3D< TPixel >::CSFLSLayer

Reimplemented from CSFLS.

Reimplemented in CSFLSRobustStatSegmentor3DLabelMap< TPixel >.

Definition at line 24 of file SFLSSegmentor3D.h.

template<typename TPixel >
typedef TImage CSFLSSegmentor3D< TPixel >::ImageType

Definition at line 33 of file SFLSSegmentor3D.h.

template<typename TPixel >
typedef TCharImage CSFLSSegmentor3D< TPixel >::LabelImageType

Definition at line 35 of file SFLSSegmentor3D.h.

template<typename TPixel >
typedef TFloatImage CSFLSSegmentor3D< TPixel >::LSImageType

Definition at line 34 of file SFLSSegmentor3D.h.

template<typename TPixel >
typedef TUCharImage CSFLSSegmentor3D< TPixel >::MaskImageType

Definition at line 36 of file SFLSSegmentor3D.h.

template<typename TPixel >
typedef SuperClassType::NodeType CSFLSSegmentor3D< TPixel >::NodeType

Reimplemented from CSFLS.

Reimplemented in CSFLSRobustStatSegmentor3DLabelMap< TPixel >.

Definition at line 23 of file SFLSSegmentor3D.h.

template<typename TPixel >
typedef CSFLSSegmentor3D<TPixel> CSFLSSegmentor3D< TPixel >::Self

Reimplemented from CSFLS.

Reimplemented in CSFLSRobustStatSegmentor3DLabelMap< TPixel >.

Definition at line 19 of file SFLSSegmentor3D.h.

template<typename TPixel >
typedef CSFLS CSFLSSegmentor3D< TPixel >::SuperClassType

Reimplemented in CSFLSRobustStatSegmentor3DLabelMap< TPixel >.

Definition at line 21 of file SFLSSegmentor3D.h.

template<typename TPixel >
typedef itk::Image<char, 3> CSFLSSegmentor3D< TPixel >::TCharImage

Definition at line 30 of file SFLSSegmentor3D.h.

template<typename TPixel >
typedef itk::Image<double, 3> CSFLSSegmentor3D< TPixel >::TDoubleImage

Definition at line 29 of file SFLSSegmentor3D.h.

template<typename TPixel >
typedef itk::Image<float, 3> CSFLSSegmentor3D< TPixel >::TFloatImage

Reimplemented in CSFLSRobustStatSegmentor3DLabelMap< TPixel >.

Definition at line 28 of file SFLSSegmentor3D.h.

template<typename TPixel >
typedef itk::Image<TPixel, 3> CSFLSSegmentor3D< TPixel >::TImage

Definition at line 27 of file SFLSSegmentor3D.h.

template<typename TPixel >
typedef TImage::IndexType CSFLSSegmentor3D< TPixel >::TIndex

Reimplemented in CSFLSRobustStatSegmentor3DLabelMap< TPixel >.

Definition at line 38 of file SFLSSegmentor3D.h.

template<typename TPixel >
typedef TImage::RegionType CSFLSSegmentor3D< TPixel >::TRegion

Reimplemented in CSFLSRobustStatSegmentor3DLabelMap< TPixel >.

Definition at line 40 of file SFLSSegmentor3D.h.

template<typename TPixel >
typedef TImage::SizeType CSFLSSegmentor3D< TPixel >::TSize

Reimplemented in CSFLSRobustStatSegmentor3DLabelMap< TPixel >.

Definition at line 39 of file SFLSSegmentor3D.h.

template<typename TPixel >
typedef itk::Image<unsigned char, 3> CSFLSSegmentor3D< TPixel >::TUCharImage

Definition at line 31 of file SFLSSegmentor3D.h.


Constructor & Destructor Documentation

template<typename TPixel >
CSFLSSegmentor3D< TPixel >::CSFLSSegmentor3D ( )
template<typename TPixel >
virtual CSFLSSegmentor3D< TPixel >::~CSFLSSegmentor3D ( ) [inline, virtual]

Definition at line 43 of file SFLSSegmentor3D.h.


Member Function Documentation

template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::basicInit ( )
template<typename TPixel >
virtual void CSFLSSegmentor3D< TPixel >::computeForce ( ) [pure virtual]
template<typename TPixel >
double CSFLSSegmentor3D< TPixel >::computeKappa ( long  ix,
long  iy,
long  iz 
)
template<typename TPixel >
virtual void CSFLSSegmentor3D< TPixel >::doSegmenation ( ) [pure virtual]
template<typename TPixel >
bool CSFLSSegmentor3D< TPixel >::doubleEqual ( double  a,
double  b,
double  eps = 1e-10 
) [inline, protected]

Definition at line 150 of file SFLSSegmentor3D.h.

template<typename TPixel >
LSImageType::Pointer CSFLSSegmentor3D< TPixel >::getLevelSetFunction ( )
template<typename TPixel >
bool CSFLSSegmentor3D< TPixel >::getPhiOfTheNbhdWhoIsClosestToZeroLevelInLayerCloserToZeroLevel ( long  ix,
long  iy,
long  iz,
double &  thePhi 
)
template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::getZeroLayerAtIteration ( unsigned long  i)
template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::initializeLabel ( )
template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::initializePhi ( )
template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::initializeSFLS ( ) [inline]

Definition at line 71 of file SFLSSegmentor3D.h.

template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::initializeSFLSFromMask ( )
template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::keepZeroLayerHistory ( bool  b) [inline]

Definition at line 91 of file SFLSSegmentor3D.h.

template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::normalizeForce ( )
template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::oneStepLevelSetEvolution ( )
template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::setCurvatureWeight ( double  a)
template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::setImage ( typename ImageType::Pointer  img)
template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::setMask ( typename MaskImageType::Pointer  mask)
template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::setMaxRunningTime ( double  t)
template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::setMaxVolume ( double  v)
template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::setNumIter ( unsigned long  n)
template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::updateInsideVoxelCount ( ) [protected]
template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::writeZeroLayerAtIterationToFile ( unsigned long  i,
const char *  name 
)
template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::writeZeroLayerToFile ( const char *  namePrefix)

Member Data Documentation

template<typename TPixel >
double CSFLSSegmentor3D< TPixel >::m_curvatureWeight [protected]

Definition at line 121 of file SFLSSegmentor3D.h.

template<typename TPixel >
bool CSFLSSegmentor3D< TPixel >::m_done [protected]

Definition at line 123 of file SFLSSegmentor3D.h.

template<typename TPixel >
double CSFLSSegmentor3D< TPixel >::m_dx [protected]

Definition at line 129 of file SFLSSegmentor3D.h.

template<typename TPixel >
double CSFLSSegmentor3D< TPixel >::m_dy [protected]

Definition at line 130 of file SFLSSegmentor3D.h.

template<typename TPixel >
double CSFLSSegmentor3D< TPixel >::m_dz [protected]

Definition at line 131 of file SFLSSegmentor3D.h.

template<typename TPixel >
std::vector<double> CSFLSSegmentor3D< TPixel >::m_force

Definition at line 115 of file SFLSSegmentor3D.h.

template<typename TPixel >
double CSFLSSegmentor3D< TPixel >::m_insideVolume [protected]

Definition at line 134 of file SFLSSegmentor3D.h.

template<typename TPixel >
long CSFLSSegmentor3D< TPixel >::m_insideVoxelCount [protected]

Definition at line 133 of file SFLSSegmentor3D.h.

template<typename TPixel >
bool CSFLSSegmentor3D< TPixel >::m_keepZeroLayerHistory [protected]

Definition at line 155 of file SFLSSegmentor3D.h.

template<typename TPixel >
CSFLSLayer CSFLSSegmentor3D< TPixel >::m_lIn2out [protected]

Definition at line 145 of file SFLSSegmentor3D.h.

template<typename TPixel >
CSFLSLayer CSFLSSegmentor3D< TPixel >::m_lOut2in [protected]

Definition at line 146 of file SFLSSegmentor3D.h.

template<typename TPixel >
double CSFLSSegmentor3D< TPixel >::m_maxRunningTime [protected]

Definition at line 137 of file SFLSSegmentor3D.h.

template<typename TPixel >
double CSFLSSegmentor3D< TPixel >::m_maxVolume [protected]

Definition at line 136 of file SFLSSegmentor3D.h.

template<typename TPixel >
unsigned long CSFLSSegmentor3D< TPixel >::m_numIter

Definition at line 119 of file SFLSSegmentor3D.h.

template<typename TPixel >
long CSFLSSegmentor3D< TPixel >::m_nx [protected]

Definition at line 125 of file SFLSSegmentor3D.h.

template<typename TPixel >
long CSFLSSegmentor3D< TPixel >::m_ny [protected]

Definition at line 126 of file SFLSSegmentor3D.h.

template<typename TPixel >
long CSFLSSegmentor3D< TPixel >::m_nz [protected]

Definition at line 127 of file SFLSSegmentor3D.h.

template<typename TPixel >
double CSFLSSegmentor3D< TPixel >::m_timeStep

Definition at line 117 of file SFLSSegmentor3D.h.

template<typename TPixel >
std::vector<CSFLSLayer> CSFLSSegmentor3D< TPixel >::m_zeroLayerHistory [protected]

Definition at line 156 of file SFLSSegmentor3D.h.

template<typename TPixel >
ImageType::Pointer CSFLSSegmentor3D< TPixel >::mp_img

Definition at line 109 of file SFLSSegmentor3D.h.

template<typename TPixel >
LabelImageType::Pointer CSFLSSegmentor3D< TPixel >::mp_label

Definition at line 110 of file SFLSSegmentor3D.h.

template<typename TPixel >
MaskImageType::Pointer CSFLSSegmentor3D< TPixel >::mp_mask

Definition at line 111 of file SFLSSegmentor3D.h.

template<typename TPixel >
LSImageType::Pointer CSFLSSegmentor3D< TPixel >::mp_phi

Definition at line 112 of file SFLSSegmentor3D.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines