OTB  9.0.0
Orfeo Toolbox
List of all members
otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage > Class Template Reference

#include <otbPixelSuppressionByDirectionImageFilter.h>

+ Inheritance diagram for otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >:
typedef TInputImage InputImageType
 
typedef TOutputImage OutputImageType
 
typedef PixelSuppressionByDirectionImageFilter Self
 
typedef itk::ImageToImageFilter< InputImageType, OutputImageTypeSuperclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef InputImageType::PixelType InputPixelType
 
typedef OutputImageType::PixelType OutputPixelType
 
typedef itk::NumericTraits< InputPixelType >::RealType InputRealType
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef InputImageType::SizeType SizeType
 
static const unsigned int InputImageDimension = TInputImage::ImageDimension
 
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
SizeType m_Radius
 
InputRealType m_AngularBeam
 
static Pointer New ()
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
virtual void SetRadius (SizeType _arg)
 
virtual const SizeTypeGetRadius () const
 
virtual void SetAngularBeam (InputRealType _arg)
 
virtual const InputRealTypeGetAngularBeam () const
 
void SetInputImage (const InputImageType *image)
 
const InputImageTypeGetInputImage (void)
 
void SetInputImageDirection (const InputImageType *image)
 
const InputImageTypeGetInputImageDirection (void)
 
void GenerateInputRequestedRegion () override
 
 PixelSuppressionByDirectionImageFilter ()
 
 ~PixelSuppressionByDirectionImageFilter () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override
 
 PixelSuppressionByDirectionImageFilter (const Self &)=delete
 
void operator= (const Self &)=delete
 

Detailed Description

template<class TInputImage, class TOutputImage>
class otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >

Application of a filter of suppression of isolated pixels, not belonging to a line, strating from the directions of pixels.

This class implements an image filter which detects isolated pixels that have little chance of belonging to a raod and performs a pixel suppression. For each pixel kept with direction $ \theta_{i} $, we look for other pixels with a direction close to $ \theta_i $ in an angular beam around it. If none is found, the pixel is suppressed.

This filter is the first step to generate an image of segments primitives. It starts from the two output images of the line detector image filters which are the image of intensity of detection and the image of direction.

Definition at line 51 of file otbPixelSuppressionByDirectionImageFilter.h.

Member Typedef Documentation

◆ ConstPointer

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

typedef for the classes standards.

Definition at line 66 of file otbPixelSuppressionByDirectionImageFilter.h.

◆ InputImageRegionType

template<class TInputImage , class TOutputImage >
typedef InputImageType::RegionType otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::InputImageRegionType

typedef for the classes standards.

Definition at line 80 of file otbPixelSuppressionByDirectionImageFilter.h.

◆ InputImageType

template<class TInputImage , class TOutputImage >
typedef TInputImage otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::InputImageType

typedef for the classes standards.

Definition at line 59 of file otbPixelSuppressionByDirectionImageFilter.h.

◆ InputPixelType

template<class TInputImage , class TOutputImage >
typedef InputImageType::PixelType otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::InputPixelType

Definition of the input and output images

Definition at line 72 of file otbPixelSuppressionByDirectionImageFilter.h.

◆ InputRealType

template<class TInputImage , class TOutputImage >
typedef itk::NumericTraits<InputPixelType>::RealType otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::InputRealType

typedef for the classes standards.

Definition at line 78 of file otbPixelSuppressionByDirectionImageFilter.h.

◆ OutputImageRegionType

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

typedef for the classes standards.

Definition at line 81 of file otbPixelSuppressionByDirectionImageFilter.h.

◆ OutputImageType

template<class TInputImage , class TOutputImage >
typedef TOutputImage otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::OutputImageType

typedef for the classes standards.

Definition at line 60 of file otbPixelSuppressionByDirectionImageFilter.h.

◆ OutputPixelType

template<class TInputImage , class TOutputImage >
typedef OutputImageType::PixelType otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::OutputPixelType

typedef for the classes standards.

Definition at line 76 of file otbPixelSuppressionByDirectionImageFilter.h.

◆ Pointer

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

typedef for the classes standards.

Definition at line 65 of file otbPixelSuppressionByDirectionImageFilter.h.

◆ Self

template<class TInputImage , class TOutputImage >
typedef PixelSuppressionByDirectionImageFilter otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::Self

typedef for the classes standards.

Definition at line 63 of file otbPixelSuppressionByDirectionImageFilter.h.

◆ SizeType

template<class TInputImage , class TOutputImage >
typedef InputImageType::SizeType otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::SizeType

typedef for the classes standards.

Definition at line 83 of file otbPixelSuppressionByDirectionImageFilter.h.

◆ Superclass

