OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | List of all members
otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel > Class Template Reference

#include <otbOpeningClosingMorphologicalFilter.h>

+ Inheritance diagram for otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >:
+ Collaboration diagram for otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef InputImageType::Pointer InputImagePointer
 
typedef TInputImage InputImageType
 
typedef TKernel KernelType
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef TInputImage::PixelType PixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef OpeningClosingMorphologicalFilter Self
 
typedef itk::ImageToImageFilter< TInputImage, TOutputImage > Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 

Static Public Member Functions

static Pointer New ()
 
KernelType m_Kernel
 
virtual void SetKernel (KernelType _arg)
 
virtual const KernelTypeGetKernel () const
 
 OpeningClosingMorphologicalFilter ()
 
 ~OpeningClosingMorphologicalFilter () override
 
void GenerateData () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 OpeningClosingMorphologicalFilter (const Self &)=delete
 
void operator= (const Self &)=delete
 

Detailed Description

template<class TInputImage, class TOutputImage, class TKernel>
class otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >

This filter implements an opening grayscale morphological operation followed by a closing grayscale morphological operation. It tends to simplify image by obliterating details with a lower extent than the structuring element.

This filter implements an opening grayscale morphological operation followed by a closing grayscale morphological operation. It tends to simplify image by obliterating details with a lower extent than the structuring element.

This filter can be used in the morphological pyramid analyse filter. Due to the order of composition of the two basic morphological operation, the filtered details are dark on a brighter background.

See also
ClosingOpeningMorphologicalFilter

Definition at line 47 of file otbOpeningClosingMorphologicalFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<class TInputImage , class TOutputImage , class TKernel >
typedef itk::SmartPointer<const Self> otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >::ConstPointer

Definition at line 55 of file otbOpeningClosingMorphologicalFilter.h.

◆ InputImagePointer

template<class TInputImage , class TOutputImage , class TKernel >
typedef InputImageType::Pointer otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >::InputImagePointer

Useful typedefs

Definition at line 69 of file otbOpeningClosingMorphologicalFilter.h.

◆ InputImageType

template<class TInputImage , class TOutputImage , class TKernel >
typedef TInputImage otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >::InputImageType

Template parameter typedefs

Definition at line 61 of file otbOpeningClosingMorphologicalFilter.h.

◆ KernelType

template<class TInputImage , class TOutputImage , class TKernel >
typedef TKernel otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >::KernelType

Definition at line 66 of file otbOpeningClosingMorphologicalFilter.h.

◆ OutputImageRegionType

template<class TInputImage , class TOutputImage , class TKernel >
typedef OutputImageType::RegionType otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >::OutputImageRegionType

Definition at line 70 of file otbOpeningClosingMorphologicalFilter.h.

◆ OutputImageType

template<class TInputImage , class TOutputImage , class TKernel >
typedef TOutputImage otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >::OutputImageType

Definition at line 65 of file otbOpeningClosingMorphologicalFilter.h.

◆ PixelType

template<class TInputImage , class TOutputImage , class TKernel >
typedef TInputImage::PixelType otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >::PixelType

Definition at line 71 of file otbOpeningClosingMorphologicalFilter.h.

◆ Pointer

template<class TInputImage , class TOutputImage , class TKernel >
typedef itk::SmartPointer<Self> otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >::Pointer

Definition at line 54 of file otbOpeningClosingMorphologicalFilter.h.

◆ Self

template<class TInputImage , class TOutputImage , class TKernel >
typedef OpeningClosingMorphologicalFilter otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >::Self

Standard typedefs

Definition at line 52 of file otbOpeningClosingMorphologicalFilter.h.

◆ Superclass

template<class TInputImage , class TOutputImage , class TKernel >
typedef itk::ImageToImageFilter<TInputImage, TOutputImage> otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >::Superclass

Definition at line 53 of file otbOpeningClosingMorphologicalFilter.h.

Constructor & Destructor Documentation

◆ OpeningClosingMorphologicalFilter() [1/2]

template<class TInputImage , class TOutputImage , class TKernel >
otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >::OpeningClosingMorphologicalFilter ( )
protected

Constructor

◆ ~OpeningClosingMorphologicalFilter()

template<class TInputImage , class TOutputImage , class TKernel >
otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >::~OpeningClosingMorphologicalFilter ( )
inlineoverrideprotected

Destructor

Definition at line 83 of file otbOpeningClosingMorphologicalFilter.h.

◆ OpeningClosingMorphologicalFilter() [2/2]

template<class TInputImage , class TOutputImage , class TKernel >
otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >::OpeningClosingMorphologicalFilter ( const Self )
privatedelete

Morphological operation kernel

Member Function Documentation

◆ CreateAnother()

template<class TInputImage , class TOutputImage , class TKernel >
virtual::itk::LightObject::Pointer otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >::CreateAnother ( void  ) const

◆ GenerateData()

template<class TInputImage , class TOutputImage , class TKernel >
void otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >::GenerateData ( )
overrideprotected

Main computation method

◆ GetKernel()

template<class TInputImage , class TOutputImage , class TKernel >
virtual const KernelType& otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >::GetKernel ( ) const
virtual

Morphological operation kernel

◆ GetNameOfClass()

template<class TInputImage , class TOutputImage , class TKernel >
virtual const char* otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >::GetNameOfClass ( ) const
virtual

Type macro

◆ New()

template<class TInputImage , class TOutputImage , class TKernel >
static Pointer otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >::New ( )
static

Creation through object factory macro

◆ operator=()

template<class TInputImage , class TOutputImage , class TKernel >
void otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >::operator= ( const Self )
privatedelete

Morphological operation kernel

◆ PrintSelf()

template<class TInputImage , class TOutputImage , class TKernel >
void otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotected

PrintSelf method

◆ SetKernel()

template<class TInputImage , class TOutputImage , class TKernel >
virtual void otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >::SetKernel ( KernelType  _arg)
virtual

Kernel accessors

Member Data Documentation

◆ m_Kernel

template<class TInputImage , class TOutputImage , class TKernel >
KernelType otb::OpeningClosingMorphologicalFilter< TInputImage, TOutputImage, TKernel >::m_Kernel
private

Morphological operation kernel

Definition at line 100 of file otbOpeningClosingMorphologicalFilter.h.


The documentation for this class was generated from the following file: