Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
CSFLSSegmentor3D< TPixel > Class Template Referenceabstract

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

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

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 TShortImage ShortImageType
 
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 itk::Image< short, 3 > TShortImage
 
typedef TImage::SizeType TSize
 
typedef itk::Image< unsigned char, 3 > TUCharImage
 
- Public Types inherited from CSFLS
typedef std::list< NodeTypeCSFLSLayer
 
typedef vnl_vector_fixed< int, 3 > NodeType
 
typedef CSFLS Self
 

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)
 
CSFLSLayer 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 ()=default
 
- Public Member Functions inherited from CSFLS
 CSFLS ()
 

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
 
- Public Attributes inherited from CSFLS
CSFLSLayer m_ln1
 
CSFLSLayer m_ln2
 
CSFLSLayer m_lp1
 
CSFLSLayer m_lp2
 
CSFLSLayer m_lz
 

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

◆ CSFLSLayer

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

Definition at line 24 of file SFLSSegmentor3D.h.

◆ ImageType

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

Definition at line 34 of file SFLSSegmentor3D.h.

◆ LabelImageType

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

Definition at line 36 of file SFLSSegmentor3D.h.

◆ LSImageType

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

Definition at line 35 of file SFLSSegmentor3D.h.

◆ MaskImageType

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

Definition at line 37 of file SFLSSegmentor3D.h.

◆ NodeType

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

Definition at line 23 of file SFLSSegmentor3D.h.

◆ Self

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

Definition at line 19 of file SFLSSegmentor3D.h.

◆ ShortImageType

template<typename TPixel >
typedef TShortImage CSFLSSegmentor3D< TPixel >::ShortImageType

Definition at line 38 of file SFLSSegmentor3D.h.

◆ SuperClassType

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

Definition at line 21 of file SFLSSegmentor3D.h.

◆ TCharImage

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

Definition at line 30 of file SFLSSegmentor3D.h.

◆ TDoubleImage

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

Definition at line 29 of file SFLSSegmentor3D.h.

◆ TFloatImage

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

Definition at line 28 of file SFLSSegmentor3D.h.

◆ TImage

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

Definition at line 27 of file SFLSSegmentor3D.h.

◆ TIndex

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

Definition at line 40 of file SFLSSegmentor3D.h.

◆ TRegion

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

Definition at line 42 of file SFLSSegmentor3D.h.

◆ TShortImage

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

Definition at line 32 of file SFLSSegmentor3D.h.

◆ TSize

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

Definition at line 41 of file SFLSSegmentor3D.h.

◆ TUCharImage

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

Definition at line 31 of file SFLSSegmentor3D.h.

Constructor & Destructor Documentation

◆ CSFLSSegmentor3D()

template<typename TPixel >
CSFLSSegmentor3D< TPixel >::CSFLSSegmentor3D ( )

◆ ~CSFLSSegmentor3D()

template<typename TPixel >
virtual CSFLSSegmentor3D< TPixel >::~CSFLSSegmentor3D ( )
virtualdefault

Member Function Documentation

◆ basicInit()

template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::basicInit ( )

◆ computeForce()

template<typename TPixel >
virtual void CSFLSSegmentor3D< TPixel >::computeForce ( )
pure virtual

◆ computeKappa()

template<typename TPixel >
double CSFLSSegmentor3D< TPixel >::computeKappa ( long  ix,
long  iy,
long  iz 
)

◆ doSegmenation()

template<typename TPixel >
virtual void CSFLSSegmentor3D< TPixel >::doSegmenation ( )
pure virtual

◆ doubleEqual()

template<typename TPixel >
bool CSFLSSegmentor3D< TPixel >::doubleEqual ( double  a,
double  b,
double  eps = 1e-10 
)
inlineprotected

Definition at line 150 of file SFLSSegmentor3D.h.

◆ getLevelSetFunction()

template<typename TPixel >
LSImageType::Pointer CSFLSSegmentor3D< TPixel >::getLevelSetFunction ( )

◆ getPhiOfTheNbhdWhoIsClosestToZeroLevelInLayerCloserToZeroLevel()

