ANIMA  4.0
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage > Class Template Reference

#include <animaAtlasInitializer.h>

+ Inheritance diagram for anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >:
+ Collaboration diagram for anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >:

Public Types

typedef itk::ImageRegionConstIterator< AtlasImageTypeAtlasConstIteratorType
 
typedef AtlasImageType::ConstPointer AtlasImageConstPointer
 
typedef TAtlasImage AtlasImageType
 
typedef itk::ImageRegionIterator< AtlasImageTypeAtlasIteratorType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::VariableSizeMatrix< NumericTypeDoubleVariableSizeMatrixType
 
typedef itk::ImageRegionConstIterator< InputImageTypeInputConstIteratorType
 
typedef InputImageType::ConstPointer InputImageConstPointer
 
typedef TInputImage InputImageType
 
typedef itk::ImageRegionConstIterator< MaskImageTypeMaskConstIteratorType
 
typedef MaskImageType::ConstPointer MaskImageConstPointer
 
typedef TMaskImage MaskImageType
 
typedef double NumericType
 
typedef itk::SmartPointer< SelfPointer
 
typedef AtlasInitializer Self
 
typedef itk::ProcessObject Superclass
 
- Public Types inherited from anima::ModelInitializer
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::Statistics::GaussianMembershipFunction< MeasurementVectorTypeGaussianFunctionType
 
typedef itk::VariableLengthVector< double > MeasurementVectorType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ModelInitializer Self
 
typedef itk::ProcessObject Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
TMaskImage::ConstPointer GetMask ()
 
virtual const char * GetNameOfClass () const
 
void SetAtlasImage1 (const TAtlasImage *image)
 
void SetAtlasImage2 (const TAtlasImage *image)
 
void SetAtlasImage3 (const TAtlasImage *image)
 
void SetInputImage1 (const TInputImage *image)
 
void SetInputImage2 (const TInputImage *image)
 
void SetInputImage3 (const TInputImage *image)
 
void SetMask (const TMaskImage *mask)
 
void Update () ITK_OVERRIDE
 calculate parameters of gaussians from images with the probability of the different classes [csf] [gm] [wm] More...
 
- Public Member Functions inherited from anima::ModelInitializer
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
std::vector< double > GetAlphas ()
 
std::vector< GaussianFunctionType::Pointer > GetInitialization ()
 returns a new initialization for the model More...
 
virtual bool GetVerbose ()
 
virtual void SetVerbose (bool _arg)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from anima::ModelInitializer
static Pointer New ()
 

Protected Member Functions

 AtlasInitializer (const Self &)
 
 AtlasInitializer ()
 
TAtlasImage::ConstPointer GetAtlasImage1 ()
 
TAtlasImage::ConstPointer GetAtlasImage2 ()
 
TAtlasImage::ConstPointer GetAtlasImage3 ()
 
TInputImage::ConstPointer GetInputImage1 ()
 
TInputImage::ConstPointer GetInputImage2 ()
 
TInputImage::ConstPointer GetInputImage3 ()
 
void operator= (const Self &)
 
virtual ~AtlasInitializer ()
 
- Protected Member Functions inherited from anima::ModelInitializer
 ModelInitializer (const Self &)
 
 ModelInitializer ()
 
void operator= (const Self &)
 
virtual ~ModelInitializer ()
 

Protected Attributes

std::vector< AtlasImageConstPointerm_AtlasVector
 
std::vector< InputImageConstPointerm_ImagesVector
 
unsigned int m_Modalities
 
- Protected Attributes inherited from anima::ModelInitializer
std::vector< double > m_Alphas
 
std::vector< GaussianFunctionType::Pointer > m_GaussianModel
 
bool m_Verbose
 

Detailed Description

template<typename TInputImage, typename TMaskImage, typename TAtlasImage = TInputImage>
class anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >

Class initializing 3 gaussian distributions from an atlas

Definition at line 14 of file animaAtlasInitializer.h.

