ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage > Class Template Reference

Base class for statistical shape model estimation. More...

#include <itkImageShapeModelEstimatorBase.h>

Inheritance diagram for itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >:
Collaboration diagram for itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef
ImageShapeModelEstimatorBase 
Self
typedef ImageToImageFilter
< TInputImage, TOutputImage > 
Superclass

Public Member Functions

virtual const char * GetNameOfClass () const

Protected Member Functions

virtual void GenerateData ()

Private Member Functions

virtual void EstimateShapeModels ()=0
 ImageShapeModelEstimatorBase (const Self &)
void operator= (const Self &)

Private Attributes

InputImagePointer m_InputImage
typedef TInputImage InputImageType
typedef TInputImage::Pointer InputImagePointer
 ImageShapeModelEstimatorBase ()
 ~ImageShapeModelEstimatorBase ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

template<class TInputImage, class TOutputImage = Image< double, ::itk::GetImageDimension< TInputImage >::ImageDimension >>
class itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >

Base class for statistical shape model estimation.

itkImageShapeModelEstimatorBase is the base class for the ImageShapeModelEstimator objects. It provides the basic function definitions that are inherent to a ImageShapeModelEstimator objects.

This is the SuperClass for the ImageShapeModelEstimator framework. This is an abstract class defining an interface for all such objects available through the ImageShapeModelEstimator framework in the ITK toolkit.

The basic functionality of the ImageShapeModelEstimator framework base class is to generate the ShapeModels. It requires input image to be provided by the user. EstimateShapeModels() is a pure virtual function making this an abstract class. Classes deriving from this class are required to implement the EstimateShapeModels function.

Definition at line 49 of file itkImageShapeModelEstimatorBase.h.


Member Typedef Documentation

template<class TInputImage , class TOutputImage = Image< double, ::itk::GetImageDimension< TInputImage >::ImageDimension >>
typedef SmartPointer< const Self > itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >::ConstPointer
template<class TInputImage , class TOutputImage = Image< double, ::itk::GetImageDimension< TInputImage >::ImageDimension >>
typedef TInputImage::Pointer itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >::InputImagePointer

Type definitions for the training image.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >.

Definition at line 64 of file itkImageShapeModelEstimatorBase.h.

template<class TInputImage , class TOutputImage = Image< double, ::itk::GetImageDimension< TInputImage >::ImageDimension >>
typedef TInputImage itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >::InputImageType

Type definitions for the training image.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >.

Definition at line 60 of file itkImageShapeModelEstimatorBase.h.

template<class TInputImage , class TOutputImage = Image< double, ::itk::GetImageDimension< TInputImage >::ImageDimension >>
typedef SmartPointer< Self > itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >::Pointer
template<class TInputImage , class TOutputImage = Image< double, ::itk::GetImageDimension< TInputImage >::ImageDimension >>
typedef ImageShapeModelEstimatorBase itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >::Self
template<class TInputImage , class TOutputImage = Image< double, ::itk::GetImageDimension< TInputImage >::ImageDimension >>
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >::Superclass

Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage = Image< double, ::itk::GetImageDimension< TInputImage >::ImageDimension >>
itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >::ImageShapeModelEstimatorBase ( ) [protected]

Type definitions for the training image.

template<class TInputImage , class TOutputImage = Image< double, ::itk::GetImageDimension< TInputImage >::ImageDimension >>
itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >::~ImageShapeModelEstimatorBase ( ) [protected]

Type definitions for the training image.

template<class TInputImage , class TOutputImage = Image< double, ::itk::GetImageDimension< TInputImage >::ImageDimension >>
itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >::ImageShapeModelEstimatorBase ( const Self ) [private]

Member Function Documentation

template<class TInputImage , class TOutputImage = Image< double, ::itk::GetImageDimension< TInputImage >::ImageDimension >>
virtual void itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >::EstimateShapeModels ( ) [private, pure virtual]

The core virtual function to perform ShapeModelling of the input data

Implemented in itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage = Image< double, ::itk::GetImageDimension< TInputImage >::ImageDimension >>
virtual void itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >::GenerateData ( ) [protected, virtual]

A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.

See also:
ThreadedGenerateData()

Reimplemented from itk::ImageSource< TOutputImage >.

Reimplemented in itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage = Image< double, ::itk::GetImageDimension< TInputImage >::ImageDimension >>
virtual const char* itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage = Image< double, ::itk::GetImageDimension< TInputImage >::ImageDimension >>
void itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >::operator= ( const Self ) [private]

PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage = Image< double, ::itk::GetImageDimension< TInputImage >::ImageDimension >>
void itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

Type definitions for the training image.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >.


Member Data Documentation

template<class TInputImage , class TOutputImage = Image< double, ::itk::GetImageDimension< TInputImage >::ImageDimension >>
InputImagePointer itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >::m_InputImage [private]

Container for holding the training image

Definition at line 79 of file itkImageShapeModelEstimatorBase.h.


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