Orfeo ToolBox  4.2
Orfeo ToolBox is not a black box
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > > Class Template Reference

#include <otbImageSeriesFileReader.h>

+ Inheritance diagram for otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >:
+ Collaboration diagram for otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >:

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
ExtractSelectionListType::Pointer 
ExtractSelectionListPointerType
 
typedef ObjectList
< ExtractSelectionType
ExtractSelectionListType
 
typedef
ExtractSelectionType::Pointer 
ExtractSelectionPointerType
 
typedef ExtractROI
< InternalPixelType, PixelType
ExtractSelectionType
 
typedef Superclass::IndexType IndexType
 
typedef
Superclass::InternalImagePointerType 
InternalImagePointerType
 
typedef
Superclass::InternalImageType 
InternalImageType
 
typedef
Superclass::InternalIndexType 
InternalIndexType
 
typedef
Superclass::InternalPixelType 
InternalPixelType
 
typedef
Superclass::InternalRegionType 
InternalRegionType
 
typedef
Superclass::InternalSizeType 
InternalSizeType
 
typedef
Superclass::InternalValueType 
InternalValueType
 
typedef
Superclass::OutputImageListConstPointerType 
OutputImageListConstPointerType
 
typedef
Superclass::OutputImageListPointerType 
OutputImageListPointerType
 
typedef
Superclass::OutputImageListType 
OutputImageListType
 
typedef
Superclass::OutputImagePointerType 
OutputImagePointerType
 
typedef Superclass::OutputImageType OutputImageType
 
typedef Superclass::PixelType PixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
Superclass::ReaderListPointerType 
ReaderListPointerType
 
typedef Superclass::ReaderListType ReaderListType
 
typedef Superclass::ReaderType ReaderPointerType
 
typedef Superclass::ReaderType ReaderType
 
typedef Superclass::RegionType RegionType
 
typedef ImageSeriesFileReader Self
 
typedef Superclass::SizeType SizeType
 
typedef
ImageSeriesFileReaderBase
< Image< TPixel, 2 >, Image
< TInternalPixel, 2 > > 
Superclass
 
typedef Superclass::ValueType ValueType
 
- Public Types inherited from otb::ImageSeriesFileReaderBase< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef OutputImageType::IndexType IndexType
 
typedef InternalImageType::Pointer InternalImagePointerType
 
typedef Image< TInternalPixel, 2 > InternalImageType
 
typedef
InternalImageType::IndexType 
InternalIndexType
 
typedef
InternalImageType::InternalPixelType 
InternalPixelType
 
typedef
InternalImageType::RegionType 
InternalRegionType
 
typedef InternalImageType::SizeType InternalSizeType
 
typedef
InternalImageType::ValueType 
InternalValueType
 
typedef
OutputImageListType::ConstPointer 
OutputImageListConstPointerType
 
typedef
OutputImageListType::Pointer 
OutputImageListPointerType
 
typedef ImageList
< OutputImageType
OutputImageListType
 
typedef OutputImageType::Pointer OutputImagePointerType
 
typedef Image< TPixel, 2 > OutputImageType
 
typedef
OutputImageType::InternalPixelType 
PixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ReaderListType::Pointer ReaderListPointerType
 
typedef ObjectList< ReaderTypeReaderListType
 
typedef ReaderType::Pointer ReaderPointerType
 
typedef ImageFileReader
< InternalImageType
ReaderType
 
typedef OutputImageType::RegionType RegionType
 
typedef ImageSeriesFileReaderBase Self
 
typedef OutputImageType::SizeType SizeType
 
typedef ImageListSource< Image
< TPixel, 2 > > 
Superclass
 
typedef OutputImageType::ValueType ValueType
 
- Public Types inherited from otb::ImageListSource< Image< TPixel, 2 > >
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 Image< TPixel, 2 > OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ImageListSource Self
 
typedef itk::ProcessObject Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from otb::ImageSeriesFileReaderBase< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual OutputImageListTypeGenerateOutput (void)
 
virtual OutputImageTypeGenerateOutput (unsigned int idx)
 
virtual const char * GetFileName () const
 
