Slicer  5.1
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 | Protected Member Functions | Protected Attributes | Static Protected Attributes
CSFLSRobustStatSegmentor3DLabelMap< TPixel > Class Template Reference

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

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

Public Types

typedef SuperClassType::CSFLSLayer CSFLSLayer
 
typedef SuperClassType::NodeType NodeType
 
typedef CSFLSRobustStatSegmentor3DLabelMap< TPixel > Self
 
typedef CSFLSSegmentor3D< TPixel > SuperClassType
 
typedef SuperClassType::TFloatImage TFloatImage
 
typedef TFloatImage::Pointer TFloatImagePointer
 
typedef SuperClassType::TIndex TIndex
 
typedef SuperClassType::TShortImage TLabelImage
 
typedef TLabelImage::Pointer TLabelImagePointer
 
typedef SuperClassType::MaskImageType TMaskImage
 
typedef SuperClassType::TRegion TRegion
 
typedef SuperClassType::TSize TSize
 
- Public Types inherited from CSFLSSegmentor3D< TPixel >
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 ()
 
void computeForce () override
 
 CSFLSRobustStatSegmentor3DLabelMap ()
 
void doSegmenation () override
 
void setInputLabelImage (TLabelImagePointer l)
 
void setIntensityHomogeneity (double h)
 
void setKernelWidthFactor (double f)
 
- Public Member Functions inherited from CSFLSSegmentor3D< TPixel >
void basicInit ()
 
double computeKappa (long ix, long iy, long iz)
 
 CSFLSSegmentor3D ()
 
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 ()
 

Protected Member Functions

void computeFeatureAt (TIndex idx, std::vector< double > &f)
 
void computeMinMax ()
 
void dialteSeeds ()
 
void estimateFeatureStdDevs ()
 
void estimatePDFs ()
 
void getFeatureAroundSeeds ()
 
void getRobustStatistics (std::vector< double > &samples, std::vector< double > &robustStat)
 
void getThingsReady ()
 
void initFeatureComputedImage ()
 
void initFeatureImage ()
 
void inputLableImageToSeeds ()
 
double kernelEvaluation (const std::vector< double > &newFeature)
 
double kernelEvaluationUsingPDF (const std::vector< double > &newFeature)
 
void seedToMask ()
 
- Protected Member Functions inherited from CSFLSSegmentor3D< TPixel >
bool doubleEqual (double a, double b, double eps=1e-10)
 
void updateInsideVoxelCount ()
 

Protected Attributes

std::vector< std::vector< double > > m_featureAtTheSeeds
 
TLabelImagePointer m_featureComputed
 
std::vector< TFloatImagePointerm_featureImageList
 
TPixel m_inputImageIntensityMax
 
TPixel m_inputImageIntensityMin
 
TLabelImagePointer m_inputLabelImage
 
std::vector< double > m_kernelStddev
 
double m_kernelWidthFactor
 
std::vector< std::vector< double > > m_PDFlearnedFromSeeds
 
std::vector< std::vector< long > > m_seeds
 
long m_statNeighborX
 
long m_statNeighborY
 
long m_statNeighborZ
 
- Protected Attributes inherited from CSFLSSegmentor3D< TPixel >
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
 

Static Protected Attributes

static const long m_numberOfFeature = 3
 

Additional Inherited Members

- Public Attributes inherited from CSFLSSegmentor3D< TPixel >
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
 

Detailed Description

template<typename TPixel>
class CSFLSRobustStatSegmentor3DLabelMap< TPixel >

Definition at line 12 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

Member Typedef Documentation

◆ CSFLSLayer

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

Definition at line 23 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ NodeType

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

Definition at line 22 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ Self

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

Definition at line 19 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ SuperClassType

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

Definition at line 17 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ TFloatImage

template<typename TPixel >
typedef SuperClassType::TFloatImage CSFLSRobustStatSegmentor3DLabelMap< TPixel >::TFloatImage

Definition at line 46 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ TFloatImagePointer

template<typename TPixel >
typedef TFloatImage::Pointer CSFLSRobustStatSegmentor3DLabelMap< TPixel >::TFloatImagePointer

