ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryImageToStatisticsLabelMapFilter.h>
a convenient class to convert a binary 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 42 of file itkBinaryImageToStatisticsLabelMapFilter.h.
typedef SmartPointer< const Self > itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::ConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 50 of file itkBinaryImageToStatisticsLabelMapFilter.h.
typedef FeatureImageType::ConstPointer itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::FeatureImageConstPointer |
Definition at line 68 of file itkBinaryImageToStatisticsLabelMapFilter.h.
typedef FeatureImageType::PixelType itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::FeatureImagePixelType |
Definition at line 69 of file itkBinaryImageToStatisticsLabelMapFilter.h.
typedef FeatureImageType::Pointer itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::FeatureImagePointer |
Definition at line 67 of file itkBinaryImageToStatisticsLabelMapFilter.h.
typedef TFeatureImage itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::FeatureImageType |
Definition at line 66 of file itkBinaryImageToStatisticsLabelMapFilter.h.
typedef InputImageType::ConstPointer itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::InputImageConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 55 of file itkBinaryImageToStatisticsLabelMapFilter.h.
typedef InputImageType::PixelType itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::InputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 57 of file itkBinaryImageToStatisticsLabelMapFilter.h.
typedef InputImageType::Pointer itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::InputImagePointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 54 of file itkBinaryImageToStatisticsLabelMapFilter.h.
typedef InputImageType::RegionType itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::InputImageRegionType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 56 of file itkBinaryImageToStatisticsLabelMapFilter.h.
typedef TInputImage itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::InputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 53 of file itkBinaryImageToStatisticsLabelMapFilter.h.
typedef BinaryImageToLabelMapFilter< InputImageType, OutputImageType > itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::LabelizerType |
Definition at line 80 of file itkBinaryImageToStatisticsLabelMapFilter.h.
typedef OutputImageType::LabelObjectType itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::LabelObjectType |
Definition at line 64 of file itkBinaryImageToStatisticsLabelMapFilter.h.
typedef StatisticsLabelMapFilter< OutputImageType, FeatureImageType > itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::LabelObjectValuatorType |
Definition at line 81 of file itkBinaryImageToStatisticsLabelMapFilter.h.
typedef OutputImageType::ConstPointer itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::OutputImageConstPointer |
Definition at line 61 of file itkBinaryImageToStatisticsLabelMapFilter.h.
typedef OutputImageType::PixelType itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::OutputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 63 of file itkBinaryImageToStatisticsLabelMapFilter.h.
typedef OutputImageType::Pointer itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::OutputImagePointer |
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 60 of file itkBinaryImageToStatisticsLabelMapFilter.h.
typedef OutputImageType::RegionType itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 62 of file itkBinaryImageToStatisticsLabelMapFilter.h.
typedef TOutputImage itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 59 of file itkBinaryImageToStatisticsLabelMapFilter.h.
typedef SmartPointer< Self > itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::Pointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 49 of file itkBinaryImageToStatisticsLabelMapFilter.h.
typedef BinaryImageToStatisticsLabelMapFilter itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 47 of file itkBinaryImageToStatisticsLabelMapFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::Superclass |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 48 of file itkBinaryImageToStatisticsLabelMapFilter.h.
itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::BinaryImageToStatisticsLabelMapFilter | ( | ) | [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::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::~BinaryImageToStatisticsLabelMapFilter | ( | ) | [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 192 of file itkBinaryImageToStatisticsLabelMapFilter.h.
itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::BinaryImageToStatisticsLabelMapFilter | ( | const Self & | ) | [private] |
virtual void itk::BinaryImageToStatisticsLabelMapFilter< 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::BinaryImageToStatisticsLabelMapFilter< 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::BinaryImageToStatisticsLabelMapFilter< 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::BinaryImageToStatisticsLabelMapFilter< 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::BinaryImageToStatisticsLabelMapFilter< 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::BinaryImageToStatisticsLabelMapFilter< 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::BinaryImageToStatisticsLabelMapFilter< 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::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::EnlargeOutputRequestedRegion | ( | DataObject * | ) | [protected, virtual] |
BinaryImageToStatisticsLabelMapFilter will produce the entire output.
Reimplemented from itk::ProcessObject.
virtual void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::FullyConnectedOff | ( | ) | [virtual] |
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.
virtual void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::FullyConnectedOn | ( | ) | [virtual] |
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.
void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GenerateData | ( | ) | [protected, virtual] |
Single-threaded version of GenerateData. This filter delegates to GrayscaleGeodesicErodeImageFilter.
Reimplemented from itk::ImageSource< TOutputImage >.
void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GenerateInputRequestedRegion | ( | ) | [protected, virtual] |
BinaryImageToStatisticsLabelMapFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
virtual const bool& itk::BinaryImageToStatisticsLabelMapFilter< 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::BinaryImageToStatisticsLabelMapFilter< 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::BinaryImageToStatisticsLabelMapFilter< 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::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GetFeatureImage | ( | ) | [inline] |
Get the feature image
Definition at line 155 of file itkBinaryImageToStatisticsLabelMapFilter.h.
References itk::ProcessObject::GetInput().
virtual const bool& itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GetFullyConnected | ( | ) | [virtual] |
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.
virtual InputImagePixelType itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GetInputForegroundValue | ( | ) | const [virtual] |
Set/Get the value used as "foreground" in the output image. Defaults to NumericTraits<PixelType>::max().
virtual const char* itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
virtual const unsigned int& itk::BinaryImageToStatisticsLabelMapFilter< 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.
virtual OutputImagePixelType itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GetOutputBackgroundValue | ( | ) | const [virtual] |
End concept checking Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
static Pointer itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::New | ( | ) | [static] |
Standard New method.
Reimplemented from itk::Object.
void itk::BinaryImageToStatisticsLabelMapFilter< 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::BinaryImageToStatisticsLabelMapFilter< 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::BinaryImageToStatisticsLabelMapFilter< 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::BinaryImageToStatisticsLabelMapFilter< 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::BinaryImageToStatisticsLabelMapFilter< 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::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::SetFeatureImage | ( | const TFeatureImage * | input | ) | [inline] |
Set the feature image
Definition at line 148 of file itkBinaryImageToStatisticsLabelMapFilter.h.
virtual void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::SetFullyConnected | ( | bool | _arg | ) | [virtual] |
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.
void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::SetInput1 | ( | const InputImageType * | input | ) | [inline] |
Set the input image
Definition at line 161 of file itkBinaryImageToStatisticsLabelMapFilter.h.
void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::SetInput2 | ( | const FeatureImageType * | input | ) | [inline] |
Set the feature image
Definition at line 167 of file itkBinaryImageToStatisticsLabelMapFilter.h.
virtual void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::SetInputForegroundValue | ( | InputImagePixelType | _arg | ) | [virtual] |
Set/Get the value used as "foreground" in the output image. Defaults to NumericTraits<PixelType>::max().
virtual void itk::BinaryImageToStatisticsLabelMapFilter< 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.
virtual void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::SetOutputBackgroundValue | ( | OutputImagePixelType | _arg | ) | [virtual] |
End concept checking Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::typedef | ( | Concept::EqualityComparable< InputImagePixelType > | ) |
Begin concept checking This class requires InputEqualityComparableCheck in the form of ( Concept::EqualityComparable< InputImagePixelType > )
itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::typedef | ( | Concept::Convertible< int, InputImagePixelType > | ) |
This class requires IntConvertibleToInputCheck in the form of ( Concept::Convertible< int, InputImagePixelType > )
itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::typedef | ( | Concept::OStreamWritable< InputImagePixelType > | ) |
This class requires InputOStreamWritableCheck in the form of ( Concept::OStreamWritable< InputImagePixelType > )
const unsigned int itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::ImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constants
Definition at line 77 of file itkBinaryImageToStatisticsLabelMapFilter.h.
const unsigned int itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::InputImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 73 of file itkBinaryImageToStatisticsLabelMapFilter.h.
bool itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::m_ComputeFeretDiameter [private] |
Definition at line 217 of file itkBinaryImageToStatisticsLabelMapFilter.h.
bool itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::m_ComputeHistogram [private] |
Definition at line 220 of file itkBinaryImageToStatisticsLabelMapFilter.h.
bool itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::m_ComputePerimeter [private] |
Definition at line 218 of file itkBinaryImageToStatisticsLabelMapFilter.h.
bool itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::m_FullyConnected [private] |
Definition at line 214 of file itkBinaryImageToStatisticsLabelMapFilter.h.
InputImagePixelType itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::m_InputForegroundValue [private] |
Definition at line 216 of file itkBinaryImageToStatisticsLabelMapFilter.h.
unsigned int itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::m_NumberOfBins [private] |
Definition at line 219 of file itkBinaryImageToStatisticsLabelMapFilter.h.
OutputImagePixelType itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::m_OutputBackgroundValue [private] |
Definition at line 215 of file itkBinaryImageToStatisticsLabelMapFilter.h.
const unsigned int itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::OutputImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 75 of file itkBinaryImageToStatisticsLabelMapFilter.h.