OTB  5.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter > Class Template Reference

#include <otbImageListToImageListApplyFilter.h>

+ Inheritance diagram for otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >:
+ Collaboration diagram for otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >:

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef FilterType::Pointer FilterPointerType
 
typedef TFilter FilterType
 
typedef InputImageListType::Pointer InputImageListPointerType
 
typedef TInputImageList InputImageListType
 
typedef
InputImageListType::ImageType 
InputImageType
 
typedef
OutputImageListType::Pointer 
OutputImageListPointerType
 
typedef TOutputImageList OutputImageListType
 
typedef
OutputImageListType::ImageType 
OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
ImageListToImageListApplyFilter 
Self
 
typedef
ImageListToImageListFilter
< typename
TInputImageList::ImageType,
typename
TOutputImageList::ImageType > 
Superclass
 
- Public Types inherited from otb::ImageListToImageListFilter< TInputImageList::ImageType, TOutputImageList::ImageType >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
InputImageListType::ConstPointer 
InputImageListConstPointer
 
typedef InputImageListType::Pointer InputImageListPointerType
 
typedef ImageList< InputImageTypeInputImageListType
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef
InputImageType::ConstPointer 
InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImageList::ImageType InputImageType
 
typedef
Superclass::OutputImageListPointerType 
OutputImageListPointerType
 
typedef
Superclass::OutputImageListType 
OutputImageListType
 
typedef
Superclass::OutputImagePointerType 
OutputImagePointer
 
typedef Superclass::OutputImageType OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ImageListToImageListFilter Self
 
typedef InputImageType::SizeType SizeType
 
typedef ImageListSource
< TOutputImageList::ImageType > 
Superclass
 
typedef InputImageType::ValueType ValueType
 
- Public Types inherited from otb::ImageListSource< TOutputImageList::ImageType >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef itk::DataObject::Pointer DataObjectPointer
 
typedef
OutputImageListType::ConstPointer 
OutputImageListConstPointerType
 
typedef
OutputImageListType::Pointer 
OutputImageListPointerType
 
typedef ImageList
< OutputImageType
OutputImageListType
 
typedef OutputImageType::Pointer OutputImagePointerType
 
typedef TOutputImageList::ImageType OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ImageListSource Self
 
typedef itk::ProcessObject Superclass
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual void GenerateInputRequestedRegion (void)
 
virtual void GenerateOutputInformation (void)
 
virtual const char * GetNameOfClass () const
 
virtual unsigned int GetOutputIndex ()
 
virtual void SetOutputIndex (unsigned int _arg)
 
virtual void SetFilter (FilterType *_arg)
 
 itkGetObjectMacro (Filter, FilterType)
 
- Public Member Functions inherited from otb::ImageListToImageListFilter< TInputImageList::ImageType, TOutputImageList::ImageType >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual void SetInput (const InputImageListType *imageList)
 
virtual InputImageListTypeGetInput (void)
 
- Public Member Functions inherited from otb::ImageListSource< TOutputImageList::ImageType >
virtual OutputImageListTypeGetOutput (void)
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual bool GetReleaseDataFlag () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
void ReleaseDataFlagOff ()
 
void ReleaseDataFlagOn ()
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
void SetProgress (float progress)
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
virtual ModifiedTimeType GetMTime () const
 
virtual const std::string & GetObjectName () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const ITK_OVERRIDE
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetReferenceCount (int) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_OVERRIDE
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from otb::ImageListToImageListFilter< TInputImageList::ImageType, TOutputImageList::ImageType >
static Pointer New ()
 
- Static Public Member Functions inherited from otb::ImageListSource< TOutputImageList::ImageType >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

virtual void GenerateData (void)
 
 ImageListToImageListApplyFilter ()
 
virtual void PrintSelf (std::ostream &os, itk::Indent indent) const
 
virtual ~ImageListToImageListApplyFilter ()
 
- Protected Member Functions inherited from otb::ImageListToImageListFilter< TInputImageList::ImageType, TOutputImageList::ImageType >
 ImageListToImageListFilter ()
 
virtual ~ImageListToImageListFilter ()
 
- Protected Member Functions inherited from otb::ImageListSource< TOutputImageList::ImageType >
 ImageListSource ()
 
virtual ~ImageListSource ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual const char * GetPrimaryOutputName (void) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual void SetPrimaryOutput (DataObject *output)
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyInputInformation ()
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

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

Private Attributes

FilterPointerType m_Filter
 
unsigned int m_OutputIndex
 

Additional Inherited Members

- Static Public Attributes inherited from otb::ImageListToImageListFilter< TInputImageList::ImageType, TOutputImageList::ImageType >
static const unsigned int InputImageDimension
 
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Detailed Description

template<class TInputImageList, class TOutputImageList, class TFilter>
class otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >

This filter applies the filter given as template to the input image list.

It produces one output image in the output list for one input image in the output list.

It uses the given filter methods to generate output information and input requested region.

The filter can be set up via the GetFilter() accessor.

It also support streaming when the templated filter support it.

No type checking is done : it is up to the user to check the adequation between the input images, output images and filter IO types.

Definition at line 44 of file otbImageListToImageListApplyFilter.h.

Member Typedef Documentation

template<class TInputImageList , class TOutputImageList , class TFilter >
typedef itk::SmartPointer<const Self> otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::ConstPointer