Definition at line 47 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ TIndex

template<typename TPixel >
typedef SuperClassType::TIndex CSFLSRobustStatSegmentor3DLabelMap< TPixel >::TIndex

Definition at line 54 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ TLabelImage

template<typename TPixel >
typedef SuperClassType::TShortImage CSFLSRobustStatSegmentor3DLabelMap< TPixel >::TLabelImage

Definition at line 43 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ TLabelImagePointer

template<typename TPixel >
typedef TLabelImage::Pointer CSFLSRobustStatSegmentor3DLabelMap< TPixel >::TLabelImagePointer

Definition at line 44 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ TMaskImage

template<typename TPixel >
typedef SuperClassType::MaskImageType CSFLSRobustStatSegmentor3DLabelMap< TPixel >::TMaskImage

Definition at line 52 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ TRegion

template<typename TPixel >
typedef SuperClassType::TRegion CSFLSRobustStatSegmentor3DLabelMap< TPixel >::TRegion

Definition at line 56 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ TSize

template<typename TPixel >
typedef SuperClassType::TSize CSFLSRobustStatSegmentor3DLabelMap< TPixel >::TSize

Definition at line 55 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

Constructor & Destructor Documentation

◆ CSFLSRobustStatSegmentor3DLabelMap()

template<typename TPixel >
CSFLSRobustStatSegmentor3DLabelMap< TPixel >::CSFLSRobustStatSegmentor3DLabelMap ( )
inline

Definition at line 27 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

Member Function Documentation

◆ basicInit()

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

◆ computeFeatureAt()

template<typename TPixel >
void CSFLSRobustStatSegmentor3DLabelMap< TPixel >::computeFeatureAt ( TIndex  idx,
std::vector< double > &  f 
)
protected

◆ computeForce()

template<typename TPixel >
void CSFLSRobustStatSegmentor3DLabelMap< TPixel >::computeForce ( )
overridevirtual

◆ computeMinMax()

template<typename TPixel >
void CSFLSRobustStatSegmentor3DLabelMap< TPixel >::computeMinMax ( )
protected

◆ dialteSeeds()

template<typename TPixel >
void CSFLSRobustStatSegmentor3DLabelMap< TPixel >::dialteSeeds ( )
protected

◆ doSegmenation()

template<typename TPixel >
void CSFLSRobustStatSegmentor3DLabelMap< TPixel >::doSegmenation ( )
overridevirtual

◆ estimateFeatureStdDevs()

template<typename TPixel >
void CSFLSRobustStatSegmentor3DLabelMap< TPixel >::estimateFeatureStdDevs ( )
protected

◆ estimatePDFs()

template<typename TPixel >
void CSFLSRobustStatSegmentor3DLabelMap< TPixel >::estimatePDFs ( )
protected

◆ getFeatureAroundSeeds()

template<typename TPixel >
void CSFLSRobustStatSegmentor3DLabelMap< TPixel >::getFeatureAroundSeeds ( )
protected

◆ getRobustStatistics()

template<typename TPixel >
void CSFLSRobustStatSegmentor3DLabelMap< TPixel >::getRobustStatistics ( std::vector< double > &  samples,
std::vector< double > &  robustStat 
)
protected

◆ getThingsReady()

template<typename TPixel >
void CSFLSRobustStatSegmentor3DLabelMap< TPixel >::getThingsReady ( )
protected

◆ initFeatureComputedImage()

template<typename TPixel >
void CSFLSRobustStatSegmentor3DLabelMap< TPixel >::initFeatureComputedImage ( )
protected

◆ initFeatureImage()

template<typename TPixel >
void CSFLSRobustStatSegmentor3DLabelMap< TPixel >::initFeatureImage ( )
protected

◆ inputLableImageToSeeds()

template<typename TPixel >
void CSFLSRobustStatSegmentor3DLabelMap< TPixel >::inputLableImageToSeeds ( )
protected

◆ kernelEvaluation()

