ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryPruningImageFilter.h>
This filter removes "spurs" of less than a certain length in the input image.
This class is parametrized over the type of the input image and the type of the output image.
The input is assumed to be a binary image.
This filter is a sequential pruning algorithm and known to be computational time dependable of the image size. The algorithm is the N-dimensional version of that given for two dimensions in:
Rafael C. Gonzales and Richard E. Woods. Digital Image Processing. Addison Wesley, 491-494, (1993).
Definition at line 54 of file itkBinaryPruningImageFilter.h.
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | IndexType = typename RegionType::IndexType |
using | InputImagePointer = typename InputImageType::ConstPointer |
using | InputImageType = TInputImage |
using | NeighborhoodIteratorType = NeighborhoodIterator< TInputImage > |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageType = TOutputImage |
using | PixelType = typename InputImageType::PixelType |
using | Pointer = SmartPointer< Self > |
using | RegionType = typename InputImageType::RegionType |
using | Self = BinaryPruningImageFilter |
using | SizeType = typename RegionType::SizeType |
using | Superclass = ImageToImageFilter< TInputImage, TOutputImage > |
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::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::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 Attributes | |
unsigned int | m_Iteration |
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::BinaryPruningImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer< const Self > |
Definition at line 64 of file itkBinaryPruningImageFilter.h.
using itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::IndexType = typename RegionType::IndexType |
Type for the index of the input image.
Definition at line 82 of file itkBinaryPruningImageFilter.h.
using itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::InputImagePointer = typename InputImageType::ConstPointer |
Pointer Type for input image.
Definition at line 91 of file itkBinaryPruningImageFilter.h.
using itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::InputImageType = TInputImage |
Type for input image.
Definition at line 73 of file itkBinaryPruningImageFilter.h.
using itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::NeighborhoodIteratorType = NeighborhoodIterator< TInputImage > |
Neighborhood iterator type
Definition at line 97 of file itkBinaryPruningImageFilter.h.
using itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::OutputImagePointer = typename OutputImageType::Pointer |
Pointer Type for the output image.
Definition at line 94 of file itkBinaryPruningImageFilter.h.
using itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::OutputImageType = TOutputImage |
Type for output image: Skelenton of the object.
Definition at line 76 of file itkBinaryPruningImageFilter.h.
using itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::PixelType = typename InputImageType::PixelType |
Type for the index of the input image.
Definition at line 85 of file itkBinaryPruningImageFilter.h.
using itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer< Self > |
Definition at line 63 of file itkBinaryPruningImageFilter.h.
using itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::RegionType = typename InputImageType::RegionType |
Type for the region of the input image.
Definition at line 79 of file itkBinaryPruningImageFilter.h.
using itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::Self = BinaryPruningImageFilter |
Standard class type aliases.
Definition at line 61 of file itkBinaryPruningImageFilter.h.
using itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::SizeType = typename RegionType::SizeType |
Type for the size of the input image.
Definition at line 88 of file itkBinaryPruningImageFilter.h.
using itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::Superclass = ImageToImageFilter< TInputImage, TOutputImage > |
Definition at line 62 of file itkBinaryPruningImageFilter.h.
|
protected |
|
overrideprotecteddefault |
|
protected |
Compute thinning Image.
|
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.
|
overrideprotectedvirtual |
Compute thinning Image.
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
Set/Get the iteration value
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
OutputImageType* itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::GetPruning | ( | ) |
Get Skelenton by thinning image.
|
static |
Method for creation through the object factory
|
protected |
Prepare data.
|
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::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get the iteration value
|
static |
ImageDimension enumeration
Definition at line 108 of file itkBinaryPruningImageFilter.h.
|
private |
Definition at line 141 of file itkBinaryPruningImageFilter.h.
|
static |
Definition at line 109 of file itkBinaryPruningImageFilter.h.