ITK
6.0.0
Insight Toolkit
|
#include <itkBinaryThinningImageFilter.h>
This filter computes one-pixel-wide edges of the input image.
This class is parameterized 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 62 of file itkBinaryThinningImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static double | GetGlobalDefaultCoordinateTolerance () |
static double | GetGlobalDefaultDirectionTolerance () |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static void | SetGlobalDefaultDirectionTolerance (double) |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
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 |
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 >::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: Skeleton 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.
|
overrideprotectedvirtual |
Compute thinning Image.
Reimplemented from itk::ImageSource< TOutputImage >.
|
overridevirtual |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
OutputImageType * itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::GetThinning | ( | ) |
Get Skeleton by thinning image.
|
static |
Method for creation through the object factory
|
protected |
Prepare data.
|
staticconstexpr |
ImageDimension enumeration
Definition at line 114 of file itkBinaryThinningImageFilter.h.
|
staticconstexpr |
Definition at line 115 of file itkBinaryThinningImageFilter.h.