![]() |
ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryFillholeImageFilter.h>
Remove holes not connected to the boundary of the image.
BinaryFillholeImageFilter fills holes in a binary image.
Geodesic morphology and the Fillhole algorithm is described in Chapter 6 of Pierre Soille's book "Morphological Image Analysis: Principles and Applications", Second Edition, Springer, 2003.
This implementation was taken from the Insight Journal paper: https://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176
Definition at line 45 of file itkBinaryFillholeImageFilter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef OutputImageType::ConstPointer | OutputImageConstPointer |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TInputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef BinaryFillholeImageFilter | Self |
typedef ImageToImageFilter < TInputImage, TInputImage > | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef SmartPointer< Self > | Pointer |
typedef ImageToImageFilter | Self |
typedef ImageSource< TInputImage > | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TInputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ImageSource | Self |
typedef ProcessObject | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef MultiThreader | MultiThreaderType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
typedef SmartPointer< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = OutputImageType::ImageDimension |
![]() | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
![]() | |
static const unsigned int | OutputImageDimension |
Private Attributes | |
InputImagePixelType | m_ForegroundValue |
bool | m_FullyConnected |
Additional Inherited Members | |
![]() | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
![]() | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
![]() | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
![]() | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer<const Self> itk::BinaryFillholeImageFilter< TInputImage >::ConstPointer |
Definition at line 53 of file itkBinaryFillholeImageFilter.h.
typedef InputImageType::ConstPointer itk::BinaryFillholeImageFilter< TInputImage >::InputImageConstPointer |
Definition at line 59 of file itkBinaryFillholeImageFilter.h.
typedef InputImageType::PixelType itk::BinaryFillholeImageFilter< TInputImage >::InputImagePixelType |
Definition at line 61 of file itkBinaryFillholeImageFilter.h.
typedef InputImageType::Pointer itk::BinaryFillholeImageFilter< TInputImage >::InputImagePointer |
Definition at line 58 of file itkBinaryFillholeImageFilter.h.
typedef InputImageType::RegionType itk::BinaryFillholeImageFilter< TInputImage >::InputImageRegionType |
Definition at line 60 of file itkBinaryFillholeImageFilter.h.
typedef TInputImage itk::BinaryFillholeImageFilter< TInputImage >::InputImageType |
Some convenient typedefs.
Definition at line 56 of file itkBinaryFillholeImageFilter.h.
typedef OutputImageType::ConstPointer itk::BinaryFillholeImageFilter< TInputImage >::OutputImageConstPointer |
Definition at line 63 of file itkBinaryFillholeImageFilter.h.
typedef OutputImageType::PixelType itk::BinaryFillholeImageFilter< TInputImage >::OutputImagePixelType |
Definition at line 65 of file itkBinaryFillholeImageFilter.h.
typedef OutputImageType::Pointer itk::BinaryFillholeImageFilter< TInputImage >::OutputImagePointer |
Definition at line 62 of file itkBinaryFillholeImageFilter.h.
typedef OutputImageType::RegionType itk::BinaryFillholeImageFilter< TInputImage >::OutputImageRegionType |
Definition at line 64 of file itkBinaryFillholeImageFilter.h.
typedef TInputImage itk::BinaryFillholeImageFilter< TInputImage >::OutputImageType |
Definition at line 57 of file itkBinaryFillholeImageFilter.h.
typedef SmartPointer<Self> itk::BinaryFillholeImageFilter< TInputImage >::Pointer |
Definition at line 52 of file itkBinaryFillholeImageFilter.h.
typedef BinaryFillholeImageFilter itk::BinaryFillholeImageFilter< TInputImage >::Self |
Standard class typedefs.
Definition at line 50 of file itkBinaryFillholeImageFilter.h.
typedef ImageToImageFilter<TInputImage, TInputImage> itk::BinaryFillholeImageFilter< TInputImage >::Superclass |
Definition at line 51 of file itkBinaryFillholeImageFilter.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 109 of file itkBinaryFillholeImageFilter.h.
|
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 |
BinaryFillholeImageFilter will produce the entire output.
Reimplemented from itk::ProcessObject.
|
virtual |
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.
|
virtual |
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.
|
overrideprotectedvirtual |
Single-threaded version of GenerateData. This filter delegates to GrayscaleGeodesicErodeImageFilter.
Reimplemented from itk::ImageSource< TInputImage >.
|
overrideprotectedvirtual |
BinaryFillholeImageFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
|
virtual |
Get the value in the image considered as "foreground". Defaults to maximum value of InputPixelType.
|
virtual |
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.
|
virtual |
Runtime information support.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
|
static |
Standard New method.
|
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, TInputImage >.
|
virtual |
Set the value in the image to consider as "foreground". Defaults to maximum value of InputPixelType.
|
virtual |
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.
|
static |
ImageDimension constants
Definition at line 69 of file itkBinaryFillholeImageFilter.h.
|
private |
Definition at line 125 of file itkBinaryFillholeImageFilter.h.
|
private |
Definition at line 129 of file itkBinaryFillholeImageFilter.h.
|
static |
ImageDimension constants
Definition at line 71 of file itkBinaryFillholeImageFilter.h.