ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes
itk::StatisticsLabelMapFilter< TImage, TFeatureImage > Class Template Reference

The valuator class for the ShapeLabelObject. More...

#include <itkStatisticsLabelMapFilter.h>

Inheritance diagram for itk::StatisticsLabelMapFilter< TImage, TFeatureImage >:
Collaboration diagram for itk::StatisticsLabelMapFilter< TImage, TFeatureImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
FeatureImageType::ConstPointer 
FeatureImageConstPointer
typedef FeatureImageType::PixelType FeatureImagePixelType
typedef FeatureImageType::Pointer FeatureImagePointer
typedef TFeatureImage FeatureImageType
typedef ImageType::ConstPointer ImageConstPointer
typedef ImageType::Pointer ImagePointer
typedef TImage ImageType
typedef ImageType::IndexType IndexType
typedef ImageType::LabelObjectType LabelObjectType
typedef LabelObjectType::MatrixType MatrixType
typedef ImageType::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef ImageType::PointType PointType
typedef StatisticsLabelMapFilter Self
typedef ShapeLabelMapFilter
< TImage > 
Superclass
typedef LabelObjectType::VectorType VectorType

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
FeatureImageTypeGetFeatureImage ()
virtual const char * GetNameOfClass () const
void SetFeatureImage (const TFeatureImage *input)
void SetInput1 (TImage *input)
void SetInput2 (const TFeatureImage *input)
virtual void SetComputeHistogram (bool _arg)
virtual const bool & GetComputeHistogram ()
virtual void ComputeHistogramOn ()
virtual void ComputeHistogramOff ()

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int ImageDimension = TImage::ImageDimension

Protected Member Functions

virtual void BeforeThreadedGenerateData ()
void PrintSelf (std::ostream &os, Indent indent) const
virtual void ThreadedProcessLabelObject (LabelObjectType *labelObject)

Private Member Functions

void operator= (const Self &)
 StatisticsLabelMapFilter (const Self &)

Private Attributes

bool m_ComputeHistogram
FeatureImagePixelType m_Maximum
FeatureImagePixelType m_Minimum
unsigned int m_NumberOfBins
virtual void SetNumberOfBins (unsigned int _arg)
virtual const unsigned int & GetNumberOfBins ()
 StatisticsLabelMapFilter ()
 ~StatisticsLabelMapFilter ()

Detailed Description

template<class TImage, class TFeatureImage>
class itk::StatisticsLabelMapFilter< TImage, TFeatureImage >

The valuator class for the ShapeLabelObject.

StatisticsCollectionImageFilter can be used to set the attributes values of the StatisticsLabelObject in a LabelMap.

Author:
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France.

This implementation was taken from the Insight Journal paper: http://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176

Definition at line 41 of file itkStatisticsLabelMapFilter.h.


Member Typedef Documentation

template<class TImage , class TFeatureImage >
typedef SmartPointer< const Self > itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::ConstPointer
template<class TImage , class TFeatureImage >
typedef FeatureImageType::ConstPointer itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::FeatureImageConstPointer

Definition at line 65 of file itkStatisticsLabelMapFilter.h.

template<class TImage , class TFeatureImage >
typedef FeatureImageType::PixelType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::FeatureImagePixelType

Definition at line 66 of file itkStatisticsLabelMapFilter.h.

template<class TImage , class TFeatureImage >
typedef FeatureImageType::Pointer itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::FeatureImagePointer

Definition at line 64 of file itkStatisticsLabelMapFilter.h.

template<class TImage , class TFeatureImage >
typedef TFeatureImage itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::FeatureImageType

Definition at line 63 of file itkStatisticsLabelMapFilter.h.

template<class TImage , class TFeatureImage >
typedef ImageType::ConstPointer itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::ImageConstPointer
template<class TImage , class TFeatureImage >
typedef ImageType::Pointer itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::ImagePointer
template<class TImage , class TFeatureImage >
typedef TImage itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::ImageType
template<class TImage , class TFeatureImage >
typedef ImageType::IndexType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::IndexType
template<class TImage , class TFeatureImage >
typedef ImageType::LabelObjectType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::LabelObjectType
template<class TImage , class TFeatureImage >
typedef LabelObjectType::MatrixType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::MatrixType
template<class TImage , class TFeatureImage >
typedef ImageType::PixelType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::PixelType
template<class TImage , class TFeatureImage >
typedef SmartPointer< Self > itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::Pointer
template<class TImage , class TFeatureImage >
typedef ImageType::PointType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::PointType

Definition at line 58 of file itkStatisticsLabelMapFilter.h.

template<class TImage , class TFeatureImage >
typedef StatisticsLabelMapFilter itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::Self
template<class TImage , class TFeatureImage >
typedef ShapeLabelMapFilter< TImage > itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::Superclass
template<class TImage , class TFeatureImage >
typedef LabelObjectType::VectorType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::VectorType

Constructor & Destructor Documentation

template<class TImage , class TFeatureImage >
itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::StatisticsLabelMapFilter ( ) [protected]

Set/Get the number of bins in the histogram. Note that the histogram is used to compute the median value, and that this option may have an effect on the value of the median.

