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

#include <otbExtractSegmentsImageFilter.h>

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

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef TInputImage InputImageType
 
typedef InputImageType::PixelType InputPixelType
 
typedef LineSpatialObjectList LinesListType
 
typedef TOutputImage OutputImageType
 
typedef OutputImageType::PixelType OutputPixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef TInputImage PSOutputImageType
 
typedef ExtractSegmentsImageFilter Self
 
typedef InputImageType::SizeType SizeType
 
typedef
itk::ImageToImageFilter
< InputImageType,
OutputImageType
Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
float GetFillGapsAngularBeam ()
 
float GetFillGapsRadius ()
 
const InputImageTypeGetInputImage ()
 
const InputImageTypeGetInputImageDirection ()
 
virtual OutputImageType::PixelType GetLineValue ()
 
float GetLocalHoughDiscRadius ()
 
unsigned int GetLocalHoughNumberOfLines ()
 
const SizeType GetLocalHoughRadius ()
 
float GetLocalHoughVariance ()
 
virtual const char * GetNameOfClass () const
 
float GetPixelSuppressionAngularBeam ()
 
const SizeType GetPixelSuppressionRadius ()
 
void SetFillGapsAngularBeam (float AngularBeam)
 
void SetFillGapsRadius (float Radius)
 
void SetInputImage (const InputImageType *image)
 
void SetInputImageDirection (const InputImageType *image)
 
virtual void SetLineValue (typename OutputImageType::PixelType _arg)
 
void SetLocalHoughDiscRadius (float DiscRadius)
 
void SetLocalHoughNumberOfLines (unsigned int Radius)
 
void SetLocalHoughRadius (SizeType Radius)
 
void SetLocalHoughVariance (float Variance)
 
void SetPixelSuppressionAngularBeam (float AngularBeam)
 
void SetPixelSuppressionRadius (SizeType Radius)
 

Static Public Member Functions

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

Static Public Attributes

static const unsigned int InputImageDimension = TInputImage::ImageDimension
 
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension
 

Protected Types

typedef
DrawLineSpatialObjectListFilter
< InputImageType,
OutputImageType
DrawLineListType
 
typedef FillGapsFilter FillGapsType
 
typedef LocalHoughFilter
< InputImageType
LocalHoughType
 
typedef
PixelSuppressionByDirectionImageFilter
< InputImageType,
PSOutputImageType
PixelSuppressionType
 
typedef
itk::RescaleIntensityImageFilter
< TInputImage, TInputImage > 
RescaleType
 

Protected Member Functions

 ExtractSegmentsImageFilter ()
 
virtual ~ExtractSegmentsImageFilter ()
 
virtual void GenerateData ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const
 

Private Member Functions

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

Private Attributes

DrawLineListType::Pointer m_DrawLineList
 
FillGapsType::Pointer m_FillGaps
 
OutputImageType::PixelType m_LineValue
 
LocalHoughType::Pointer m_LocalHough
 
PixelSuppressionType::Pointer m_PixelSuppression
 
RescaleType::Pointer m_Rescaler
 

Detailed Description

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

This class implements a composite filter that generate an image of segments primitives. It combines four filters :

Definition at line 47 of file otbExtractSegmentsImageFilter.h.

Member Typedef Documentation

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

Definition at line 67 of file otbExtractSegmentsImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef DrawLineSpatialObjectListFilter<InputImageType, OutputImageType> otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::DrawLineListType
protected

Definition at line 134 of file otbExtractSegmentsImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef FillGapsFilter otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::FillGapsType
protected

Definition at line 133 of file otbExtractSegmentsImageFilter.h.

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

Definition at line 59 of file otbExtractSegmentsImageFilter.h.

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

Definition at line 71 of file otbExtractSegmentsImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef LineSpatialObjectList otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::LinesListType

Definition of the list of lines.

Definition at line 79 of file otbExtractSegmentsImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef LocalHoughFilter<InputImageType> otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::LocalHoughType
protected

