OTB  7.3.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members

#include <otbTileImageFilter.h>

+ Inheritance diagram for otb::TileImageFilter< TImage >:
+ Collaboration diagram for otb::TileImageFilter< TImage >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef ImageType::Pointer ImagePointerType
 
typedef TImage ImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ImageType::RegionType RegionType
 
typedef TileImageFilter Self
 
typedef ImageType::SizeType SizeType
 
typedef itk::ImageToImageFilter< TImage, TImage > Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const SizeTypeGetLayout () const
 
virtual const char * GetNameOfClass () const
 
virtual void SetLayout (SizeType _arg)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

void GenerateInputRequestedRegion () override
 
void GenerateOutputInformation () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
void ThreadedGenerateData (const RegionType &outputRegionForThread, itk::ThreadIdType threadId) override
 
 TileImageFilter ()
 
void VerifyInputInformation () override
 
 ~TileImageFilter () override
 

Private Member Functions

RegionType InputRegionToOutputRegion (unsigned int tileIndex, const RegionType &requestedRegion)
 
void operator= (const Self &)=delete
 
RegionType OutputRegionToInputRegion (unsigned int tileIndex, const RegionType &requestedRegion)
 
 TileImageFilter (const Self &)=delete
 

Private Attributes

std::vector< unsigned int > m_ColumnsSizes
 
SizeType m_Layout
 
std::vector< unsigned int > m_RowsSizes
 

Detailed Description

template<class TImage>
class otb::TileImageFilter< TImage >

This filter allows making a spatial mosaic from a set of images.

This filter produces a spatial mosaic from a set of images. It supports both otb::Image and otb::VectorImage. The layout parameter allows setting up of the images will be patched together: it is a 2D array containing the number of images in the horizontal direction and vertical direction respectively.

Images can be set using the PushBackInput() or SetInput(unsigned int, Image *) methods. Please note that input images are supposed to be set in the lexicographical order.

This filter does not support missing images: the number of input images must match exactly layout[0]*layout[1]. Additional consistency checks are that the number of components and spacing must be consistent for all images, and the size of the images must match with each others.

Definition at line 53 of file otbTileImageFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<class TImage>
typedef itk::SmartPointer<const Self> otb::TileImageFilter< TImage >::ConstPointer

Definition at line 60 of file otbTileImageFilter.h.

◆ ImagePointerType

template<class TImage>
typedef ImageType::Pointer otb::TileImageFilter< TImage >::ImagePointerType

Definition at line 64 of file otbTileImageFilter.h.

◆ ImageType

template<class TImage>
typedef TImage otb::TileImageFilter< TImage >::ImageType

Helper typedefs

Definition at line 63 of file otbTileImageFilter.h.

◆ Pointer

template<class TImage>
typedef itk::SmartPointer<Self> otb::TileImageFilter< TImage >::Pointer

Definition at line 59 of file otbTileImageFilter.h.

◆ RegionType

template<class TImage>
typedef ImageType::RegionType otb::TileImageFilter< TImage >::RegionType

Definition at line 66 of file otbTileImageFilter.h.

◆ Self

template<class TImage>
typedef TileImageFilter otb::TileImageFilter< TImage >::Self

Standard class typedef

Definition at line 57 of file otbTileImageFilter.h.

◆ SizeType

template<class TImage>
typedef ImageType::SizeType otb::TileImageFilter< TImage >::SizeType

Definition at line 65 of file otbTileImageFilter.h.

◆ Superclass

template<class TImage>
typedef itk::ImageToImageFilter<TImage, TImage> otb::TileImageFilter< TImage >::Superclass

Definition at line 58 of file otbTileImageFilter.h.

Constructor & Destructor Documentation

◆ TileImageFilter() [1/2]

template<class TImage >
otb::TileImageFilter< TImage >::TileImageFilter ( )
protected

Constructor

Definition at line 30 of file otbTileImageFilter.hxx.

◆ ~TileImageFilter()

template<class TImage >
otb::TileImageFilter< TImage >::~TileImageFilter ( )
overrideprotected

Destructor

Definition at line 35 of file otbTileImageFilter.hxx.

◆ TileImageFilter() [2/2]

template<class TImage>
otb::TileImageFilter< TImage >::TileImageFilter ( const Self )
privatedelete

Member Function Documentation

◆ CreateAnother()

template<class TImage>
virtual::itk::LightObject::Pointer otb::TileImageFilter< TImage >::CreateAnother ( void  ) const

◆ GenerateInputRequestedRegion()

template<class TImage >
void otb::TileImageFilter< TImage >::GenerateInputRequestedRegion ( void  )
overrideprotected

Generate input requested region method

Definition at line 134 of file otbTileImageFilter.hxx.

◆ GenerateOutputInformation()

template<class TImage >
void otb::TileImageFilter< TImage >::GenerateOutputInformation ( void  )
overrideprotected

Generate input requested region method

Definition at line 47 of file otbTileImageFilter.hxx.

◆ GetLayout()

template<class TImage>
virtual const SizeType& otb::TileImageFilter< TImage >::GetLayout ( ) const
virtual

◆ GetNameOfClass()

template<class TImage>
virtual const char* otb::TileImageFilter< TImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented in otb::SarConcatenateBurstsImageFilter< TImage >.

◆ InputRegionToOutputRegion()

template<class TImage >
TileImageFilter< TImage >::RegionType otb::TileImageFilter< TImage >::InputRegionToOutputRegion ( unsigned int  tileIndex,
const RegionType requestedRegion 
)
private

Definition at line 241 of file otbTileImageFilter.hxx.

◆ New()

template<class TImage>
static Pointer otb::TileImageFilter< TImage >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TImage>
void otb::TileImageFilter< TImage >::operator= ( const Self )
privatedelete

◆ OutputRegionToInputRegion()

template<class TImage >
TileImageFilter< TImage >::RegionType otb::TileImageFilter< TImage >::OutputRegionToInputRegion ( unsigned int  tileIndex,
const RegionType requestedRegion 
)
private

Definition at line 200 of file otbTileImageFilter.hxx.

◆ PrintSelf()

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

PrintSelf method

Definition at line 40 of file otbTileImageFilter.hxx.

◆ SetLayout()

template<class TImage>
virtual void otb::TileImageFilter< TImage >::SetLayout ( SizeType  _arg)
virtual

◆ ThreadedGenerateData()

template<class TImage >
void otb::TileImageFilter< TImage >::ThreadedGenerateData ( const RegionType outputRegionForThread,
itk::ThreadIdType  threadId 
)
overrideprotected

Threaded generate data

Definition at line 160 of file otbTileImageFilter.hxx.

◆ VerifyInputInformation()

template<class TImage>
void otb::TileImageFilter< TImage >::VerifyInputInformation ( )
inlineoverrideprotected

Override VerifyInputInformation() since this filter's inputs do not need to occupy the same physical space.

See also
ProcessObject::VerifyInputInformation

Definition at line 101 of file otbTileImageFilter.h.

Member Data Documentation

◆ m_ColumnsSizes

template<class TImage>
std::vector<unsigned int> otb::TileImageFilter< TImage >::m_ColumnsSizes
private

Definition at line 120 of file otbTileImageFilter.h.

◆ m_Layout

template<class TImage>
SizeType otb::TileImageFilter< TImage >::m_Layout
private

Definition at line 117 of file otbTileImageFilter.h.

◆ m_RowsSizes

template<class TImage>
std::vector<unsigned int> otb::TileImageFilter< TImage >::m_RowsSizes
private

Definition at line 123 of file otbTileImageFilter.h.


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