ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkStatisticsLabelMapFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
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< Self > | Pointer |
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 |
FeatureImageType * | GetFeatureImage () |
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 () |
The valuator class for the ShapeLabelObject.
StatisticsCollectionImageFilter can be used to set the attributes values of the StatisticsLabelObject in a LabelMap.
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.
typedef SmartPointer< const Self > itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::ConstPointer |
Reimplemented from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType,::itk::GetImageDimension< TImage >::ImageDimension > >.
Definition at line 50 of file itkStatisticsLabelMapFilter.h.
typedef FeatureImageType::ConstPointer itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::FeatureImageConstPointer |
Definition at line 65 of file itkStatisticsLabelMapFilter.h.
typedef FeatureImageType::PixelType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::FeatureImagePixelType |
Definition at line 66 of file itkStatisticsLabelMapFilter.h.
typedef FeatureImageType::Pointer itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::FeatureImagePointer |
Definition at line 64 of file itkStatisticsLabelMapFilter.h.
typedef TFeatureImage itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::FeatureImageType |
Definition at line 63 of file itkStatisticsLabelMapFilter.h.
typedef ImageType::ConstPointer itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::ImageConstPointer |
Reimplemented from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType,::itk::GetImageDimension< TImage >::ImageDimension > >.
Definition at line 55 of file itkStatisticsLabelMapFilter.h.
typedef ImageType::Pointer itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::ImagePointer |
Reimplemented from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType,::itk::GetImageDimension< TImage >::ImageDimension > >.
Definition at line 54 of file itkStatisticsLabelMapFilter.h.
typedef TImage itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::ImageType |
Some convenient typedefs.
Reimplemented from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType,::itk::GetImageDimension< TImage >::ImageDimension > >.
Definition at line 53 of file itkStatisticsLabelMapFilter.h.
typedef ImageType::IndexType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::IndexType |
Reimplemented from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType,::itk::GetImageDimension< TImage >::ImageDimension > >.
Definition at line 57 of file itkStatisticsLabelMapFilter.h.
typedef ImageType::LabelObjectType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::LabelObjectType |
Reimplemented from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType,::itk::GetImageDimension< TImage >::ImageDimension > >.
Definition at line 59 of file itkStatisticsLabelMapFilter.h.
typedef LabelObjectType::MatrixType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::MatrixType |
Reimplemented from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType,::itk::GetImageDimension< TImage >::ImageDimension > >.
Definition at line 60 of file itkStatisticsLabelMapFilter.h.
typedef ImageType::PixelType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::PixelType |
Reimplemented from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType,::itk::GetImageDimension< TImage >::ImageDimension > >.
Definition at line 56 of file itkStatisticsLabelMapFilter.h.
typedef SmartPointer< Self > itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::Pointer |
Reimplemented from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType,::itk::GetImageDimension< TImage >::ImageDimension > >.
Definition at line 49 of file itkStatisticsLabelMapFilter.h.
typedef ImageType::PointType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::PointType |
Definition at line 58 of file itkStatisticsLabelMapFilter.h.
typedef StatisticsLabelMapFilter itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::Self |
Standard class typedefs.
Reimplemented from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType,::itk::GetImageDimension< TImage >::ImageDimension > >.
Definition at line 47 of file itkStatisticsLabelMapFilter.h.
typedef ShapeLabelMapFilter< TImage > itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::Superclass |
Reimplemented from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType,::itk::GetImageDimension< TImage >::ImageDimension > >.
Definition at line 48 of file itkStatisticsLabelMapFilter.h.
typedef LabelObjectType::VectorType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::VectorType |
Reimplemented from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType,::itk::GetImageDimension< TImage >::ImageDimension > >.
Definition at line 61 of file itkStatisticsLabelMapFilter.h.
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.
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.
itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::StatisticsLabelMapFilter | ( | const Self & | ) | [private] |
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 > >.
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.
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.
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 > >.
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.
FeatureImageType* itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::GetFeatureImage | ( | ) | [inline] |
Get the feature image
Definition at line 99 of file itkStatisticsLabelMapFilter.h.
References itk::ProcessObject::GetInput().
virtual const char* itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType,::itk::GetImageDimension< TImage >::ImageDimension > >.
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.
static Pointer itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::New | ( | ) | [static] |
Standard New method.
Reimplemented from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType,::itk::GetImageDimension< TImage >::ImageDimension > >.
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 > >.
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 > >.
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.
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.
void itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::SetInput1 | ( | TImage * | input | ) | [inline] |
Set the input image
Definition at line 105 of file itkStatisticsLabelMapFilter.h.
void itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::SetInput2 | ( | const TFeatureImage * | input | ) | [inline] |
Set the feature image
Definition at line 111 of file itkStatisticsLabelMapFilter.h.
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.
virtual void itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::ThreadedProcessLabelObject | ( | LabelObjectType * | labelObject | ) | [protected, virtual] |
const unsigned int itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::ImageDimension = TImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType,::itk::GetImageDimension< TImage >::ImageDimension > >.
Definition at line 70 of file itkStatisticsLabelMapFilter.h.
bool itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::m_ComputeHistogram [private] |
Definition at line 152 of file itkStatisticsLabelMapFilter.h.
FeatureImagePixelType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::m_Maximum [private] |
Definition at line 150 of file itkStatisticsLabelMapFilter.h.
FeatureImagePixelType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::m_Minimum [private] |
Definition at line 149 of file itkStatisticsLabelMapFilter.h.
unsigned int itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::m_NumberOfBins [private] |
Definition at line 151 of file itkStatisticsLabelMapFilter.h.