![]() |
ITK
4.4.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryOpeningByReconstructionImageFilter.h>
binary morphological closing of an image.
This filter removes small (i.e., smaller than the structuring element) objects in the image. It is defined as: Opening(f) = ReconstructionByDilatation(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 implementation was taken from the Insight Journal paper: http://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176
Definition at line 49 of file itkBinaryOpeningByReconstructionImageFilter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::Pointer | InputImagePointer |
typedef TInputImage | InputImageType |
typedef TKernel | KernelType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TInputImage | OutputImageType |
typedef TInputImage::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef BinaryOpeningByReconstructionImageFilter | Self |
typedef KernelImageFilter < TInputImage, TInputImage, TKernel > | Superclass |
![]() | |
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 TInputImage | OutputImageType |
typedef TInputImage::PixelType | OutputPixelType |
typedef SmartPointer< Self > | Pointer |
typedef TInputImage::SizeType | RadiusType |
typedef TInputImage::RegionType | RegionType |
typedef KernelImageFilter | Self |
typedef TInputImage::SizeType | SizeType |
typedef BoxImageFilter < TInputImage, TInputImage > | Superclass |
![]() | |
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 |
![]() | |
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 |
![]() | |
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 |
![]() | |
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 |
![]() | |
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 Pointer | New () |
![]() | |
static Pointer | New () |
Private Member Functions | |
BinaryOpeningByReconstructionImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
PixelType | m_BackgroundValue |
PixelType | m_ForegroundValue |
bool | m_FullyConnected |
Additional Inherited Members | |
![]() | |
static const unsigned int | ImageDimension |
![]() | |
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) |
![]() | |
KernelType | m_Kernel |
typedef SmartPointer<const Self> itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::ConstPointer |
Definition at line 58 of file itkBinaryOpeningByReconstructionImageFilter.h.
typedef InputImageType::Pointer itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::InputImagePointer |
Definition at line 69 of file itkBinaryOpeningByReconstructionImageFilter.h.
typedef TInputImage itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::InputImageType |
Definition at line 65 of file itkBinaryOpeningByReconstructionImageFilter.h.
typedef TKernel itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::KernelType |
Kernel typedef.
Definition at line 76 of file itkBinaryOpeningByReconstructionImageFilter.h.
typedef OutputImageType::RegionType itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::OutputImageRegionType |
Definition at line 70 of file itkBinaryOpeningByReconstructionImageFilter.h.
typedef TInputImage itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::OutputImageType |
Definition at line 68 of file itkBinaryOpeningByReconstructionImageFilter.h.
typedef TInputImage::PixelType itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::PixelType |
Declaration of pixel type.
Definition at line 73 of file itkBinaryOpeningByReconstructionImageFilter.h.
typedef SmartPointer<Self> itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::Pointer |
Definition at line 57 of file itkBinaryOpeningByReconstructionImageFilter.h.
typedef BinaryOpeningByReconstructionImageFilter itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::Self |
Standard class typedefs.
Definition at line 54 of file itkBinaryOpeningByReconstructionImageFilter.h.
typedef KernelImageFilter<TInputImage, TInputImage, TKernel> itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::Superclass |
Definition at line 56 of file itkBinaryOpeningByReconstructionImageFilter.h.
|
protected |
|
inlineprotected |
Definition at line 105 of file itkBinaryOpeningByReconstructionImageFilter.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::BoxImageFilter< TInputImage, TOutputImage >.
|
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.
|
protectedvirtual |
Single-threaded version of GenerateData. This filter delegates to GrayscaleDilateImageFilter GrayscaleErodeImageFilter.
Reimplemented from itk::ImageSource< TOutputImage >.
|
protectedvirtual |
BinaryOpeningByReconstructionImageFilter need to make sure they request enough of an input image to account for the structuring element size. The input requested region is expanded by the radius of the structuring element. If the request extends past the LargestPossibleRegion for the input, the request is cropped by the LargestPossibleRegion.
Reimplemented from itk::BoxImageFilter< TInputImage, 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 |
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::KernelImageFilter< TInputImage, TInputImage, 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::BoxImageFilter< TInputImage, TOutputImage >.
|
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.
|
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.
|
private |
Definition at line 125 of file itkBinaryOpeningByReconstructionImageFilter.h.
|
private |
Definition at line 123 of file itkBinaryOpeningByReconstructionImageFilter.h.
|
private |
Definition at line 127 of file itkBinaryOpeningByReconstructionImageFilter.h.