Member Typedef Documentation

◆ AtlasConstIteratorType

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
typedef itk::ImageRegionConstIterator< AtlasImageType > anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::AtlasConstIteratorType

Definition at line 45 of file animaAtlasInitializer.h.

◆ AtlasImageConstPointer

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
typedef AtlasImageType::ConstPointer anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::AtlasImageConstPointer

Definition at line 43 of file animaAtlasInitializer.h.

◆ AtlasImageType

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
typedef TAtlasImage anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::AtlasImageType

Type of the mask image.

Definition at line 42 of file animaAtlasInitializer.h.

◆ AtlasIteratorType

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
typedef itk::ImageRegionIterator< AtlasImageType > anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::AtlasIteratorType

Definition at line 44 of file animaAtlasInitializer.h.

◆ ConstPointer

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
typedef itk::SmartPointer<const Self> anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::ConstPointer

Definition at line 22 of file animaAtlasInitializer.h.

◆ DoubleVariableSizeMatrixType

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
typedef itk::VariableSizeMatrix<NumericType> anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::DoubleVariableSizeMatrixType

Definition at line 48 of file animaAtlasInitializer.h.

◆ InputConstIteratorType

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
typedef itk::ImageRegionConstIterator< InputImageType > anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::InputConstIteratorType

Definition at line 33 of file animaAtlasInitializer.h.

◆ InputImageConstPointer

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
typedef InputImageType::ConstPointer anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::InputImageConstPointer

Definition at line 32 of file animaAtlasInitializer.h.

◆ InputImageType

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
typedef TInputImage anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::InputImageType

Type of the input image.

Definition at line 28 of file animaAtlasInitializer.h.

◆ MaskConstIteratorType

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
typedef itk::ImageRegionConstIterator< MaskImageType > anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::MaskConstIteratorType

Definition at line 38 of file animaAtlasInitializer.h.

◆ MaskImageConstPointer

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
typedef MaskImageType::ConstPointer anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::MaskImageConstPointer

Definition at line 37 of file animaAtlasInitializer.h.

◆ MaskImageType

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
typedef TMaskImage anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::MaskImageType

Type of the mask image.

Definition at line 36 of file animaAtlasInitializer.h.

◆ NumericType

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
typedef double anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::NumericType

Definition at line 47 of file animaAtlasInitializer.h.

◆ Pointer

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
typedef itk::SmartPointer<Self> anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::Pointer

Definition at line 21 of file animaAtlasInitializer.h.

◆ Self

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
typedef AtlasInitializer anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::Self

Standard class typedefs.

Definition at line 19 of file animaAtlasInitializer.h.

◆ Superclass

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
typedef itk::ProcessObject anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::Superclass

Definition at line 20 of file animaAtlasInitializer.h.

Constructor & Destructor Documentation

◆ AtlasInitializer() [1/2]

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::AtlasInitializer ( const Self )
protected

◆ AtlasInitializer() [2/2]

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::AtlasInitializer ( )
inlineprotected

◆ ~AtlasInitializer()

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
virtual anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::~AtlasInitializer ( )
inlineprotectedvirtual

Definition at line 90 of file animaAtlasInitializer.h.

Member Function Documentation

◆ CreateAnother()

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
virtual::itk::LightObject::Pointer anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::CreateAnother ( void  ) const

◆ GetAtlasImage1()

template<typename TInputImage , typename TMaskImage , typename TAtlasImage >
TAtlasImage::ConstPointer anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::GetAtlasImage1 ( )
protected

Definition at line 84 of file animaAtlasInitializer.hxx.

◆ GetAtlasImage2()

template<typename TInputImage , typename TMaskImage , typename TAtlasImage >
TAtlasImage::ConstPointer anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::GetAtlasImage2 ( )
protected

Definition at line 91 of file animaAtlasInitializer.hxx.

◆ GetAtlasImage3()