template<typename TPixel >
bool CSFLSSegmentor3D< TPixel >::getPhiOfTheNbhdWhoIsClosestToZeroLevelInLayerCloserToZeroLevel ( long  ix,
long  iy,
long  iz,
double &  thePhi 
)

◆ getZeroLayerAtIteration()

template<typename TPixel >
CSFLSLayer CSFLSSegmentor3D< TPixel >::getZeroLayerAtIteration ( unsigned long  i)

◆ initializeLabel()

template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::initializeLabel ( )

◆ initializePhi()

template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::initializePhi ( )

◆ initializeSFLS()

template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::initializeSFLS ( )
inline

Definition at line 71 of file SFLSSegmentor3D.h.

◆ initializeSFLSFromMask()

template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::initializeSFLSFromMask ( )

◆ keepZeroLayerHistory()

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

Definition at line 91 of file SFLSSegmentor3D.h.

◆ normalizeForce()

template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::normalizeForce ( )

◆ oneStepLevelSetEvolution()

template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::oneStepLevelSetEvolution ( )

◆ setCurvatureWeight()

template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::setCurvatureWeight ( double  a)

◆ setImage()

template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::setImage ( typename ImageType::Pointer  img)

◆ setMask()

template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::setMask ( typename MaskImageType::Pointer  mask)

◆ setMaxRunningTime()

template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::setMaxRunningTime ( double  t)

◆ setMaxVolume()

template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::setMaxVolume ( double  v)

◆ setNumIter()

template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::setNumIter ( unsigned long  n)

◆ updateInsideVoxelCount()

template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::updateInsideVoxelCount ( )
protected

◆ writeZeroLayerAtIterationToFile()

template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::writeZeroLayerAtIterationToFile ( unsigned long  i,
const char *  name 
)

◆ writeZeroLayerToFile()

template<typename TPixel >
void CSFLSSegmentor3D< TPixel >::writeZeroLayerToFile ( const char *  namePrefix)

Member Data Documentation

◆ m_curvatureWeight

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

Definition at line 121 of file SFLSSegmentor3D.h.

◆ m_done

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

Definition at line 123 of file SFLSSegmentor3D.h.

◆ m_dx

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

Definition at line 129 of file SFLSSegmentor3D.h.

◆ m_dy

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

Definition at line 130 of file SFLSSegmentor3D.h.

◆ m_dz

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

Definition at line 131 of file SFLSSegmentor3D.h.

◆ m_force

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

Definition at line 115 of file SFLSSegmentor3D.h.

◆ m_insideVolume

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

Definition at line 134 of file SFLSSegmentor3D.h.

◆ m_insideVoxelCount

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

Definition at line 133 of file SFLSSegmentor3D.h.

◆ m_keepZeroLayerHistory

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

Definition at line 155 of file SFLSSegmentor3D.h.

◆ m_lIn2out

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

Definition at line 145 of file SFLSSegmentor3D.h.

◆ m_lOut2in

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

Definition at line 146 of file SFLSSegmentor3D.h.

◆ m_maxRunningTime

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

Definition at line 137 of file SFLSSegmentor3D.h.

◆ m_maxVolume

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

Definition at line 136 of file SFLSSegmentor3D.h.

◆ m_numIter

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

Definition at line 119 of file SFLSSegmentor3D.h.

◆ m_nx

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

Definition at line 125 of file SFLSSegmentor3D.h.

◆ m_ny

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

Definition at line 126 of file SFLSSegmentor3D.h.

◆ m_nz

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

Definition at line 127 of file SFLSSegmentor3D.h.

◆ m_timeStep

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

Definition at line 117 of file SFLSSegmentor3D.h.

◆ m_zeroLayerHistory

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

Definition at line 156 of file SFLSSegmentor3D.h.

◆ mp_img

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

Definition at line 109 of file SFLSSegmentor3D.h.

◆ mp_label

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

Definition at line 110 of file SFLSSegmentor3D.h.

◆ mp_mask

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

Definition at line 111 of file SFLSSegmentor3D.h.

◆ mp_phi

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: