ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryMorphologicalClosingImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::Pointer | InputImagePointer |
typedef TInputImage | InputImageType |
typedef TInputImage::PixelType | InputPixelType |
typedef TKernel | KernelType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef TInputImage::PixelType | OutputPixelType |
typedef SmartPointer< Self > | Pointer |
typedef BinaryMorphologicalClosingImageFilter | Self |
typedef KernelImageFilter < TInputImage, TOutputImage, TKernel > | Superclass |
Public Types inherited from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel > | |
typedef FlatStructuringElement < itkGetStaticConstMacro(ImageDimension) > | FlatKernelType |
typedef TInputImage::IndexType | IndexType |
typedef TInputImage::OffsetType | OffsetType |
typedef TInputImage::SizeType | RadiusType |
typedef TInputImage::RegionType | RegionType |
typedef TInputImage::SizeType | SizeType |
Public Types inherited from itk::BoxImageFilter< TInputImage, TOutputImage > | |
typedef TInputImage::SizeValueType | RadiusValueType |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::RegionType | InputImageRegionType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
Public Types inherited from itk::ImageSource< TOutputImage > | |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef OutputImageType::Pointer | OutputImagePointer |
Public Types inherited from itk::ProcessObject | |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef std::vector < DataObjectIdentifierType > | NameArray |
Public Types inherited from itk::Object | |
Public Types inherited from itk::LightObject |
Static Public Member Functions | |
static Pointer | New () |
Private Member Functions | |
BinaryMorphologicalClosingImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
InputPixelType | m_ForegroundValue |
bool | m_SafeBorder |
virtual void | SetSafeBorder (bool _arg) |
virtual const bool & | GetSafeBorder () |
virtual void | SafeBorderOn () |
virtual void | SafeBorderOff () |
BinaryMorphologicalClosingImageFilter () | |
~BinaryMorphologicalClosingImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
Additional Inherited Members | |
Static Public Attributes inherited from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel > | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::BoxImageFilter< TInputImage, TOutputImage > | |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
KernelType | m_Kernel |
binary morphological closing of an image.
This filter removes small (i.e., smaller than the structuring element) holes and tube like structures in the interior or at the boundaries of the image. The morphological closing of an image "f" is defined as: Closing(f) = Erosion(Dilation(f)).
The structuring element is assumed to be composed of binary values (zero or one). Only elements of the structuring element having values > 0 are candidates for affecting the center pixel.
This code was contributed in the Insight Journal paper: "Binary morphological closing and opening image filters" by Lehmann G. http://hdl.handle.net/1926/141 http://www.insight-journal.org/browse/publication/58
Definition at line 55 of file itkBinaryMorphologicalClosingImageFilter.h.
typedef SmartPointer< const Self > itk::BinaryMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::ConstPointer |
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 63 of file itkBinaryMorphologicalClosingImageFilter.h.
typedef InputImageType::Pointer itk::BinaryMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::InputImagePointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 74 of file itkBinaryMorphologicalClosingImageFilter.h.
typedef TInputImage itk::BinaryMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::InputImageType |
Image related typedefs.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 70 of file itkBinaryMorphologicalClosingImageFilter.h.
typedef TInputImage::PixelType itk::BinaryMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::InputPixelType |
Declaration of pixel type.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 78 of file itkBinaryMorphologicalClosingImageFilter.h.
typedef TKernel itk::BinaryMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::KernelType |
Kernel typedef.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 82 of file itkBinaryMorphologicalClosingImageFilter.h.
typedef OutputImageType::RegionType itk::BinaryMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 75 of file itkBinaryMorphologicalClosingImageFilter.h.
typedef TOutputImage itk::BinaryMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 73 of file itkBinaryMorphologicalClosingImageFilter.h.
typedef TInputImage::PixelType itk::BinaryMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::OutputPixelType |
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 79 of file itkBinaryMorphologicalClosingImageFilter.h.
typedef SmartPointer< Self > itk::BinaryMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::Pointer |
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 62 of file itkBinaryMorphologicalClosingImageFilter.h.
typedef BinaryMorphologicalClosingImageFilter itk::BinaryMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::Self |
Standard class typedefs.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 60 of file itkBinaryMorphologicalClosingImageFilter.h.
typedef KernelImageFilter< TInputImage, TOutputImage, TKernel > itk::BinaryMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::Superclass |
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 61 of file itkBinaryMorphologicalClosingImageFilter.h.
|
protected |
A safe border is added to input image to avoid borders effects and remove it once the closing is done
|
inlineprotected |
A safe border is added to input image to avoid borders effects and remove it once the closing is done
Definition at line 99 of file itkBinaryMorphologicalClosingImageFilter.h.
|
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::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
|
protectedvirtual |
Single-threaded version of GenerateData. This filter delegates to GrayscaleDilateImageFilter GrayscaleErodeImageFilter.
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
Get the value in the image considered as "foreground". Defaults to maximum value of InputPixelType.
|
virtual |
Runtime information support.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
|
virtual |
A safe border is added to input image to avoid borders effects and remove it once the closing is done
|
static |
Standard New method.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
|
private |
kernel or structuring element to use.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
|
protectedvirtual |
A safe border is added to input image to avoid borders effects and remove it once the closing is done
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
|
virtual |
A safe border is added to input image to avoid borders effects and remove it once the closing is done
|
virtual |
A safe border is added to input image to avoid borders effects and remove it once the closing is done
|
virtual |
Set the value in the image to consider as "foreground". Defaults to maximum value of InputPixelType.
|
virtual |
A safe border is added to input image to avoid borders effects and remove it once the closing is done
|
private |
Definition at line 113 of file itkBinaryMorphologicalClosingImageFilter.h.
|
private |
Definition at line 115 of file itkBinaryMorphologicalClosingImageFilter.h.