template<class TInputImage , class TOutputImage >
typedef itk::ImageToImageFilter<InputImageType, OutputImageType> otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::Superclass

typedef for the classes standards.

Definition at line 64 of file otbPixelSuppressionByDirectionImageFilter.h.

Constructor & Destructor Documentation

◆ PixelSuppressionByDirectionImageFilter() [1/2]

template<class TInputImage , class TOutputImage >
otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::PixelSuppressionByDirectionImageFilter
protected

typedef for the classes standards.

Definition at line 43 of file otbPixelSuppressionByDirectionImageFilter.hxx.

◆ ~PixelSuppressionByDirectionImageFilter()

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

typedef for the classes standards.

Definition at line 109 of file otbPixelSuppressionByDirectionImageFilter.h.

◆ PixelSuppressionByDirectionImageFilter() [2/2]

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

typedef for the classes standards.

Member Function Documentation

◆ CreateAnother()

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

typedef for the classes standards.

◆ GenerateInputRequestedRegion()

template<class TInputImage , class TOutputImage >
void otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion
override

typedef for the classes standards.

Definition at line 87 of file otbPixelSuppressionByDirectionImageFilter.hxx.

◆ GetAngularBeam()

template<class TInputImage , class TOutputImage >
virtual const InputRealType& otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::GetAngularBeam ( ) const
virtual

Get the angular beam.

◆ GetInputImage()

template<class TInputImage , class TOutputImage >
const PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::InputImageType * otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::GetInputImage ( void  )

typedef for the classes standards.

Definition at line 64 of file otbPixelSuppressionByDirectionImageFilter.hxx.

◆ GetInputImageDirection()

template<class TInputImage , class TOutputImage >
const PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::InputImageType * otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::GetInputImageDirection ( void  )

typedef for the classes standards.

Definition at line 76 of file otbPixelSuppressionByDirectionImageFilter.hxx.

◆ GetNameOfClass()

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

Return the nale of the class.

◆ GetRadius()

template<class TInputImage , class TOutputImage >
virtual const SizeType& otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::GetRadius ( ) const
virtual

Get the radius of one zone.

◆ New()

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

Method for management of the "object factory".

◆ operator=()

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

typedef for the classes standards.

◆ PrintSelf()

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

Standard "PrintSelf" method

Definition at line 277 of file otbPixelSuppressionByDirectionImageFilter.hxx.

◆ SetAngularBeam()

template<class TInputImage , class TOutputImage >
virtual void otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::SetAngularBeam ( InputRealType  _arg)
virtual

Set the angular beam.

◆ SetInputImage()

template<class TInputImage , class TOutputImage >
void otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::SetInputImage ( const InputImageType image)

Set/Get the image input of this process object.

Definition at line 51 of file otbPixelSuppressionByDirectionImageFilter.hxx.

◆ SetInputImageDirection()

template<class TInputImage , class TOutputImage >
void otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::SetInputImageDirection ( const InputImageType image)

typedef for the classes standards.

Definition at line 57 of file otbPixelSuppressionByDirectionImageFilter.hxx.

◆ SetRadius()

template<class TInputImage , class TOutputImage >
virtual void otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::SetRadius ( SizeType  _arg)
virtual

Set the radius of one zone.

◆ ThreadedGenerateData()

template<class TInputImage , class TOutputImage >
void otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData ( const OutputImageRegionType outputRegionForThread,
itk::ThreadIdType  threadId 
)
overrideprotected

typedef for the classes standards.

Definition at line 135 of file otbPixelSuppressionByDirectionImageFilter.hxx.

References otb::CONST_PI, and otb::CONST_PI_2.

Member Data Documentation

◆ InputImageDimension

template<class TInputImage , class TOutputImage >
const unsigned int otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::InputImageDimension = TInputImage::ImageDimension
static

Extract input and output image dimensions

Definition at line 55 of file otbPixelSuppressionByDirectionImageFilter.h.

◆ m_AngularBeam

template<class TInputImage , class TOutputImage >
InputRealType otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::m_AngularBeam
private

typedef for the classes standards.

Definition at line 123 of file otbPixelSuppressionByDirectionImageFilter.h.

◆ m_Radius

template<class TInputImage , class TOutputImage >
SizeType otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::m_Radius
private

typedef for the classes standards.

Definition at line 121 of file otbPixelSuppressionByDirectionImageFilter.h.

◆ OutputImageDimension

template<class TInputImage , class TOutputImage >
const unsigned int otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::OutputImageDimension = TOutputImage::ImageDimension
static

typedef for the classes standards.

Definition at line 56 of file otbPixelSuppressionByDirectionImageFilter.h.


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