ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkVotingBinaryHoleFillingImageFilter.h>
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::VotingBinaryImageFilter< TInputImage, TOutputImage > | |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > |
Private Member Functions | |
void | operator= (const Self &) |
VotingBinaryHoleFillingImageFilter (const Self &) |
Private Attributes | |
Array< SizeValueType > | m_Count |
unsigned int | m_MajorityThreshold |
SizeValueType | m_NumberOfPixelsChanged |
Fills in holes and cavities by applying a voting operation on each pixel.
Definition at line 41 of file itkVotingBinaryHoleFillingImageFilter.h.
typedef SmartPointer< const Self > itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::ConstPointer |
Reimplemented from itk::VotingBinaryImageFilter< TInputImage, TOutputImage >.
Definition at line 60 of file itkVotingBinaryHoleFillingImageFilter.h.
typedef InputImageType::RegionType itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Reimplemented from itk::VotingBinaryImageFilter< TInputImage, TOutputImage >.
Definition at line 72 of file itkVotingBinaryHoleFillingImageFilter.h.
typedef TInputImage itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::InputImageType |
Convenient typedefs for simplifying declarations.
Reimplemented from itk::VotingBinaryImageFilter< TInputImage, TOutputImage >.
Definition at line 53 of file itkVotingBinaryHoleFillingImageFilter.h.
typedef InputImageType::PixelType itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::InputPixelType |
Image typedef support.
Reimplemented from itk::VotingBinaryImageFilter< TInputImage, TOutputImage >.
Definition at line 66 of file itkVotingBinaryHoleFillingImageFilter.h.
typedef InputImageType::SizeType itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::InputSizeType |
Reimplemented from itk::VotingBinaryImageFilter< TInputImage, TOutputImage >.
Definition at line 75 of file itkVotingBinaryHoleFillingImageFilter.h.
typedef OutputImageType::RegionType itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::VotingBinaryImageFilter< TInputImage, TOutputImage >.
Definition at line 73 of file itkVotingBinaryHoleFillingImageFilter.h.
typedef TOutputImage itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::VotingBinaryImageFilter< TInputImage, TOutputImage >.
Definition at line 54 of file itkVotingBinaryHoleFillingImageFilter.h.
typedef OutputImageType::PixelType itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::OutputPixelType |
Reimplemented from itk::VotingBinaryImageFilter< TInputImage, TOutputImage >.
Definition at line 70 of file itkVotingBinaryHoleFillingImageFilter.h.
typedef SmartPointer< Self > itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::Pointer |
Reimplemented from itk::VotingBinaryImageFilter< TInputImage, TOutputImage >.
Definition at line 59 of file itkVotingBinaryHoleFillingImageFilter.h.
typedef VotingBinaryHoleFillingImageFilter itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::VotingBinaryImageFilter< TInputImage, TOutputImage >.
Definition at line 57 of file itkVotingBinaryHoleFillingImageFilter.h.
typedef InputImageType::SizeValueType itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::SizeValueType |
Definition at line 76 of file itkVotingBinaryHoleFillingImageFilter.h.
typedef VotingBinaryImageFilter< InputImageType, OutputImageType > itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::Superclass |
Reimplemented from itk::VotingBinaryImageFilter< TInputImage, TOutputImage >.
Definition at line 58 of file itkVotingBinaryHoleFillingImageFilter.h.
|
protected |
End concept checking
|
inlineprotectedvirtual |
End concept checking
Definition at line 102 of file itkVotingBinaryHoleFillingImageFilter.h.
|
private |
|
protectedvirtual |
If an imaging filter needs to perform processing after all processing threads have completed, the filter can can provide an implementation for AfterThreadedGenerateData(). 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::ImageSource< TOutputImage >.
|
protectedvirtual |
Methods to be called before and after the invokation of ThreadedGenerateData().
Reimplemented from itk::ImageSource< TOutputImage >.
|
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::VotingBinaryImageFilter< TInputImage, TOutputImage >.
|
virtual |
Majority threshold. It is the number of pixels over 50% that will decide whether an OFF pixel will become ON or not. For example, if the neighborhood of a pixel has 124 pixels (excluding itself), the 50% will be 62, and if you set upd a Majority threshold of 5, that means that the filter will require 67 or more neighbor pixels to be ON in order to switch the current OFF pixel to ON. The default value is 1.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::VotingBinaryImageFilter< TInputImage, TOutputImage >.
|
virtual |
Returns the number of pixels that changed when the filter was executed.
|
static |
Method for creation through the object factory.
Reimplemented from itk::VotingBinaryImageFilter< TInputImage, TOutputImage >.
|
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::VotingBinaryImageFilter< TInputImage, TOutputImage >.
|
protectedvirtual |
End concept checking
Reimplemented from itk::VotingBinaryImageFilter< TInputImage, TOutputImage >.
|
inlineprotectedvirtual |
Make protected the methods SetBirthThreshold() and SetSurvivalThreshold() so users of this filter do not have access to them.
Reimplemented from itk::VotingBinaryImageFilter< TInputImage, TOutputImage >.
Definition at line 109 of file itkVotingBinaryHoleFillingImageFilter.h.
|
virtual |
Majority threshold. It is the number of pixels over 50% that will decide whether an OFF pixel will become ON or not. For example, if the neighborhood of a pixel has 124 pixels (excluding itself), the 50% will be 62, and if you set upd a Majority threshold of 5, that means that the filter will require 67 or more neighbor pixels to be ON in order to switch the current OFF pixel to ON. The default value is 1.
|
inlineprotectedvirtual |
Make protected the methods SetBirthThreshold() and SetSurvivalThreshold() so users of this filter do not have access to them.
Reimplemented from itk::VotingBinaryImageFilter< TInputImage, TOutputImage >.
Definition at line 111 of file itkVotingBinaryHoleFillingImageFilter.h.
|
protectedvirtual |
VotingBinaryHoleFillingImageFilter 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::VotingBinaryImageFilter< TInputImage, TOutputImage >.
itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::Convertible< int, InputPixelType > | ) |
Begin concept checking This class requires IntConvertibleToInputCheck in the form of ( Concept::Convertible< int, InputPixelType > )
Reimplemented from itk::VotingBinaryImageFilter< TInputImage, TOutputImage >.
itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::Convertible< unsigned int, InputPixelType > | ) |
This class requires UnsignedIntConvertibleToInputCheck in the form of ( Concept::Convertible< unsigned int, InputPixelType > )
|
static |
Extract dimension from input and output image.
Reimplemented from itk::VotingBinaryImageFilter< TInputImage, TOutputImage >.
Definition at line 47 of file itkVotingBinaryHoleFillingImageFilter.h.
|
private |
Definition at line 143 of file itkVotingBinaryHoleFillingImageFilter.h.
|
private |
Definition at line 138 of file itkVotingBinaryHoleFillingImageFilter.h.
|
private |
Definition at line 140 of file itkVotingBinaryHoleFillingImageFilter.h.
|
static |
Extract dimension from input and output image.
Reimplemented from itk::VotingBinaryImageFilter< TInputImage, TOutputImage >.
Definition at line 49 of file itkVotingBinaryHoleFillingImageFilter.h.