std::string GetFileName (unsigned int i) const
 
ReaderTypeGetImageFileReader (unsigned int i) const
 
virtual ReaderListTypeGetImageFileReaderList ()
 
virtual unsigned int GetNumberOfOutputs () const
 
virtual OutputImageListTypeGetOutput (void)
 
virtual OutputImageTypeGetOutput (unsigned int idx)
 
virtual void SetFileName (const std::string &file)
 
virtual void SetFileName (const char *file)
 
void Update ()
 
- Public Member Functions inherited from otb::ImageListSource< Image< TPixel, 2 > >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from otb::ImageSeriesFileReaderBase< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >
static Pointer New ()
 
- Static Public Member Functions inherited from otb::ImageListSource< Image< TPixel, 2 > >
static Pointer New ()
 

Protected Member Functions

 ImageSeriesFileReader ()
 
virtual ~ImageSeriesFileReader ()
 
virtual void AllocateListOfComponents (void)
 
virtual void GenerateData (unsigned int idx)
 
void PrintSelf (std::ostream &os, itk::Indent indent) const
 
virtual void TestBandSelection (std::vector< unsigned int > &bands)
 
- Protected Member Functions inherited from otb::ImageSeriesFileReaderBase< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >
 ImageSeriesFileReaderBase ()
 
virtual ~ImageSeriesFileReaderBase ()
 
virtual void GenerateData (void)
 
virtual void ReadMetaFile ()
 
virtual void TestFileExistanceAndReadability (std::string &file, FileType fileType)
 
- Protected Member Functions inherited from otb::ImageListSource< Image< TPixel, 2 > >
 ImageListSource ()
 
virtual ~ImageListSource ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const
 

Protected Attributes

ExtractSelectionListPointerType m_ExtractorList
 
- Protected Attributes inherited from otb::ImageSeriesFileReaderBase< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >
std::string m_FileName
 
ReaderListPointerType m_ImageFileReaderList
 
std::vector< std::vector
< unsigned int > > 
m_ListOfBandSelection
 
std::vector< std::string > m_ListOfFileNames
 
std::vector< InternalRegionTypem_ListOfRegionSelection
 
OutputImageListPointerType m_OutputList
 

Private Member Functions

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

Additional Inherited Members

- Protected Types inherited from otb::ImageSeriesFileReaderBase< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >
enum  FileType
 

Detailed Description

template<class TPixel, class TInternalPixel>
class otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >

Definition at line 156 of file otbImageSeriesFileReader.h.

Member Typedef Documentation

template<class TPixel , class TInternalPixel >
typedef itk::SmartPointer<const Self> otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::ConstPointer

Definition at line 164 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef ExtractSelectionListType::Pointer otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::ExtractSelectionListPointerType

Definition at line 204 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef ObjectList<ExtractSelectionType> otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::ExtractSelectionListType

Definition at line 203 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef ExtractSelectionType::Pointer otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::ExtractSelectionPointerType

Definition at line 201 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef ExtractROI<InternalPixelType, PixelType> otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::ExtractSelectionType

This is a specialised template definition of the ROI extraction procedure. Here TExtractSelection is a ExtractROI class since TImage and TInternalImage are of Image type.

Definition at line 200 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef Superclass::IndexType otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::IndexType

Definition at line 175 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef Superclass::InternalImagePointerType otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::InternalImagePointerType

Definition at line 184 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef Superclass::InternalImageType otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::InternalImageType

Definition at line 183 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef Superclass::InternalIndexType otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::InternalIndexType

Definition at line 187 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef Superclass::InternalPixelType otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::InternalPixelType

Definition at line 185 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef Superclass::InternalRegionType otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::InternalRegionType

Definition at line 189 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef Superclass::InternalSizeType otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::InternalSizeType

Definition at line 188 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef Superclass::InternalValueType otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::InternalValueType

Definition at line 186 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef Superclass::OutputImageListConstPointerType otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::OutputImageListConstPointerType

Definition at line 181 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef Superclass::OutputImageListPointerType otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::OutputImageListPointerType