Definition at line 54 of file otbImageListToImageListApplyFilter.h.

template<class TInputImageList , class TOutputImageList , class TFilter >
typedef FilterType::Pointer otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::FilterPointerType

Definition at line 70 of file otbImageListToImageListApplyFilter.h.

template<class TInputImageList , class TOutputImageList , class TFilter >
typedef TFilter otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::FilterType

Definition at line 69 of file otbImageListToImageListApplyFilter.h.

template<class TInputImageList , class TOutputImageList , class TFilter >
typedef InputImageListType::Pointer otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::InputImageListPointerType

Definition at line 64 of file otbImageListToImageListApplyFilter.h.

template<class TInputImageList , class TOutputImageList , class TFilter >
typedef TInputImageList otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::InputImageListType

Template parameters typedefs

Definition at line 60 of file otbImageListToImageListApplyFilter.h.

template<class TInputImageList , class TOutputImageList , class TFilter >
typedef InputImageListType::ImageType otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::InputImageType

Definition at line 65 of file otbImageListToImageListApplyFilter.h.

template<class TInputImageList , class TOutputImageList , class TFilter >
typedef OutputImageListType::Pointer otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::OutputImageListPointerType

Definition at line 67 of file otbImageListToImageListApplyFilter.h.

template<class TInputImageList , class TOutputImageList , class TFilter >
typedef TOutputImageList otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::OutputImageListType

Definition at line 66 of file otbImageListToImageListApplyFilter.h.

template<class TInputImageList , class TOutputImageList , class TFilter >
typedef OutputImageListType::ImageType otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::OutputImageType

Definition at line 68 of file otbImageListToImageListApplyFilter.h.

template<class TInputImageList , class TOutputImageList , class TFilter >
typedef itk::SmartPointer<Self> otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::Pointer

Definition at line 53 of file otbImageListToImageListApplyFilter.h.

template<class TInputImageList , class TOutputImageList , class TFilter >
typedef ImageListToImageListApplyFilter otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::Self

Standard typedefs

Definition at line 50 of file otbImageListToImageListApplyFilter.h.

template<class TInputImageList , class TOutputImageList , class TFilter >
typedef ImageListToImageListFilter<typename TInputImageList::ImageType, typename TOutputImageList::ImageType> otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::Superclass

Definition at line 52 of file otbImageListToImageListApplyFilter.h.

Constructor & Destructor Documentation

template<class TInputImageList , class TOutputImageList , class TFilter >
otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::ImageListToImageListApplyFilter ( )
protected

Constructor

template<class TInputImageList , class TOutputImageList , class TFilter >
virtual otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::~ImageListToImageListApplyFilter ( )
inlineprotectedvirtual

Destructor

Definition at line 95 of file otbImageListToImageListApplyFilter.h.

template<class TInputImageList , class TOutputImageList , class TFilter >
otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::ImageListToImageListApplyFilter ( const Self )
private

Member Function Documentation

template<class TInputImageList , class TOutputImageList , class TFilter >
virtual::itk::LightObject::Pointer otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

template<class TInputImageList , class TOutputImageList , class TFilter >
virtual void otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::GenerateData ( void  )
protectedvirtual

Main computation method

Reimplemented from itk::ProcessObject.

template<class TInputImageList , class TOutputImageList , class TFilter >
virtual void otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::GenerateInputRequestedRegion ( void  )
virtual

Generate input requested region for each image in the list.

Reimplemented from itk::ProcessObject.

template<class TInputImageList , class TOutputImageList , class TFilter >
virtual void otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::GenerateOutputInformation ( void  )
virtual

Generate output information for the ImageList and for each image in the list.

Reimplemented from itk::ProcessObject.

template<class TInputImageList , class TOutputImageList , class TFilter >
virtual const char* otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::GetNameOfClass ( ) const
virtual

Creation through object factory macro

Reimplemented from otb::ImageListToImageListFilter< TInputImageList::ImageType, TOutputImageList::ImageType >.

template<class TInputImageList , class TOutputImageList , class TFilter >
virtual unsigned int otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::GetOutputIndex ( )
virtual
template<class TInputImageList , class TOutputImageList , class TFilter >
otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::itkGetObjectMacro ( Filter  ,
FilterType   
)

Accessors

template<class TInputImageList , class TOutputImageList , class TFilter >
static Pointer otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::New ( )
static

Type macro

template<class TInputImageList , class TOutputImageList , class TFilter >
void otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::operator= ( const Self )
private
template<class TInputImageList , class TOutputImageList , class TFilter >
virtual void otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
protectedvirtual
template<class TInputImageList , class TOutputImageList , class TFilter >
virtual void otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::SetFilter ( FilterType _arg)
virtual

Accessors

template<class TInputImageList , class TOutputImageList , class TFilter >
virtual void otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::SetOutputIndex ( unsigned int  _arg)
virtual

Member Data Documentation

template<class TInputImageList , class TOutputImageList , class TFilter >
FilterPointerType otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::m_Filter
private

The processing filter

Definition at line 105 of file otbImageListToImageListApplyFilter.h.

template<class TInputImageList , class TOutputImageList , class TFilter >
unsigned int otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >::m_OutputIndex
private

The index of the output of the filter to use

Definition at line 108 of file otbImageListToImageListApplyFilter.h.


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