Orfeo ToolBox  4.2
Orfeo ToolBox is not a black box
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
otb::NonMaxRemovalByDirectionFilter< TInputModulus, TInputDirection, TOutputImage > Class Template Reference

This filters removes (sets to null intensity) pixels which are not the maxima of the scalar product modulus value in the given direction. More...

#include <otbNonMaxRemovalByDirectionFilter.h>

+ Inheritance diagram for otb::NonMaxRemovalByDirectionFilter< TInputModulus, TInputDirection, TOutputImage >:
+ Collaboration diagram for otb::NonMaxRemovalByDirectionFilter< TInputModulus, TInputDirection, TOutputImage >:

Public Types

typedef
otb::BinaryFunctorNeighborhoodImageFilter
< TInputModulus,
TInputDirection, TOutputImage,
FunctorType
ComputingFilterType
 
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
Functor::NonMaxRemovalByDirectionFunctor
< typename
itk::ConstNeighborhoodIterator
< TInputModulus >, typename
itk::ConstNeighborhoodIterator
< TInputDirection >, typename
TOutputImage::PixelType > 
FunctorType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
NonMaxRemovalByDirectionFilter 
Self
 
typedef
ModulusAndDirectionImageToImageFilter
< TInputModulus,
TInputDirection, TOutputImage > 
Superclass
 
- Public Types inherited from otb::ModulusAndDirectionImageToImageFilter< TInputModulus, TInputDirection, TOutputImage >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef TInputDirection InputImageDirectionType
 
typedef Superclass::InputImageType InputImageType
 
typedef Superclass::OutputImageType OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
ModulusAndDirectionImageToImageFilter 
Self
 
typedef
itk::ImageToImageFilter
< TInputModulus, TOutputImage > 
Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from otb::ModulusAndDirectionImageToImageFilter< TInputModulus, TInputDirection, TOutputImage >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
const InputImageTypeGetInput (void)
 
const InputImageDirectionTypeGetInputDirection (void)
 
virtual void SetInput (const InputImageType *input)
 
virtual void SetInputDirection (const InputImageDirectionType *direction)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from otb::ModulusAndDirectionImageToImageFilter< TInputModulus, TInputDirection, TOutputImage >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageSource< TOutputImage >
static const
ImageRegionSplitterBase
GetGlobalDefaultSplitter (void)
 

Protected Member Functions

 NonMaxRemovalByDirectionFilter ()
 
virtual ~NonMaxRemovalByDirectionFilter ()
 
virtual void GenerateData (void)
 
virtual void PrintSelf (std::ostream &os, itk::Indent indent) const
 
- Protected Member Functions inherited from otb::ModulusAndDirectionImageToImageFilter< TInputModulus, TInputDirection, TOutputImage >
 ModulusAndDirectionImageToImageFilter ()
 
virtual ~ModulusAndDirectionImageToImageFilter ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const
 

Private Member Functions

 NonMaxRemovalByDirectionFilter (const Self &)
 
void operator= (const Self &)
 

Additional Inherited Members

- Static Public Attributes inherited from otb::ModulusAndDirectionImageToImageFilter< TInputModulus, TInputDirection, TOutputImage >
static const unsigned int InputImageDimension
 
static const unsigned int OutputImageDimension
 

Detailed Description

template<class TInputModulus, class TInputDirection, class TOutputImage>
class otb::NonMaxRemovalByDirectionFilter< TInputModulus, TInputDirection, TOutputImage >

This filters removes (sets to null intensity) pixels which are not the maxima of the scalar product modulus value in the given direction.

Examples:
FeatureExtraction/ExtractRoadByStepsExample.cxx.

Definition at line 103 of file otbNonMaxRemovalByDirectionFilter.h.

Member Typedef Documentation

template<class TInputModulus , class TInputDirection , class TOutputImage >
typedef otb::BinaryFunctorNeighborhoodImageFilter<TInputModulus, TInputDirection, TOutputImage, FunctorType> otb::NonMaxRemovalByDirectionFilter< TInputModulus, TInputDirection, TOutputImage >::ComputingFilterType

Definition at line 126 of file otbNonMaxRemovalByDirectionFilter.h.

template<class TInputModulus , class TInputDirection , class TOutputImage >
typedef itk::SmartPointer<const Self> otb::NonMaxRemovalByDirectionFilter< TInputModulus, TInputDirection, TOutputImage >::ConstPointer

Definition at line 111 of file otbNonMaxRemovalByDirectionFilter.h.