Definition at line 180 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef Superclass::OutputImageListType otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::OutputImageListType

Definition at line 179 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef Superclass::OutputImagePointerType otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::OutputImagePointerType

Definition at line 172 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef Superclass::OutputImageType otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::OutputImageType

Definition at line 169 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef Superclass::PixelType otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::PixelType

Definition at line 173 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef itk::SmartPointer<Self> otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::Pointer

Definition at line 163 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef Superclass::ReaderListPointerType otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::ReaderListPointerType

Definition at line 195 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef Superclass::ReaderListType otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::ReaderListType

Definition at line 194 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef Superclass::ReaderType otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::ReaderPointerType

Definition at line 192 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef Superclass::ReaderType otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::ReaderType

Definition at line 191 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef Superclass::RegionType otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::RegionType

Definition at line 177 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef ImageSeriesFileReader otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::Self

Standart typedefs

Definition at line 161 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef Superclass::SizeType otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::SizeType

Definition at line 176 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef ImageSeriesFileReaderBase<Image<TPixel, 2>, Image<TInternalPixel, 2> > otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::Superclass

Definition at line 162 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
typedef Superclass::ValueType otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::ValueType

Definition at line 174 of file otbImageSeriesFileReader.h.

Constructor & Destructor Documentation

template<class TPixel , class TInternalPixel >
otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::ImageSeriesFileReader ( )
protected

Definition at line 66 of file otbImageSeriesFileReader.txx.

template<class TPixel , class TInternalPixel >
virtual otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::~ImageSeriesFileReader ( )
inlineprotectedvirtual

Definition at line 208 of file otbImageSeriesFileReader.h.

template<class TPixel , class TInternalPixel >
otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::ImageSeriesFileReader ( const Self )
private

Member Function Documentation

template<class TPixel , class TInternalPixel >
void otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::AllocateListOfComponents ( void  )
protectedvirtual

Once MetaFile is read, allocation of lists are performed in SetFileName. This allows specific (or global) initialization in the GenerateData methods, that the user may invoke throught GenerateOutput() or GenerateOutput( idx ).

Allocation of the component... Here, based on ExtractROI

Reimplemented from otb::ImageSeriesFileReaderBase< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >.

Definition at line 77 of file otbImageSeriesFileReader.txx.

template<class TPixel , class TInternalPixel >
virtual::itk::LightObject::Pointer otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::CreateAnother ( void  ) const
template<class TPixel , class TInternalPixel >
void otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::GenerateData ( unsigned int  idx)
protectedvirtual

GenerateData This method will be specialised if template definitions follow:

GenerateData for Image type

Reimplemented from otb::ImageSeriesFileReaderBase< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >.

Definition at line 122 of file otbImageSeriesFileReader.txx.

References otbMsgDebugMacro, otb::ExtractROIBase< TInputImage, TOutputImage >::SetExtractionRegion(), and otb::ImageFileReader< TOutputImage, ConvertPixelTraits >::SetFileName().

template<class TPixel , class TInternalPixel >
virtual const char* otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::GetNameOfClass ( ) const
virtual
template<class TPixel , class TInternalPixel >
static Pointer otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::New ( )
static

Creation through object factory macro

template<class TPixel , class TInternalPixel >
void otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::operator= ( const Self )
private
template<class TPixel , class TInternalPixel >
void otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
inlineprotectedvirtual
template<class TPixel , class TInternalPixel >
void otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::TestBandSelection ( std::vector< unsigned int > &  bands)
protectedvirtual

TestBandSelection Tests the coherency of the Meta File (especifically band selection) with the image types

TestBandSelection tests if the templated Image type is compatible with the bande selection provided in the Meta File

Reimplemented from otb::ImageSeriesFileReaderBase< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >.

Definition at line 94 of file otbImageSeriesFileReader.txx.

Member Data Documentation

template<class TPixel , class TInternalPixel >
ExtractSelectionListPointerType otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::m_ExtractorList
protected

Type of extractor to use

Definition at line 239 of file otbImageSeriesFileReader.h.


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