ITK
4.0.0
Insight Segmentation and Registration Toolkit
|
Applies a voting operation in a neighborhood of each pixel. More...
#include <itkVotingBinaryImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef InputImageType::PixelType | InputPixelType |
typedef InputImageType::SizeType | InputSizeType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::PixelType | OutputPixelType |
typedef SmartPointer< Self > | Pointer |
typedef VotingBinaryImageFilter | Self |
typedef ImageToImageFilter < InputImageType, OutputImageType > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual void | GenerateInputRequestedRegion () throw ( InvalidRequestedRegionError ) |
virtual const char * | GetNameOfClass () const |
virtual const InputSizeType & | GetRadius () |
virtual void | SetRadius (InputSizeType _arg) |
typedef (Concept::EqualityComparable< InputPixelType >) InputEqualityComparableCheck | |
typedef (Concept::OStreamWritable< InputPixelType >) InputOStreamWritableCheck | |
typedef (Concept::SameDimension< InputImageDimension, OutputImageDimension >) SameDimensionCheck | |
typedef (Concept::Convertible< int, InputPixelType >) IntConvertibleToInputCheck | |
typedef (Concept::Convertible< InputPixelType, OutputPixelType >) InputConvertibleToOutputCheck | |
virtual void | SetBackgroundValue (InputPixelType _arg) |
virtual void | SetForegroundValue (InputPixelType _arg) |
virtual const InputPixelType & | GetBackgroundValue () |
virtual const InputPixelType & | GetForegroundValue () |
virtual const unsigned int & | GetBirthThreshold () |
virtual void | SetBirthThreshold (unsigned int _arg) |
virtual const unsigned int & | GetSurvivalThreshold () |
virtual void | SetSurvivalThreshold (unsigned int _arg) |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Member Functions | |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) |
VotingBinaryImageFilter () | |
virtual | ~VotingBinaryImageFilter () |
void | PrintSelf (std::ostream &os, Indent indent) const |
Private Member Functions | |
void | operator= (const Self &) |
VotingBinaryImageFilter (const Self &) | |
Private Attributes | |
InputPixelType | m_BackgroundValue |
unsigned int | m_BirthThreshold |
InputPixelType | m_ForegroundValue |
InputSizeType | m_Radius |
unsigned int | m_SurvivalThreshold |
Applies a voting operation in a neighborhood of each pixel.
Definition at line 38 of file itkVotingBinaryImageFilter.h.
typedef SmartPointer< const Self > itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::ConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.
Definition at line 57 of file itkVotingBinaryImageFilter.h.
typedef InputImageType::RegionType itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.
Definition at line 69 of file itkVotingBinaryImageFilter.h.
typedef TInputImage itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::InputImageType |
Convenient typedefs for simplifying declarations.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.
Definition at line 50 of file itkVotingBinaryImageFilter.h.
typedef InputImageType::PixelType itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::InputPixelType |
Image typedef support.
Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.
Definition at line 63 of file itkVotingBinaryImageFilter.h.
typedef InputImageType::SizeType itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::InputSizeType |
Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.
Definition at line 72 of file itkVotingBinaryImageFilter.h.
typedef OutputImageType::RegionType itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.
Definition at line 70 of file itkVotingBinaryImageFilter.h.
typedef TOutputImage itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageSource< TOutputImage >.
Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.
Definition at line 51 of file itkVotingBinaryImageFilter.h.
typedef OutputImageType::PixelType itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::OutputPixelType |
Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.
Definition at line 67 of file itkVotingBinaryImageFilter.h.
typedef SmartPointer< Self > itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::Pointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.
Definition at line 56 of file itkVotingBinaryImageFilter.h.
typedef VotingBinaryImageFilter itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.
Definition at line 54 of file itkVotingBinaryImageFilter.h.
typedef ImageToImageFilter< InputImageType, OutputImageType > itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::Superclass |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.
Definition at line 55 of file itkVotingBinaryImageFilter.h.
itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::VotingBinaryImageFilter | ( | ) | [protected] |
End concept checking
virtual itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::~VotingBinaryImageFilter | ( | ) | [inline, protected, virtual] |
End concept checking
Definition at line 130 of file itkVotingBinaryImageFilter.h.
itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::VotingBinaryImageFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::VotingBinaryImageFilter< TInputImage, 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.
Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.
virtual void itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion | ( | ) | throw ( InvalidRequestedRegionError ) [virtual] |
VotingBinaryImageFilter needs a larger input requested region than the output requested region. As such, VotingBinaryImageFilter needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
virtual const InputPixelType& itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::GetBackgroundValue | ( | ) | [virtual] |
Get the value associated with the Foreground (or the object) on the binary input image and the Background .
virtual const unsigned int& itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::GetBirthThreshold | ( | ) | [virtual] |
Birth threshold. Pixels that are OFF will turn ON when the number of neighbors ON is larger than the value defined in this threshold.
virtual const InputPixelType& itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::GetForegroundValue | ( | ) | [virtual] |
Get the value associated with the Foreground (or the object) on the binary input image and the Background .
virtual const char* itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.
virtual const InputSizeType& itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::GetRadius | ( | ) | [virtual] |
Get the radius of the neighborhood used to compute the median
virtual const unsigned int& itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::GetSurvivalThreshold | ( | ) | [virtual] |
Survival threshold. Pixels that are ON will turn OFF when the number of neighbors ON is smaller than the value defined in this survival threshold.
static Pointer itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::Object.
Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.
void itk::VotingBinaryImageFilter< TInputImage, 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 >.
Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.
void itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
End concept checking
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.
virtual void itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::SetBackgroundValue | ( | InputPixelType | _arg | ) | [virtual] |
Set the value associated with the Foreground (or the object) on the binary input image and the Background .
virtual void itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::SetBirthThreshold | ( | unsigned int | _arg | ) | [virtual] |
Birth threshold. Pixels that are OFF will turn ON when the number of neighbors ON is larger than the value defined in this threshold.
Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.
virtual void itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::SetForegroundValue | ( | InputPixelType | _arg | ) | [virtual] |
Set the value associated with the Foreground (or the object) on the binary input image and the Background .
virtual void itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::SetRadius | ( | InputSizeType | _arg | ) | [virtual] |
Set the radius of the neighborhood used to compute the median.
virtual void itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::SetSurvivalThreshold | ( | unsigned int | _arg | ) | [virtual] |
Survival threshold. Pixels that are ON will turn OFF when the number of neighbors ON is smaller than the value defined in this survival threshold.
Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.
void itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData | ( | const OutputImageRegionType & | outputRegionForThread, |
ThreadIdType | threadId | ||
) | [protected, virtual] |
VotingBinaryImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"
Reimplemented from itk::ImageSource< TOutputImage >.
Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.
itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::Convertible< InputPixelType, OutputPixelType > | ) |
This class requires InputConvertibleToOutputCheck in the form of ( Concept::Convertible< InputPixelType, OutputPixelType > )
itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::Convertible< int, InputPixelType > | ) |
This class requires IntConvertibleToInputCheck in the form of ( Concept::Convertible< int, InputPixelType > )
Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.
itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::EqualityComparable< InputPixelType > | ) |
Begin concept checking This class requires InputEqualityComparableCheck in the form of ( Concept::EqualityComparable< InputPixelType > )
itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::OStreamWritable< InputPixelType > | ) |
This class requires InputOStreamWritableCheck in the form of ( Concept::OStreamWritable< InputPixelType > )
itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::SameDimension< InputImageDimension, OutputImageDimension > | ) |
This class requires SameDimensionCheck in the form of ( Concept::SameDimension< InputImageDimension, OutputImageDimension > )
const unsigned int itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::InputImageDimension = TInputImage::ImageDimension [static] |
Extract dimension from input and output image.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.
Definition at line 44 of file itkVotingBinaryImageFilter.h.
InputPixelType itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::m_BackgroundValue [private] |
Definition at line 154 of file itkVotingBinaryImageFilter.h.
unsigned int itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::m_BirthThreshold [private] |
Definition at line 156 of file itkVotingBinaryImageFilter.h.
InputPixelType itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::m_ForegroundValue [private] |
Definition at line 153 of file itkVotingBinaryImageFilter.h.
InputSizeType itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::m_Radius [private] |
Definition at line 151 of file itkVotingBinaryImageFilter.h.
unsigned int itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::m_SurvivalThreshold [private] |
Definition at line 157 of file itkVotingBinaryImageFilter.h.
const unsigned int itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::OutputImageDimension = TOutputImage::ImageDimension [static] |
Extract dimension from input and output image.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.
Definition at line 46 of file itkVotingBinaryImageFilter.h.