ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryStatisticsOpeningImageFilter.h>
Remove objects based on the value of their Statistics attribute.
The BinaryStatisticsOpeningImageFilter removes the objects in a binary image with an attribute value smaller or greater than a threshold called Lambda. The attributes are those of the StatisticsLabelObject.
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 46 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef LabelObjectType::AttributeType itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::AttributeType |
Definition at line 85 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef LabelMapToBinaryImageFilter< LabelMapType, OutputImageType > itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::BinarizerType |
Definition at line 87 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef SmartPointer< const Self > itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::ConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 54 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef FeatureImageType::ConstPointer itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::FeatureImageConstPointer |
Definition at line 70 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef FeatureImageType::PixelType itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::FeatureImagePixelType |
Definition at line 71 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef FeatureImageType::Pointer itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::FeatureImagePointer |
Definition at line 69 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef TFeatureImage itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::FeatureImageType |
Definition at line 68 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef InputImageType::ConstPointer itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::InputImageConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 60 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef InputImageType::PixelType itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::InputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 62 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef InputImageType::Pointer itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::InputImagePointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 59 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef InputImageType::RegionType itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::InputImageRegionType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 61 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef TInputImage itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::InputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 57 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef BinaryImageToLabelMapFilter< InputImageType, LabelMapType > itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::LabelizerType |
Definition at line 83 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef LabelMap< LabelObjectType > itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::LabelMapType |
Definition at line 82 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef StatisticsLabelObject< LabelType, itkGetStaticConstMacro(ImageDimension) > itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::LabelObjectType |
Definition at line 81 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef StatisticsLabelMapFilter< LabelMapType, FeatureImageType > itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::LabelObjectValuatorType |
Definition at line 84 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef SizeValueType itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::LabelType |
Definition at line 79 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef StatisticsOpeningLabelMapFilter< LabelMapType > itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::OpeningType |
Definition at line 86 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef OutputImageType::ConstPointer itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::OutputImageConstPointer |
Definition at line 64 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef OutputImageType::PixelType itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::OutputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 66 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef OutputImageType::Pointer itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::OutputImagePointer |
Reimplemented from itk::ImageSource< TInputImage >.
Definition at line 63 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef OutputImageType::RegionType itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 65 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef TInputImage itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageSource< TInputImage >.
Definition at line 58 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef SmartPointer< Self > itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::Pointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 53 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef BinaryStatisticsOpeningImageFilter itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 51 of file itkBinaryStatisticsOpeningImageFilter.h.
typedef ImageToImageFilter< TInputImage, TInputImage > itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::Superclass |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 52 of file itkBinaryStatisticsOpeningImageFilter.h.
itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::BinaryStatisticsOpeningImageFilter | ( | ) | [protected] |
itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::~BinaryStatisticsOpeningImageFilter | ( | ) | [inline, protected] |
Definition at line 191 of file itkBinaryStatisticsOpeningImageFilter.h.
itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::BinaryStatisticsOpeningImageFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::BinaryStatisticsOpeningImageFilter< TInputImage, 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::Object.
void itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::EnlargeOutputRequestedRegion | ( | DataObject * | ) | [protected, virtual] |
BinaryStatisticsOpeningImageFilter will produce the entire output.
Reimplemented from itk::ProcessObject.
virtual void itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::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::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::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::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::GenerateData | ( | ) | [protected, virtual] |
Single-threaded version of GenerateData. This filter delegates to GrayscaleGeodesicErodeImageFilter.
Reimplemented from itk::ImageSource< TInputImage >.
void itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::GenerateInputRequestedRegion | ( | ) | [protected, virtual] |
BinaryStatisticsOpeningImageFilter needs the entire input to be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
virtual AttributeType itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::GetAttribute | ( | ) | const [virtual] |
Set/Get the attribute to use to select the object to remove. Default is "Size".
virtual OutputImagePixelType itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::GetBackgroundValue | ( | ) | const [virtual] |
End concept checking Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
const FeatureImageType* itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::GetFeatureImage | ( | ) | [inline] |
Get the feature image
Definition at line 172 of file itkBinaryStatisticsOpeningImageFilter.h.
References itk::ProcessObject::GetInput().
virtual OutputImagePixelType itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::GetForegroundValue | ( | ) | const [virtual] |
Set/Get the value used as "foreground" in the output image. Defaults to NumericTraits<PixelType>::max().
virtual const bool& itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::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 double itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::GetLambda | ( | ) | const [virtual] |
Set/Get the threshold used to keep or remove the objects.
virtual const char* itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
virtual bool itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::GetReverseOrdering | ( | ) | const [virtual] |
Set/Get the ordering of the objects. By default, the objects with an attribute value smaller than Lamba are removed. Turning ReverseOrdering to true make this filter remove objects with an attribute value greater than Lambda instead.
static Pointer itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::New | ( | ) | [static] |
Standard New method.
Reimplemented from itk::Object.
void itk::BinaryStatisticsOpeningImageFilter< TInputImage, 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::ImageToImageFilter< TInputImage, TInputImage >.
void itk::BinaryStatisticsOpeningImageFilter< TInputImage, 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::ImageToImageFilter< TInputImage, TInputImage >.
virtual void itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::ReverseOrderingOff | ( | ) | [virtual] |
Set/Get the ordering of the objects. By default, the objects with an attribute value smaller than Lamba are removed. Turning ReverseOrdering to true make this filter remove objects with an attribute value greater than Lambda instead.
virtual void itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::ReverseOrderingOn | ( | ) | [virtual] |
Set/Get the ordering of the objects. By default, the objects with an attribute value smaller than Lamba are removed. Turning ReverseOrdering to true make this filter remove objects with an attribute value greater than Lambda instead.
virtual void itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::SetAttribute | ( | AttributeType | _arg | ) | [virtual] |
Set/Get the attribute to use to select the object to remove. Default is "Size".
void itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::SetAttribute | ( | const std::string & | s | ) | [inline] |
Set/Get the attribute to use to select the object to remove. Default is "Size".
Definition at line 158 of file itkBinaryStatisticsOpeningImageFilter.h.
virtual void itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::SetBackgroundValue | ( | OutputImagePixelType | _arg | ) | [virtual] |
End concept checking Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
void itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::SetFeatureImage | ( | const TFeatureImage * | input | ) | [inline] |
Set the feature image
Definition at line 165 of file itkBinaryStatisticsOpeningImageFilter.h.
virtual void itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::SetForegroundValue | ( | OutputImagePixelType | _arg | ) | [virtual] |
Set/Get the value used as "foreground" in the output image. Defaults to NumericTraits<PixelType>::max().
virtual void itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::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::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::SetInput1 | ( | const InputImageType * | input | ) | [inline] |
Set the input image
Definition at line 178 of file itkBinaryStatisticsOpeningImageFilter.h.
void itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::SetInput2 | ( | const FeatureImageType * | input | ) | [inline] |
Set the feature image
Definition at line 184 of file itkBinaryStatisticsOpeningImageFilter.h.
virtual void itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::SetLambda | ( | double | _arg | ) | [virtual] |
Set/Get the threshold used to keep or remove the objects.
virtual void itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::SetReverseOrdering | ( | bool | _arg | ) | [virtual] |
Set/Get the ordering of the objects. By default, the objects with an attribute value smaller than Lamba are removed. Turning ReverseOrdering to true make this filter remove objects with an attribute value greater than Lambda instead.
itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::typedef | ( | Concept::EqualityComparable< InputImagePixelType > | ) |
Begin concept checking This class requires InputEqualityComparableCheck in the form of ( Concept::EqualityComparable< InputImagePixelType > )
itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::typedef | ( | Concept::Convertible< int, InputImagePixelType > | ) |
This class requires IntConvertibleToInputCheck in the form of ( Concept::Convertible< int, InputImagePixelType > )
itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::typedef | ( | Concept::OStreamWritable< InputImagePixelType > | ) |
This class requires InputOStreamWritableCheck in the form of ( Concept::OStreamWritable< InputImagePixelType > )
const unsigned int itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::ImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constants
Definition at line 76 of file itkBinaryStatisticsOpeningImageFilter.h.
const unsigned int itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::InputImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 74 of file itkBinaryStatisticsOpeningImageFilter.h.
AttributeType itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::m_Attribute [private] |
Definition at line 214 of file itkBinaryStatisticsOpeningImageFilter.h.
OutputImagePixelType itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::m_BackgroundValue [private] |
Definition at line 210 of file itkBinaryStatisticsOpeningImageFilter.h.
OutputImagePixelType itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::m_ForegroundValue [private] |
Definition at line 211 of file itkBinaryStatisticsOpeningImageFilter.h.
bool itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::m_FullyConnected [private] |
Definition at line 209 of file itkBinaryStatisticsOpeningImageFilter.h.
double itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::m_Lambda [private] |
Definition at line 212 of file itkBinaryStatisticsOpeningImageFilter.h.
bool itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::m_ReverseOrdering [private] |
Definition at line 213 of file itkBinaryStatisticsOpeningImageFilter.h.
const unsigned int itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::OutputImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 75 of file itkBinaryStatisticsOpeningImageFilter.h.