ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkLabelImageToStatisticsLabelMapFilter.h>
a convenient class to convert a label image to a label map and valuate the statistics attributes at once
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 43 of file itkLabelImageToStatisticsLabelMapFilter.h.
typedef SmartPointer< const Self > itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::ConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 51 of file itkLabelImageToStatisticsLabelMapFilter.h.
typedef FeatureImageType::ConstPointer itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::FeatureImageConstPointer |
Definition at line 69 of file itkLabelImageToStatisticsLabelMapFilter.h.
typedef FeatureImageType::PixelType itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::FeatureImagePixelType |
Definition at line 70 of file itkLabelImageToStatisticsLabelMapFilter.h.
typedef FeatureImageType::Pointer itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::FeatureImagePointer |
Definition at line 68 of file itkLabelImageToStatisticsLabelMapFilter.h.
typedef TFeatureImage itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::FeatureImageType |
Definition at line 67 of file itkLabelImageToStatisticsLabelMapFilter.h.
typedef InputImageType::ConstPointer itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::InputImageConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 56 of file itkLabelImageToStatisticsLabelMapFilter.h.
typedef InputImageType::PixelType itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::InputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 58 of file itkLabelImageToStatisticsLabelMapFilter.h.
typedef InputImageType::Pointer itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::InputImagePointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 55 of file itkLabelImageToStatisticsLabelMapFilter.h.
typedef InputImageType::RegionType itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::InputImageRegionType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 57 of file itkLabelImageToStatisticsLabelMapFilter.h.
typedef TInputImage itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::InputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 54 of file itkLabelImageToStatisticsLabelMapFilter.h.
typedef LabelImageToLabelMapFilter< InputImageType, OutputImageType > itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::LabelizerType |
Definition at line 81 of file itkLabelImageToStatisticsLabelMapFilter.h.
typedef OutputImageType::LabelObjectType itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::LabelObjectType |
Definition at line 65 of file itkLabelImageToStatisticsLabelMapFilter.h.
typedef StatisticsLabelMapFilter< OutputImageType, FeatureImageType > itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::LabelObjectValuatorType |
Definition at line 82 of file itkLabelImageToStatisticsLabelMapFilter.h.
typedef OutputImageType::ConstPointer itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::OutputImageConstPointer |
Definition at line 62 of file itkLabelImageToStatisticsLabelMapFilter.h.
typedef OutputImageType::PixelType itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::OutputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 64 of file itkLabelImageToStatisticsLabelMapFilter.h.
typedef OutputImageType::Pointer itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::OutputImagePointer |
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 61 of file itkLabelImageToStatisticsLabelMapFilter.h.
typedef OutputImageType::RegionType itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 63 of file itkLabelImageToStatisticsLabelMapFilter.h.
typedef TOutputImage itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 60 of file itkLabelImageToStatisticsLabelMapFilter.h.
typedef SmartPointer< Self > itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::Pointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 50 of file itkLabelImageToStatisticsLabelMapFilter.h.
typedef LabelImageToStatisticsLabelMapFilter itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 48 of file itkLabelImageToStatisticsLabelMapFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::Superclass |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 49 of file itkLabelImageToStatisticsLabelMapFilter.h.
itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::LabelImageToStatisticsLabelMapFilter | ( | ) | [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::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::~LabelImageToStatisticsLabelMapFilter | ( | ) | [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 174 of file itkLabelImageToStatisticsLabelMapFilter.h.
itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::LabelImageToStatisticsLabelMapFilter | ( | const Self & | ) | [private] |
virtual void itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::ComputeFeretDiameterOff | ( | ) | [virtual] |
Set/Get whether the maximum Feret diameter should be computed or not. The defaut value is false, because of the high computation time required.
virtual void itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::ComputeFeretDiameterOn | ( | ) | [virtual] |
Set/Get whether the maximum Feret diameter should be computed or not. The defaut value is false, because of the high computation time required.
virtual void itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::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::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::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 void itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::ComputePerimeterOff | ( | ) | [virtual] |
Set/Get whether the perimeter should be computed or not. The defaut value is false, because of the high computation time required.
virtual void itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::ComputePerimeterOn | ( | ) | [virtual] |
Set/Get whether the perimeter should be computed or not. The defaut value is false, because of the high computation time required.
virtual::itk::LightObject::Pointer itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::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::Object.
void itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::EnlargeOutputRequestedRegion | ( | DataObject * | ) | [protected, virtual] |
LabelImageToStatisticsLabelMapFilter will produce the entire output.
Reimplemented from itk::ProcessObject.
void itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GenerateData | ( | ) | [protected, virtual] |
Single-threaded version of GenerateData. This filter delegates to GrayscaleGeodesicErodeImageFilter.
Reimplemented from itk::ImageSource< TOutputImage >.
void itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GenerateInputRequestedRegion | ( | ) | [protected, virtual] |
LabelImageToStatisticsLabelMapFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
virtual OutputImagePixelType itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GetBackgroundValue | ( | ) | const [virtual] |
End concept checking Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
virtual const bool& itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GetComputeFeretDiameter | ( | ) | [virtual] |
Set/Get whether the maximum Feret diameter should be computed or not. The defaut value is false, because of the high computation time required.
virtual const bool& itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::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.
virtual const bool& itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GetComputePerimeter | ( | ) | [virtual] |
Set/Get whether the perimeter should be computed or not. The defaut value is false, because of the high computation time required.
const FeatureImageType* itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GetFeatureImage | ( | ) | [inline] |
Get the feature image
Definition at line 137 of file itkLabelImageToStatisticsLabelMapFilter.h.
References itk::ProcessObject::GetInput().
virtual const char* itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
virtual const unsigned int& itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::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::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::New | ( | ) | [static] |
Standard New method.
Reimplemented from itk::Object.
void itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, 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 >.
void itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, 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.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
virtual void itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::SetBackgroundValue | ( | OutputImagePixelType | _arg | ) | [virtual] |
End concept checking Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
virtual void itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::SetComputeFeretDiameter | ( | bool | _arg | ) | [virtual] |
Set/Get whether the maximum Feret diameter should be computed or not. The defaut value is false, because of the high computation time required.
virtual void itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::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.
virtual void itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::SetComputePerimeter | ( | bool | _arg | ) | [virtual] |
Set/Get whether the perimeter should be computed or not. The defaut value is false, because of the high computation time required.
void itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::SetFeatureImage | ( | const TFeatureImage * | input | ) | [inline] |
Set the feature image
Definition at line 130 of file itkLabelImageToStatisticsLabelMapFilter.h.
void itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::SetInput1 | ( | const InputImageType * | input | ) | [inline] |
Set the input image
Definition at line 143 of file itkLabelImageToStatisticsLabelMapFilter.h.
void itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::SetInput2 | ( | const FeatureImageType * | input | ) | [inline] |
Set the feature image
Definition at line 149 of file itkLabelImageToStatisticsLabelMapFilter.h.
virtual void itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::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.
itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::typedef | ( | Concept::EqualityComparable< InputImagePixelType > | ) |
Begin concept checking This class requires InputEqualityComparableCheck in the form of ( Concept::EqualityComparable< InputImagePixelType > )
itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::typedef | ( | Concept::Convertible< int, InputImagePixelType > | ) |
This class requires IntConvertibleToInputCheck in the form of ( Concept::Convertible< int, InputImagePixelType > )
itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::typedef | ( | Concept::OStreamWritable< InputImagePixelType > | ) |
This class requires InputOStreamWritableCheck in the form of ( Concept::OStreamWritable< InputImagePixelType > )
const unsigned int itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::ImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constants
Definition at line 78 of file itkLabelImageToStatisticsLabelMapFilter.h.
const unsigned int itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::InputImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 74 of file itkLabelImageToStatisticsLabelMapFilter.h.
OutputImagePixelType itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::m_BackgroundValue [private] |
Definition at line 196 of file itkLabelImageToStatisticsLabelMapFilter.h.
bool itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::m_ComputeFeretDiameter [private] |
Definition at line 197 of file itkLabelImageToStatisticsLabelMapFilter.h.
bool itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::m_ComputeHistogram [private] |
Definition at line 200 of file itkLabelImageToStatisticsLabelMapFilter.h.
bool itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::m_ComputePerimeter [private] |
Definition at line 198 of file itkLabelImageToStatisticsLabelMapFilter.h.
unsigned int itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::m_NumberOfBins [private] |
Definition at line 199 of file itkLabelImageToStatisticsLabelMapFilter.h.
const unsigned int itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::OutputImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 76 of file itkLabelImageToStatisticsLabelMapFilter.h.