template<typename TInputImage , typename TMaskImage , typename TAtlasImage >
TAtlasImage::ConstPointer anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::GetAtlasImage3 ( )
protected

Definition at line 98 of file animaAtlasInitializer.hxx.

◆ GetInputImage1()

template<typename TInputImage , typename TMaskImage , typename TAtlasImage >
TInputImage::ConstPointer anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::GetInputImage1 ( )
protected

Definition at line 63 of file animaAtlasInitializer.hxx.

◆ GetInputImage2()

template<typename TInputImage , typename TMaskImage , typename TAtlasImage >
TInputImage::ConstPointer anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::GetInputImage2 ( )
protected

Definition at line 70 of file animaAtlasInitializer.hxx.

◆ GetInputImage3()

template<typename TInputImage , typename TMaskImage , typename TAtlasImage >
TInputImage::ConstPointer anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::GetInputImage3 ( )
protected

Definition at line 77 of file animaAtlasInitializer.hxx.

◆ GetMask()

template<typename TInputImage , typename TMaskImage , typename TAtlasImage >
TMaskImage::ConstPointer anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::GetMask ( )

Definition at line 56 of file animaAtlasInitializer.hxx.

◆ GetNameOfClass()

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
virtual const char* anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from anima::ModelInitializer.

◆ New()

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
static Pointer anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
void anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::operator= ( const Self )
protected

◆ SetAtlasImage1()

template<typename TInputImage , typename TMaskImage , typename TAtlasImage >
void anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::SetAtlasImage1 ( const TAtlasImage *  image)

The atlas images.

Definition at line 34 of file animaAtlasInitializer.hxx.

◆ SetAtlasImage2()

template<typename TInputImage , typename TMaskImage , typename TAtlasImage >
void anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::SetAtlasImage2 ( const TAtlasImage *  image)

Definition at line 41 of file animaAtlasInitializer.hxx.

◆ SetAtlasImage3()

template<typename TInputImage , typename TMaskImage , typename TAtlasImage >
void anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::SetAtlasImage3 ( const TAtlasImage *  image)

Definition at line 48 of file animaAtlasInitializer.hxx.

◆ SetInputImage1()

template<typename TInputImage , typename TMaskImage , typename TAtlasImage >
void anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::SetInputImage1 ( const TInputImage *  image)

The mri images.

Definition at line 13 of file animaAtlasInitializer.hxx.

◆ SetInputImage2()

template<typename TInputImage , typename TMaskImage , typename TAtlasImage >
void anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::SetInputImage2 ( const TInputImage *  image)

Definition at line 20 of file animaAtlasInitializer.hxx.

◆ SetInputImage3()

template<typename TInputImage , typename TMaskImage , typename TAtlasImage >
void anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::SetInputImage3 ( const TInputImage *  image)

Definition at line 27 of file animaAtlasInitializer.hxx.

◆ SetMask()

template<typename TInputImage , typename TMaskImage , typename TAtlasImage >
void anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::SetMask ( const TMaskImage *  mask)

mask in which the segmentation will be performed

Definition at line 7 of file animaAtlasInitializer.hxx.

◆ Update()

template<typename TInputImage , typename TMaskImage , typename TAtlasImage >
void anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::Update ( )

calculate parameters of gaussians from images with the probability of the different classes [csf] [gm] [wm]

Definition at line 107 of file animaAtlasInitializer.hxx.

Member Data Documentation

◆ m_AtlasVector

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
std::vector<AtlasImageConstPointer > anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::m_AtlasVector
protected

Definition at line 93 of file animaAtlasInitializer.h.

◆ m_ImagesVector

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
std::vector<InputImageConstPointer > anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::m_ImagesVector
protected

Definition at line 92 of file animaAtlasInitializer.h.

◆ m_Modalities

template<typename TInputImage , typename TMaskImage , typename TAtlasImage = TInputImage>
unsigned int anima::AtlasInitializer< TInputImage, TMaskImage, TAtlasImage >::m_Modalities
protected

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