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::ImageToVectorImageCastFilter< TInputImage, TOutputVectorImage > Class Template Reference

This is a helper class that convert an otb::Image into a single-channel otb::VectorImage. More...

#include <otbImageToVectorImageCastFilter.h>

+ Inheritance diagram for otb::ImageToVectorImageCastFilter< TInputImage, TOutputVectorImage >:
+ Collaboration diagram for otb::ImageToVectorImageCastFilter< TInputImage, TOutputVectorImage >:

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef
ImageToVectorImageCastFilter 
Self
 Standard class typedefs. More...
 
typedef
itk::UnaryFunctorImageFilter
< TInputImage,
TOutputVectorImage,
Functor::VectorCast< typename
TInputImage::PixelType,
typename
TOutputVectorImage::PixelType > > 
Superclass
 
- Public Types inherited from itk::UnaryFunctorImageFilter< TInputImage, TOutputVectorImage, Functor::VectorCast< TInputImage::PixelType, TOutputVectorImage::PixelType > >
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef Functor::VectorCast
< TInputImage::PixelType,
TOutputVectorImage::PixelType > 
FunctorType
 
typedef Functor::VectorCast
< TInputImage::PixelType,
TOutputVectorImage::PixelType > 
FunctorType
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef
InputImageType::ConstPointer 
InputImagePointer
 
typedef
InputImageType::ConstPointer 
InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef TInputImage InputImageType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TOutputVectorImage OutputImageType
 
typedef TOutputVectorImage OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< SelfPointer
 
typedef UnaryFunctorImageFilter Self
 
typedef UnaryFunctorImageFilter Self
 
typedef InPlaceImageFilter
< TInputImage,
TOutputVectorImage > 
Superclass
 
typedef InPlaceImageFilter
< TInputImage,
TOutputVectorImage > 
Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 Runtime information. More...
 
- Public Member Functions inherited from itk::UnaryFunctorImageFilter< TInputImage, TOutputVectorImage, Functor::VectorCast< TInputImage::PixelType, TOutputVectorImage::PixelType > >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
FunctorTypeGetFunctor ()
 
const FunctorTypeGetFunctor () const
 
FunctorTypeGetFunctor ()
 
const FunctorTypeGetFunctor () const
 
void SetFunctor (const FunctorType &functor)
 
void SetFunctor (const FunctorType &functor)
 

Static Public Member Functions

static Pointer New ()
 Method for creation through the object factory. More...
 
- Static Public Member Functions inherited from itk::UnaryFunctorImageFilter< TInputImage, TOutputVectorImage, Functor::VectorCast< TInputImage::PixelType, TOutputVectorImage::PixelType > >
static Pointer New ()
 
static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageSource< TOutputImage >
static const
ImageRegionSplitterBase
GetGlobalDefaultSplitter (void)
 

Protected Member Functions

 ImageToVectorImageCastFilter ()
 Constructor. More...
 
virtual ~ImageToVectorImageCastFilter ()
 Detructor. More...
 
virtual void GenerateInputRequestedRegion (void)
 Copy output requested region to input requested region. More...
 
virtual void GenerateOutputInformation (void)
 Additionnal output information for allocation. More...
 
- Protected Member Functions inherited from itk::UnaryFunctorImageFilter< TInputImage, TOutputVectorImage, Functor::VectorCast< TInputImage::PixelType, TOutputVectorImage::PixelType > >
 UnaryFunctorImageFilter ()
 
 UnaryFunctorImageFilter ()
 
virtual ~UnaryFunctorImageFilter ()
 
virtual ~UnaryFunctorImageFilter ()
 
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 

Private Member Functions

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

Detailed Description

template<class TInputImage, class TOutputVectorImage>
class otb::ImageToVectorImageCastFilter< TInputImage, TOutputVectorImage >

This is a helper class that convert an otb::Image into a single-channel otb::VectorImage.

Examples:
Fusion/BayesianFusionImageFilter.cxx, and Fusion/PanSharpeningExample.cxx.

Definition at line 67 of file otbImageToVectorImageCastFilter.h.

Member Typedef Documentation

template<class TInputImage , class TOutputVectorImage >
typedef itk::SmartPointer<const Self> otb::ImageToVectorImageCastFilter< TInputImage, TOutputVectorImage >::ConstPointer

Definition at line 80 of file otbImageToVectorImageCastFilter.h.

template<class TInputImage , class TOutputVectorImage >
typedef itk::SmartPointer<Self> otb::ImageToVectorImageCastFilter< TInputImage, TOutputVectorImage >::Pointer

Definition at line 79 of file otbImageToVectorImageCastFilter.h.

template<class TInputImage , class TOutputVectorImage >
typedef ImageToVectorImageCastFilter otb::ImageToVectorImageCastFilter< TInputImage, TOutputVectorImage >::Self

Standard class typedefs.

Definition at line 74 of file otbImageToVectorImageCastFilter.h.

template<class TInputImage , class TOutputVectorImage >
typedef itk::UnaryFunctorImageFilter<TInputImage, TOutputVectorImage, Functor::VectorCast<typename TInputImage::PixelType, typename TOutputVectorImage ::PixelType> > otb::ImageToVectorImageCastFilter< TInputImage, TOutputVectorImage >::Superclass

Definition at line 78 of file otbImageToVectorImageCastFilter.h.

Constructor & Destructor Documentation

template<class TInputImage , class TOutputVectorImage >
otb::ImageToVectorImageCastFilter< TInputImage, TOutputVectorImage >::ImageToVectorImageCastFilter ( )
inlineprotected

Constructor.

Definition at line 90 of file otbImageToVectorImageCastFilter.h.

template<class TInputImage , class TOutputVectorImage >
virtual otb::ImageToVectorImageCastFilter< TInputImage, TOutputVectorImage >::~ImageToVectorImageCastFilter ( )
inlineprotectedvirtual

Detructor.

Definition at line 92 of file otbImageToVectorImageCastFilter.h.

template<class TInputImage , class TOutputVectorImage >
otb::ImageToVectorImageCastFilter< TInputImage, TOutputVectorImage >::ImageToVectorImageCastFilter ( const Self )
private

Member Function Documentation

template<class TInputImage , class TOutputVectorImage >
virtual::itk::LightObject::Pointer otb::ImageToVectorImageCastFilter< TInputImage, TOutputVectorImage >::CreateAnother ( void  ) const
template<class TInputImage , class TOutputVectorImage >
virtual void otb::ImageToVectorImageCastFilter< TInputImage, TOutputVectorImage >::GenerateInputRequestedRegion ( void  )
inlineprotectedvirtual

Copy output requested region to input requested region.

Definition at line 100 of file otbImageToVectorImageCastFilter.h.

template<class TInputImage , class TOutputVectorImage >
virtual void otb::ImageToVectorImageCastFilter< TInputImage, TOutputVectorImage >::GenerateOutputInformation ( void  )
inlineprotectedvirtual
template<class TInputImage , class TOutputVectorImage >
virtual const char* otb::ImageToVectorImageCastFilter< TInputImage, TOutputVectorImage >::GetNameOfClass ( ) const
virtual
template<class TInputImage , class TOutputVectorImage >
static Pointer otb::ImageToVectorImageCastFilter< TInputImage, TOutputVectorImage >::New ( )
static

Method for creation through the object factory.

template<class TInputImage , class TOutputVectorImage >
void otb::ImageToVectorImageCastFilter< TInputImage, TOutputVectorImage >::operator= ( const Self )
private

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