Definition at line 132 of file otbExtractSegmentsImageFilter.h.

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

Definition at line 60 of file otbExtractSegmentsImageFilter.h.

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

Definition at line 76 of file otbExtractSegmentsImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef PixelSuppressionByDirectionImageFilter<InputImageType, PSOutputImageType> otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::PixelSuppressionType
protected

Definition at line 131 of file otbExtractSegmentsImageFilter.h.

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

Definition at line 66 of file otbExtractSegmentsImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef TInputImage otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::PSOutputImageType

Definition at line 62 of file otbExtractSegmentsImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef itk::RescaleIntensityImageFilter<TInputImage, TInputImage> otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::RescaleType
protected

Definition at line 135 of file otbExtractSegmentsImageFilter.h.

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

Definition at line 64 of file otbExtractSegmentsImageFilter.h.

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

Definition at line 74 of file otbExtractSegmentsImageFilter.h.

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

Definition at line 65 of file otbExtractSegmentsImageFilter.h.

Constructor & Destructor Documentation

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

Definition at line 31 of file otbExtractSegmentsImageFilter.txx.

template<class TInputImage, class TOutputImage>
virtual otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::~ExtractSegmentsImageFilter ( )
inlineprotectedvirtual

Definition at line 129 of file otbExtractSegmentsImageFilter.h.

template<class TInputImage, class TOutputImage>
otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::ExtractSegmentsImageFilter ( const Self )
private

Member Function Documentation

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

Definition at line 215 of file otbExtractSegmentsImageFilter.txx.

template<class TInputImage , class TOutputImage >
float otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::GetFillGapsAngularBeam ( )

Definition at line 207 of file otbExtractSegmentsImageFilter.txx.

template<class TInputImage , class TOutputImage >
float otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::GetFillGapsRadius ( )

Definition at line 192 of file otbExtractSegmentsImageFilter.txx.

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

Definition at line 58 of file otbExtractSegmentsImageFilter.txx.

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

Definition at line 77 of file otbExtractSegmentsImageFilter.txx.

template<class TInputImage, class TOutputImage>
virtual OutputImageType::PixelType otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::GetLineValue ( )
virtual

Set/Get the value of the drawed line

template<class TInputImage , class TOutputImage >
float otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::GetLocalHoughDiscRadius ( )

Definition at line 159 of file otbExtractSegmentsImageFilter.txx.

template<class TInputImage , class TOutputImage >
unsigned int otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::GetLocalHoughNumberOfLines ( )

Definition at line 144 of file otbExtractSegmentsImageFilter.txx.

template<class TInputImage , class TOutputImage >
const ExtractSegmentsImageFilter< TInputImage, TOutputImage >::SizeType otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::GetLocalHoughRadius ( )

Definition at line 129 of file otbExtractSegmentsImageFilter.txx.

template<class TInputImage , class TOutputImage >
float otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::GetLocalHoughVariance ( )

Definition at line 174 of file otbExtractSegmentsImageFilter.txx.

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

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage , class TOutputImage >
float otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::GetPixelSuppressionAngularBeam ( )

Definition at line 111 of file otbExtractSegmentsImageFilter.txx.

template<class TInputImage , class TOutputImage >
const ExtractSegmentsImageFilter< TInputImage, TOutputImage >::SizeType otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::GetPixelSuppressionRadius ( )

Definition at line 96 of file otbExtractSegmentsImageFilter.txx.

template<class TInputImage, class TOutputImage>
static Pointer otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::New ( )
static
template<class TInputImage, class TOutputImage>
void otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::operator= ( const Self )
private
template<class TInputImage , class TOutput >
void otb::ExtractSegmentsImageFilter< TInputImage, TOutput >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
protected

Standard "PrintSelf" method

Definition at line 243 of file otbExtractSegmentsImageFilter.txx.

template<class TInputImage , class TOutputImage >
void otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::SetFillGapsAngularBeam ( float  AngularBeam)