template<class TImage , class TFeatureImage >
itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::~StatisticsLabelMapFilter ( ) [inline, protected]

Set/Get the number of bins in the histogram. Note that the histogram is used to compute the median value, and that this option may have an effect on the value of the median.

Definition at line 136 of file itkStatisticsLabelMapFilter.h.

template<class TImage , class TFeatureImage >
itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::StatisticsLabelMapFilter ( const Self ) [private]

Member Function Documentation

template<class TImage , class TFeatureImage >
virtual void itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::BeforeThreadedGenerateData ( void  ) [protected, virtual]

If an imaging filter needs to perform processing after the buffer has been allocated but before threads are spawned, the filter can can provide an implementation for BeforeThreadedGenerateData(). The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.

Reimplemented from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType,::itk::GetImageDimension< TImage >::ImageDimension > >.

template<class TImage , class TFeatureImage >
virtual void itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::ComputeHistogramOff ( ) [virtual]

Set/Get whether the histogram should be attached to the label object or not. This option defaults to `true`, but because the histogram may take a lot of memory compared to the other attributes, this option is useful to reduce the memory usage when the histogram is not required.

template<class TImage , class TFeatureImage >
virtual void itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::ComputeHistogramOn ( ) [virtual]

Set/Get whether the histogram should be attached to the label object or not. This option defaults to `true`, but because the histogram may take a lot of memory compared to the other attributes, this option is useful to reduce the memory usage when the histogram is not required.

template<class TImage , class TFeatureImage >
virtual::itk::LightObject::Pointer itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::CreateAnother ( void  ) const [virtual]

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType,::itk::GetImageDimension< TImage >::ImageDimension > >.

template<class TImage , class TFeatureImage >
virtual const bool& itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::GetComputeHistogram ( ) [virtual]

Set/Get whether the histogram should be attached to the label object or not. This option defaults to `true`, but because the histogram may take a lot of memory compared to the other attributes, this option is useful to reduce the memory usage when the histogram is not required.

template<class TImage , class TFeatureImage >
FeatureImageType* itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::GetFeatureImage ( ) [inline]

Get the feature image

Definition at line 99 of file itkStatisticsLabelMapFilter.h.

References itk::ProcessObject::GetInput().

template<class TImage , class TFeatureImage >
virtual const char* itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::GetNameOfClass ( ) const [virtual]
template<class TImage , class TFeatureImage >
virtual const unsigned int& itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::GetNumberOfBins ( ) [virtual]

Set/Get the number of bins in the histogram. Note that the histogram is used to compute the median value, and that this option may have an effect on the value of the median.

template<class TImage , class TFeatureImage >
static Pointer itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::New ( ) [static]
template<class TImage , class TFeatureImage >
void itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::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::ShapeLabelMapFilter< TImage, Image< TImage::PixelType,::itk::GetImageDimension< TImage >::ImageDimension > >.

template<class TImage , class TFeatureImage >
void itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType,::itk::GetImageDimension< TImage >::ImageDimension > >.

template<class TImage , class TFeatureImage >
virtual void itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::SetComputeHistogram ( bool  _arg) [virtual]

Set/Get whether the histogram should be attached to the label object or not. This option defaults to `true`, but because the histogram may take a lot of memory compared to the other attributes, this option is useful to reduce the memory usage when the histogram is not required.

template<class TImage , class TFeatureImage >
void itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::SetFeatureImage ( const TFeatureImage *  input) [inline]

Begin concept checking End concept checking Set the feature image

Definition at line 92 of file itkStatisticsLabelMapFilter.h.

template<class TImage , class TFeatureImage >
void itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::SetInput1 ( TImage *  input) [inline]

Set the input image

Definition at line 105 of file itkStatisticsLabelMapFilter.h.

template<class TImage , class TFeatureImage >
void itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::SetInput2 ( const TFeatureImage *  input) [inline]

Set the feature image

Definition at line 111 of file itkStatisticsLabelMapFilter.h.

template<class TImage , class TFeatureImage >
virtual void itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::SetNumberOfBins ( unsigned int  _arg) [virtual]

Set/Get the number of bins in the histogram. Note that the histogram is used to compute the median value, and that this option may have an effect on the value of the median.

template<class TImage , class TFeatureImage >
virtual void itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::ThreadedProcessLabelObject ( LabelObjectType labelObject) [protected, virtual]

Member Data Documentation

template<class TImage , class TFeatureImage >
const unsigned int itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::ImageDimension = TImage::ImageDimension [static]
template<class TImage , class TFeatureImage >
bool itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::m_ComputeHistogram [private]

Definition at line 152 of file itkStatisticsLabelMapFilter.h.

template<class TImage , class TFeatureImage >
FeatureImagePixelType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::m_Maximum [private]

Definition at line 150 of file itkStatisticsLabelMapFilter.h.

template<class TImage , class TFeatureImage >
FeatureImagePixelType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::m_Minimum [private]

Definition at line 149 of file itkStatisticsLabelMapFilter.h.

template<class TImage , class TFeatureImage >
unsigned int itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::m_NumberOfBins [private]

Definition at line 151 of file itkStatisticsLabelMapFilter.h.


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