ITK
4.4.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryMorphologicalOpeningImageFilter.h>
binary morphological opening of an image.
This filter removes small (i.e., smaller than the structuring element) structures in the interior or at the boundaries of the image. The morphological opening of an image "f" is defined as: Opening(f) = Dilatation(Erosion(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 itkBinaryMorphologicalOpeningImageFilter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::Pointer | InputImagePointer |
typedef TInputImage | InputImageType |
typedef TKernel | KernelType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef TInputImage::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef BinaryMorphologicalOpeningImageFilter | Self |
typedef KernelImageFilter < TInputImage, TOutputImage, TKernel > | Superclass |
Public Types inherited from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef FlatStructuringElement < itkGetStaticConstMacro(ImageDimension) > | FlatKernelType |
typedef TInputImage::IndexType | IndexType |
typedef TInputImage | InputImageType |
typedef TInputImage::PixelType | InputPixelType |
typedef TKernel | KernelType |
typedef TInputImage::OffsetType | OffsetType |
typedef TOutputImage | OutputImageType |
typedef TOutputImage::PixelType | OutputPixelType |
typedef SmartPointer< Self > | Pointer |
typedef TInputImage::SizeType | RadiusType |
typedef TInputImage::RegionType | RegionType |
typedef KernelImageFilter | Self |
typedef TInputImage::SizeType | SizeType |
typedef BoxImageFilter < TInputImage, TOutputImage > | Superclass |
Public Types inherited from itk::BoxImageFilter< TInputImage, TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage::IndexType | IndexType |
typedef TInputImage | InputImageType |
typedef TInputImage::PixelType | InputPixelType |
typedef TInputImage::OffsetType | OffsetType |
typedef TOutputImage | OutputImageType |
typedef TOutputImage::PixelType | OutputPixelType |
typedef SmartPointer< Self > | Pointer |
typedef TInputImage::SizeType | RadiusType |
typedef TInputImage::SizeValueType | RadiusValueType |
typedef TInputImage::RegionType | RegionType |
typedef BoxImageFilter | Self |
typedef TInputImage::SizeType | SizeType |
typedef ImageToImageFilter < TInputImage, TOutputImage > | Superclass |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
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< TOutputImage > | Superclass |
Public Types inherited from itk::ImageSource< TOutputImage > | |
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 TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ImageSource | Self |
typedef ProcessObject | Superclass |
Public Types inherited from itk::ProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
typedef SmartPointer< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::BoxImageFilter< TInputImage, TOutputImage > | |
static Pointer | New () |
Private Member Functions | |
BinaryMorphologicalOpeningImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
PixelType | m_BackgroundValue |
PixelType | m_ForegroundValue |
Additional Inherited Members | |
Static Public Attributes inherited from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel > | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel > | |
KernelType | m_Kernel |
typedef SmartPointer< const Self > itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::ConstPointer |
Definition at line 63 of file itkBinaryMorphologicalOpeningImageFilter.h.
typedef InputImageType::Pointer itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::InputImagePointer |
Definition at line 74 of file itkBinaryMorphologicalOpeningImageFilter.h.
typedef TInputImage itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::InputImageType |
Definition at line 70 of file itkBinaryMorphologicalOpeningImageFilter.h.
typedef TKernel itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::KernelType |
Kernel typedef.
Definition at line 81 of file itkBinaryMorphologicalOpeningImageFilter.h.
typedef OutputImageType::RegionType itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::OutputImageRegionType |
Definition at line 75 of file itkBinaryMorphologicalOpeningImageFilter.h.
typedef TOutputImage itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::OutputImageType |
Definition at line 73 of file itkBinaryMorphologicalOpeningImageFilter.h.
typedef TInputImage::PixelType itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::PixelType |
Declaration of pixel type.
Definition at line 78 of file itkBinaryMorphologicalOpeningImageFilter.h.
typedef SmartPointer< Self > itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::Pointer |
Definition at line 62 of file itkBinaryMorphologicalOpeningImageFilter.h.
typedef BinaryMorphologicalOpeningImageFilter itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::Self |
Standard class typedefs.
Definition at line 60 of file itkBinaryMorphologicalOpeningImageFilter.h.
typedef KernelImageFilter< TInputImage, TOutputImage, TKernel > itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::Superclass |
Definition at line 61 of file itkBinaryMorphologicalOpeningImageFilter.h.
|
protected |
|
inlineprotected |
Definition at line 99 of file itkBinaryMorphologicalOpeningImageFilter.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 |
Set the value in eroded part of the image. Defaults to zero
|
virtual |
Get the value in the image considered as "foreground". Defaults to maximum value of PixelType.
|
virtual |
Runtime information support.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
|
static |
Standard New method.
|
private |
|
protectedvirtual |
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::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
|
virtual |
Set the value in eroded part of the image. Defaults to zero
|
virtual |
Set the value in the image to consider as "foreground". Defaults to maximum value of PixelType.
|
private |
Definition at line 114 of file itkBinaryMorphologicalOpeningImageFilter.h.
|
private |
Definition at line 112 of file itkBinaryMorphologicalOpeningImageFilter.h.