template<class TInputModulus , class TInputDirection , class TOutputImage >
typedef Functor::NonMaxRemovalByDirectionFunctor< typename itk::ConstNeighborhoodIterator<TInputModulus>, typename itk::ConstNeighborhoodIterator<TInputDirection>, typename TOutputImage::PixelType> otb::NonMaxRemovalByDirectionFilter< TInputModulus, TInputDirection, TOutputImage >::FunctorType

typedef of the computing filter (this allows us to derive from ModulusAndDirectionToImageFilter as well as using the BinaryFunctorNeighBorhoodImageFilter, which is appropriate here

Definition at line 117 of file otbNonMaxRemovalByDirectionFilter.h.

template<class TInputModulus , class TInputDirection , class TOutputImage >
typedef itk::SmartPointer<Self> otb::NonMaxRemovalByDirectionFilter< TInputModulus, TInputDirection, TOutputImage >::Pointer

Definition at line 110 of file otbNonMaxRemovalByDirectionFilter.h.

template<class TInputModulus , class TInputDirection , class TOutputImage >
typedef NonMaxRemovalByDirectionFilter otb::NonMaxRemovalByDirectionFilter< TInputModulus, TInputDirection, TOutputImage >::Self

Standard typedefs

Definition at line 108 of file otbNonMaxRemovalByDirectionFilter.h.

template<class TInputModulus , class TInputDirection , class TOutputImage >
typedef ModulusAndDirectionImageToImageFilter<TInputModulus, TInputDirection, TOutputImage> otb::NonMaxRemovalByDirectionFilter< TInputModulus, TInputDirection, TOutputImage >::Superclass

Definition at line 109 of file otbNonMaxRemovalByDirectionFilter.h.

Constructor & Destructor Documentation

template<class TInputModulus , class TInputDirection , class TOutputImage >
otb::NonMaxRemovalByDirectionFilter< TInputModulus, TInputDirection, TOutputImage >::NonMaxRemovalByDirectionFilter ( )
inlineprotected

Constructor

Definition at line 130 of file otbNonMaxRemovalByDirectionFilter.h.

template<class TInputModulus , class TInputDirection , class TOutputImage >
virtual otb::NonMaxRemovalByDirectionFilter< TInputModulus, TInputDirection, TOutputImage >::~NonMaxRemovalByDirectionFilter ( )
inlineprotectedvirtual

Destructor

Definition at line 132 of file otbNonMaxRemovalByDirectionFilter.h.

template<class TInputModulus , class TInputDirection , class TOutputImage >
otb::NonMaxRemovalByDirectionFilter< TInputModulus, TInputDirection, TOutputImage >::NonMaxRemovalByDirectionFilter ( const Self )
private

Member Function Documentation

template<class TInputModulus , class TInputDirection , class TOutputImage >
virtual::itk::LightObject::Pointer otb::NonMaxRemovalByDirectionFilter< TInputModulus, TInputDirection, TOutputImage >::CreateAnother ( void  ) const
template<class TInputModulus , class TInputDirection , class TOutputImage >
virtual void otb::NonMaxRemovalByDirectionFilter< TInputModulus, TInputDirection, TOutputImage >::GenerateData ( void  )
inlineprotectedvirtual

Main computation method

Definition at line 139 of file otbNonMaxRemovalByDirectionFilter.h.

template<class TInputModulus , class TInputDirection , class TOutputImage >
virtual const char* otb::NonMaxRemovalByDirectionFilter< TInputModulus, TInputDirection, TOutputImage >::GetNameOfClass ( ) const
virtual

Creation through object factory macro

Reimplemented from otb::ModulusAndDirectionImageToImageFilter< TInputModulus, TInputDirection, TOutputImage >.

template<class TInputModulus , class TInputDirection , class TOutputImage >
static Pointer otb::NonMaxRemovalByDirectionFilter< TInputModulus, TInputDirection, TOutputImage >::New ( )
static

Type macro

template<class TInputModulus , class TInputDirection , class TOutputImage >
void otb::NonMaxRemovalByDirectionFilter< TInputModulus, TInputDirection, TOutputImage >::operator= ( const Self )
private
template<class TInputModulus , class TInputDirection , class TOutputImage >
virtual void otb::NonMaxRemovalByDirectionFilter< TInputModulus, TInputDirection, TOutputImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
inlineprotectedvirtual

PrintSelf method

Definition at line 134 of file otbNonMaxRemovalByDirectionFilter.h.


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