ITK
5.0.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.
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | IndexType = typename InputImageType::IndexType |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = typename Superclass::InputImageType |
using | InputSizeType = typename Superclass::InputSizeType |
using | OffsetValueType = typename InputImageType::OffsetValueType |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = typename Superclass::OutputImageType |
using | Pointer = SmartPointer< Self > |
using | Self = VotingBinaryHoleFillFloodingImageFilter |
using | Superclass = VotingBinaryImageFilter< TInputImage, TOutputImage > |
Public Types inherited from itk::VotingBinaryImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | InputPixelType = typename InputImageType::PixelType |
using | InputSizeType = typename InputImageType::SizeType |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | OutputPixelType = typename OutputImageType::PixelType |
using | Pointer = SmartPointer< Self > |
using | Self = VotingBinaryImageFilter |
using | Superclass = ImageToImageFilter< InputImageType, OutputImageType > |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | Pointer = SmartPointer< Self > |
using | Self = ImageToImageFilter |
using | Superclass = ImageSource< TOutputImage > |
Public Types inherited from itk::ImageSource< TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = ImageSource |
using | Superclass = ProcessObject |
Public Types inherited from itk::ProcessObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArray = std::vector< DataObjectPointer > |
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
using | MultiThreaderType = MultiThreaderBase |
using | NameArray = std::vector< DataObjectIdentifierType > |
using | Pointer = SmartPointer< Self > |
using | Self = ProcessObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
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 constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::VotingBinaryImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Types | |
using | NeighborhoodType = itk::Neighborhood< InputImagePixelType, InputImageDimension > |
using | NeighborOffsetArrayType = std::vector< OffsetValueType > |
using | SeedArrayType = std::vector< IndexType > |
using | SeedMaskImagePointer = typename SeedMaskImageType::Pointer |
using | SeedMaskImageType = itk::Image< unsigned char, InputImageDimension > |
using | SeedNewValuesArrayType = std::vector< OutputImagePixelType > |
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 | PasteNewSeedValuesToOutputImage () |
void | PutCurrentPixelNeighborsIntoSeedArray () |
virtual void | SetCurrentPixelIndex (IndexType _arg) |
void | SwapSeedArrays () |
bool | TestForQuorumAtCurrentPixel () const |
void | VisitAllSeedsAndTransitionTheirState () |
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 > | |
using | InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension > |
using | OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension > |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ImageSource< TOutputImage > | |
bool | m_DynamicMultiThreading |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
using itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 50 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
using itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::IndexType = typename InputImageType::IndexType |
Definition at line 63 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
using itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::InputImageConstPointer = typename InputImageType::ConstPointer |
Definition at line 60 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
using itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::InputImagePixelType = typename InputImageType::PixelType |
Definition at line 62 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
using itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::InputImagePointer = typename InputImageType::Pointer |
Definition at line 59 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
using itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::InputImageRegionType = typename InputImageType::RegionType |
Definition at line 61 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
using itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::InputImageType = typename Superclass::InputImageType |
Definition at line 58 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
using itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::InputSizeType = typename Superclass::InputSizeType |
Definition at line 71 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 192 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 176 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
using itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::OffsetValueType = typename InputImageType::OffsetValueType |
Definition at line 64 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
using itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::OutputImagePixelType = typename OutputImageType::PixelType |
Definition at line 69 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
using itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::OutputImagePointer = typename OutputImageType::Pointer |
Definition at line 67 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
using itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::OutputImageRegionType = typename OutputImageType::RegionType |
Definition at line 68 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
using itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::OutputImageType = typename Superclass::OutputImageType |
Definition at line 66 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
using itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 49 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 152 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 188 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 187 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 159 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
using itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::Self = VotingBinaryHoleFillFloodingImageFilter |
Standard class type alias.
Definition at line 47 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
using itk::VotingBinaryHoleFillFloodingImageFilter< TInputImage, TOutputImage >::Superclass = VotingBinaryImageFilter<TInputImage,TOutputImage> |
Definition at line 48 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
protected |
Begin concept checking End concept checking
|
overrideprotected |
|
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 |
|
overrideprotectedvirtual |
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 DynamicThreadedGenerateData(). 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 can be threaded, it should NOT provide a GenerateData() method but should provide a DynamicThreadedGenerateData() 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 |
|
overrideprotectedvirtual |
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 74 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 163 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 168 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 184 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 157 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 148 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 164 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 178 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 194 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 165 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 174 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 185 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 154 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 155 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 190 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 161 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
private |
Definition at line 166 of file itkVotingBinaryHoleFillFloodingImageFilter.h.
|
static |
Definition at line 75 of file itkVotingBinaryHoleFillFloodingImageFilter.h.