template<typename TPixel >
double CSFLSRobustStatSegmentor3DLabelMap< TPixel >::kernelEvaluation ( const std::vector< double > &  newFeature)
protected

◆ kernelEvaluationUsingPDF()

template<typename TPixel >
double CSFLSRobustStatSegmentor3DLabelMap< TPixel >::kernelEvaluationUsingPDF ( const std::vector< double > &  newFeature)
protected

◆ seedToMask()

template<typename TPixel >
void CSFLSRobustStatSegmentor3DLabelMap< TPixel >::seedToMask ( )
protected

◆ setInputLabelImage()

template<typename TPixel >
void CSFLSRobustStatSegmentor3DLabelMap< TPixel >::setInputLabelImage ( TLabelImagePointer  l)

◆ setIntensityHomogeneity()

template<typename TPixel >
void CSFLSRobustStatSegmentor3DLabelMap< TPixel >::setIntensityHomogeneity ( double  h)

◆ setKernelWidthFactor()

template<typename TPixel >
void CSFLSRobustStatSegmentor3DLabelMap< TPixel >::setKernelWidthFactor ( double  f)

Member Data Documentation

◆ m_featureAtTheSeeds

template<typename TPixel >
std::vector<std::vector<double> > CSFLSRobustStatSegmentor3DLabelMap< TPixel >::m_featureAtTheSeeds
protected

Definition at line 77 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ m_featureComputed

template<typename TPixel >
TLabelImagePointer CSFLSRobustStatSegmentor3DLabelMap< TPixel >::m_featureComputed
protected

Definition at line 89 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ m_featureImageList

template<typename TPixel >
std::vector<TFloatImagePointer> CSFLSRobustStatSegmentor3DLabelMap< TPixel >::m_featureImageList
protected

Definition at line 90 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ m_inputImageIntensityMax

template<typename TPixel >
TPixel CSFLSRobustStatSegmentor3DLabelMap< TPixel >::m_inputImageIntensityMax
protected

Definition at line 115 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ m_inputImageIntensityMin

template<typename TPixel >
TPixel CSFLSRobustStatSegmentor3DLabelMap< TPixel >::m_inputImageIntensityMin
protected

Definition at line 114 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ m_inputLabelImage

template<typename TPixel >
TLabelImagePointer CSFLSRobustStatSegmentor3DLabelMap< TPixel >::m_inputLabelImage
protected

Definition at line 74 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ m_kernelStddev

template<typename TPixel >
std::vector<double> CSFLSRobustStatSegmentor3DLabelMap< TPixel >::m_kernelStddev
protected

Definition at line 126 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ m_kernelWidthFactor

template<typename TPixel >
double CSFLSRobustStatSegmentor3DLabelMap< TPixel >::m_kernelWidthFactor
protected

Definition at line 92 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ m_numberOfFeature

template<typename TPixel >
const long CSFLSRobustStatSegmentor3DLabelMap< TPixel >::m_numberOfFeature = 3
staticprotected

Definition at line 83 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ m_PDFlearnedFromSeeds

template<typename TPixel >
std::vector<std::vector<double> > CSFLSRobustStatSegmentor3DLabelMap< TPixel >::m_PDFlearnedFromSeeds
protected

Definition at line 118 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ m_seeds

template<typename TPixel >
std::vector<std::vector<long> > CSFLSRobustStatSegmentor3DLabelMap< TPixel >::m_seeds
protected

Definition at line 75 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ m_statNeighborX

template<typename TPixel >
long CSFLSRobustStatSegmentor3DLabelMap< TPixel >::m_statNeighborX
protected

Definition at line 79 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ m_statNeighborY

template<typename TPixel >
long CSFLSRobustStatSegmentor3DLabelMap< TPixel >::m_statNeighborY
protected

Definition at line 80 of file SFLSRobustStatSegmentor3DLabelMap_single.h.

◆ m_statNeighborZ

template<typename TPixel >
long CSFLSRobustStatSegmentor3DLabelMap< TPixel >::m_statNeighborZ
protected

Definition at line 81 of file SFLSRobustStatSegmentor3DLabelMap_single.h.


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