ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkVotingBinaryHoleFillFloodingImageFilter.h>
Perform front-propagation under a quorum sensing (voting) algorithm for filling holes in a binary mask.
This is an alternative implementation of the VotingBinaryIterativeHoleFillingImageFilter.
Definition at line 40 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::VotingBinaryImageFilter< TInputImage, TOutputImage > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
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 const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Types | |
typedef itk::Neighborhood < InputImagePixelType, InputImageDimension > | NeighborhoodType |
typedef std::vector < OffsetValueType > | NeighborOffsetArrayType |
typedef std::vector< IndexType > | SeedArrayType |
typedef SeedMaskImageType::Pointer | SeedMaskImagePointer |
typedef itk::Image< unsigned char, InputImageDimension > | SeedMaskImageType |
typedef std::vector < OutputImagePixelType > | SeedNewValuesArrayType |
Private Member Functions | |
void | AllocateOutputImageWorkingMemory () |
void | ClearSecondSeedArray () |
void | ComputeArrayOfNeighborhoodBufferOffsets () |
void | ComputeBirthThreshold () |
void | FindAllPixelsInTheBoundaryAndAddThemAsSeeds () |
virtual const IndexType & | GetCurrentPixelIndex () const |
unsigned int | GetNeighborhoodSize () const |
void | InitializeNeighborhood () |
void | IterateFrontPropagations () |
void | operator= (const Self &) |
void | PasteNewSeedValuesToOutputImage () |
void | PutCurrentPixelNeighborsIntoSeedArray () |
virtual void | SetCurrentPixelIndex (IndexType _arg) |
void | SwapSeedArrays () |
bool | TestForQuorumAtCurrentPixel () const |
void | VisitAllSeedsAndTransitionTheirState () |
VotingBinaryHoleFillFloodingImageFilter (const Self &) | |
Private Attributes | |
unsigned int | m_CurrentIterationNumber |
IndexType | m_CurrentPixelIndex |
const InputImageType * | m_InputImage |
InputImageRegionType | m_InternalRegion |
unsigned int | m_MajorityThreshold |
unsigned int | m_MaximumNumberOfIterations |
NeighborOffsetArrayType | m_NeighborBufferOffset |
NeighborhoodType | m_Neighborhood |
unsigned int | m_NumberOfPixelsChangedInLastIteration |
OffsetValueType | m_OffsetTable [InputImageDimension+1] |
OutputImageType * | m_OutputImage |
SeedArrayType * | m_SeedArray1 |
SeedArrayType * | m_SeedArray2 |
SeedMaskImagePointer | m_SeedsMask |
SeedNewValuesArrayType | m_SeedsNewValues |
unsigned int | m_TotalNumberOfPixelsChanged |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer<const Self> itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 48 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
typedef InputImageType::IndexType itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::IndexType |
Definition at line 61 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
typedef InputImageType::ConstPointer itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::InputImageConstPointer |
Definition at line 58 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
typedef InputImageType::PixelType itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::InputImagePixelType |
Definition at line 60 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
typedef InputImageType::Pointer itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::InputImagePointer |
Definition at line 57 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
typedef InputImageType::RegionType itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Definition at line 59 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
typedef Superclass::InputImageType itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::InputImageType |
Definition at line 54 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
typedef Superclass::InputSizeType itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::InputSizeType |
Definition at line 69 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 195 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 179 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
typedef InputImageType::OffsetValueType itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::OffsetValueType |
Definition at line 62 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
typedef OutputImageType::PixelType itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::OutputImagePixelType |
Definition at line 67 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
typedef OutputImageType::Pointer itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::OutputImagePointer |
Definition at line 65 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
typedef OutputImageType::RegionType itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Definition at line 66 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
typedef Superclass::OutputImageType itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::OutputImageType |
Definition at line 64 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
typedef SmartPointer<Self> itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 47 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 155 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 191 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 190 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 162 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
typedef VotingBinaryHoleFillFloodingImageFilter itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 45 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
typedef VotingBinaryImageFilter<TInputImage,TOutputImage> itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 46 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
protected |
Begin concept checking End concept checking
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
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 >.
|
private |
|
protectedvirtual |
A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
Returned the number of iterations used so far.
|
privatevirtual |
|
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 |
Set/Get the maximum number of iterations that will be applied to the propagating front
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::VotingBinaryImageFilter< TInputImage, TOutputImage >.
|
private |
|
virtual |
Returned the number of pixels changed in total.
|
private |
|
private |
|
static |
Method for creation through the object factory.
|
private |
|
private |
|
protectedvirtual |
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::VotingBinaryImageFilter< TInputImage, TOutputImage >.
|
private |
|
privatevirtual |
|
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 |
Set/Get the maximum number of iterations that will be applied to the propagating front
|
private |
|
private |
|
private |
|
static |
Image dimension constants
Definition at line 72 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 166 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 171 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 187 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 160 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 151 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 167 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 181 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 197 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 168 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 177 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 188 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 157 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 158 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 193 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 164 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 169 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
static |
Image dimension constants
Definition at line 73 of file itkVotingBinaryHoleFillFloodingImageFilter.h.