Set/Get Angular Beam between two segments in the fill gaps filter.

Definition at line 199 of file otbExtractSegmentsImageFilter.txx.

template<class TInputImage , class TOutputImage >
void otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::SetFillGapsRadius ( float  Radius)

Set/Get the radius between two segments in the fill gaps filter.

Set/Get FillGapsFilter parameters

Definition at line 184 of file otbExtractSegmentsImageFilter.txx.

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

Set/Get the image input of this filter.

Set/Get image input

Definition at line 50 of file otbExtractSegmentsImageFilter.txx.

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

Set/Get the image direction of this filter.

Set/Get image direction input

Definition at line 69 of file otbExtractSegmentsImageFilter.txx.

template<class TInputImage, class TOutputImage>
virtual void otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::SetLineValue ( typename OutputImageType::PixelType  _arg)
virtual
template<class TInputImage , class TOutputImage >
void otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::SetLocalHoughDiscRadius ( float  DiscRadius)

Set/Get the radius of the disc to remove from the accumulator for each line found

Definition at line 151 of file otbExtractSegmentsImageFilter.txx.

template<class TInputImage , class TOutputImage >
void otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::SetLocalHoughNumberOfLines ( unsigned int  Radius)

Set/Get the number of lines we are looking for in the local hough filter.

Definition at line 136 of file otbExtractSegmentsImageFilter.txx.

template<class TInputImage , class TOutputImage >
void otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::SetLocalHoughRadius ( SizeType  Radius)

Set/Get the radius used to define the region of local hough filter.

Set/Get LocalHoughFilter parameters

Definition at line 121 of file otbExtractSegmentsImageFilter.txx.

template<class TInputImage , class TOutputImage >
void otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::SetLocalHoughVariance ( float  Variance)

Set/Get the variance of the gaussian bluring for the accumulator

Definition at line 166 of file otbExtractSegmentsImageFilter.txx.

template<class TInputImage , class TOutputImage >
void otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::SetPixelSuppressionAngularBeam ( float  AngularBeam)

Set/Get Angular Accuracy on the direction of the central pixel for the pixel suppression by direction image filter.

Definition at line 103 of file otbExtractSegmentsImageFilter.txx.

template<class TInputImage , class TOutputImage >
void otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::SetPixelSuppressionRadius ( SizeType  Radius)

Set/Get the radius of the region of the pixel suppression by direction image filter.

Set/Get PixelSuppressionyDirectionImageFilter parameters

Definition at line 88 of file otbExtractSegmentsImageFilter.txx.

Member Data Documentation

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

Definition at line 54 of file otbExtractSegmentsImageFilter.h.

template<class TInputImage, class TOutputImage>
DrawLineListType::Pointer otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::m_DrawLineList
private

Definition at line 149 of file otbExtractSegmentsImageFilter.h.

template<class TInputImage, class TOutputImage>
FillGapsType::Pointer otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::m_FillGaps
private

Definition at line 148 of file otbExtractSegmentsImageFilter.h.

template<class TInputImage, class TOutputImage>
OutputImageType::PixelType otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::m_LineValue
private

Definition at line 144 of file otbExtractSegmentsImageFilter.h.

template<class TInputImage, class TOutputImage>
LocalHoughType::Pointer otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::m_LocalHough
private

Definition at line 147 of file otbExtractSegmentsImageFilter.h.

template<class TInputImage, class TOutputImage>
PixelSuppressionType::Pointer otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::m_PixelSuppression
private

Definition at line 146 of file otbExtractSegmentsImageFilter.h.

template<class TInputImage, class TOutputImage>
RescaleType::Pointer otb::ExtractSegmentsImageFilter< TInputImage, TOutputImage >::m_Rescaler
private

Definition at line 150 of file otbExtractSegmentsImageFilter.h.

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

Definition at line 57 of file otbExtractSegmentsImageFilter.h.


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