#include <itkOpeningByReconstructionImageFilter.h>
Inheritance diagram for itk::OpeningByReconstructionImageFilter< TInputImage, TOutputImage, TKernel >:
Public Types | |
typedef OpeningByReconstructionImageFilter | Self |
typedef ImageToImageFilter< TInputImage, TOutputImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage | InputImageType |
typedef TOutputImage | OutputImageType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef InputImageType::PixelType | InputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::ConstPointer | OutputImageConstPointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef TKernel | KernelType |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
virtual void | SetKernel (KernelType _arg) |
virtual const KernelType & | GetKernel () |
itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension) | |
itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension) | |
virtual void | SetFullyConnected (bool _arg) |
virtual const bool & | GetFullyConnected () |
virtual void | FullyConnectedOn () |
virtual void | FullyConnectedOff () |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
OpeningByReconstructionImageFilter () | |
~OpeningByReconstructionImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | GenerateInputRequestedRegion () |
void | EnlargeOutputRequestedRegion (DataObject *) |
void | GenerateData () |
This filter preserves regions, in the foreground, that can completely contain the structuring element. At the same time, this filter eliminates all other regions of foreground pixels. Contrary to the mophological opening, the opening by reconstruction preserves the shape of the components that are not removed by erosion. The opening by reconstruction of an image "f" is defined as:
OpeningByReconstruction(f) = DilationByRecontruction(f, Erosion(f)).
Opening by reconstruction is described in Chapter 6.3.9 of Pierre Soille's book "Morphological Image Analysis: Principles and Applications", Second Edition, Springer, 2003.
Definition at line 47 of file itkOpeningByReconstructionImageFilter.h.
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 56 of file itkOpeningByReconstructionImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 62 of file itkOpeningByReconstructionImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 64 of file itkOpeningByReconstructionImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 61 of file itkOpeningByReconstructionImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 63 of file itkOpeningByReconstructionImageFilter.h. |
|
Some convenient typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 59 of file itkOpeningByReconstructionImageFilter.h. |
|
Kernel typedef. Definition at line 71 of file itkOpeningByReconstructionImageFilter.h. Referenced by itk::OpeningByReconstructionImageFilter< TInputImage, TOutputImage, TKernel >::~OpeningByReconstructionImageFilter(). |
|
Definition at line 66 of file itkOpeningByReconstructionImageFilter.h. |
|
Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 68 of file itkOpeningByReconstructionImageFilter.h. |
|
Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 65 of file itkOpeningByReconstructionImageFilter.h. |
|
Superclass typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 67 of file itkOpeningByReconstructionImageFilter.h. |
|
Some convenient typedefs. Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 60 of file itkOpeningByReconstructionImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 55 of file itkOpeningByReconstructionImageFilter.h. |
|
Standard class typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 52 of file itkOpeningByReconstructionImageFilter.h. Referenced by itk::OpeningByReconstructionImageFilter< TInputImage, TOutputImage, TKernel >::~OpeningByReconstructionImageFilter(). |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 54 of file itkOpeningByReconstructionImageFilter.h. |
|
|
|
|
OpeningByReconstructionImageFilter will produce the entire output. Reimplemented from itk::ProcessObject. |
|
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. |
|
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. |
|
A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.
Reimplemented from itk::ImageSource< TOutputImage >. |
|
OpeningByReconstructionImageFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion(). Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
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. |
|
Get the kernel (structuring element). |
|
Runtime information support. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
ImageDimension constants Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
ImageDimension constants Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Standard New method. Reimplemented from itk::Object. |
|
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, TOutputImage >. |
|
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. |
|
Set kernel (structuring element). |