ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryThinningImageFilter.h>
This filter computes one-pixel-wide edges of 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. If the foreground pixels of the input image do not have a value of 1, they are rescaled to 1 internally to simplify the computation.
The filter will produce a skeleton of the object. The output background values are 0, and the foreground values are 1.
This filter is a sequential thinning algorithm and known to be computational time dependable on the image size. The algorithm corresponds with the 2D implementation described in:
Rafael C. Gonzales and Richard E. Woods. Digital Image Processing. Addison Wesley, 491-494, (1993).
To do: Make this filter ND.
Definition at line 61 of file itkBinaryThinningImageFilter.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 | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageType = TOutputImage |
using | PixelType = typename InputImageType::PixelType |
using | Pointer = SmartPointer< Self > |
using | RegionType = typename InputImageType::RegionType |
using | Self = BinaryThinningImageFilter |
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 |
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::BinaryThinningImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer< const Self > |
Definition at line 71 of file itkBinaryThinningImageFilter.h.
using itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::IndexType = typename RegionType::IndexType |
Type for the index of the input image.
Definition at line 89 of file itkBinaryThinningImageFilter.h.
using itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::InputImagePointer = typename InputImageType::ConstPointer |
Pointer Type for input image.
Definition at line 98 of file itkBinaryThinningImageFilter.h.
using itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::InputImageType = TInputImage |
Type for input image.
Definition at line 80 of file itkBinaryThinningImageFilter.h.
using itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::NeighborhoodIteratorType = NeighborhoodIterator< TInputImage > |
Neighborhood iterator type
Definition at line 107 of file itkBinaryThinningImageFilter.h.
using itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::OutputImagePixelType = typename Superclass::OutputImagePixelType |
Superclass type alias.
Definition at line 104 of file itkBinaryThinningImageFilter.h.
using itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::OutputImagePointer = typename OutputImageType::Pointer |
Pointer Type for the output image.
Definition at line 101 of file itkBinaryThinningImageFilter.h.
using itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::OutputImageType = TOutputImage |
Type for output image: Skelenton of the object.
Definition at line 83 of file itkBinaryThinningImageFilter.h.
using itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::PixelType = typename InputImageType::PixelType |
Type for the index of the input image.
Definition at line 92 of file itkBinaryThinningImageFilter.h.
using itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer< Self > |
Definition at line 70 of file itkBinaryThinningImageFilter.h.
using itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::RegionType = typename InputImageType::RegionType |
Type for the region of the input image.
Definition at line 86 of file itkBinaryThinningImageFilter.h.
using itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::Self = BinaryThinningImageFilter |
Standard class type aliases.
Definition at line 68 of file itkBinaryThinningImageFilter.h.
using itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::SizeType = typename RegionType::SizeType |
Type for the size of the input image.
Definition at line 95 of file itkBinaryThinningImageFilter.h.
using itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::Superclass = ImageToImageFilter< TInputImage, TOutputImage > |
Definition at line 69 of file itkBinaryThinningImageFilter.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 |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
OutputImageType* itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::GetThinning | ( | ) |
Get Skelenton by thinning image.
|
static |
Method for creation through the object factory
|
protected |
Prepare data.
|
static |
ImageDimension enumeration
Definition at line 113 of file itkBinaryThinningImageFilter.h.
|
static |
Definition at line 114 of file itkBinaryThinningImageFilter.h.