OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
otb::ImageSeriesFileReader< VectorImage< TPixel, 2 >, VectorImage< TInternalPixel, 2 > > Class Template Reference

#include <otbImageSeriesFileReader.h>

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

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
 
typedef ExtractSelectionListType::Pointer ExtractSelectionListPointerType
 
typedef ObjectList< ExtractSelectionTypeExtractSelectionListType
 
typedef ExtractSelectionType::Pointer ExtractSelectionPointerType
 
typedef MultiChannelExtractROI< InternalPixelType, PixelTypeExtractSelectionType
 
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< VectorImage< TPixel, 2 >, VectorImage< TInternalPixel, 2 > > Superclass
 
typedef Superclass::ValueType ValueType
 
- Public Types inherited from otb::ImageSeriesFileReaderBase< VectorImage< TPixel, 2 >, VectorImage< TInternalPixel, 2 > >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
 
typedef OutputImageType::IndexType IndexType
 
typedef InternalImageType::Pointer InternalImagePointerType
 
typedef VectorImage< 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< OutputImageTypeOutputImageListType
 
typedef OutputImageType::Pointer OutputImagePointerType
 
typedef VectorImage< TPixel, 2 > OutputImageType
 
typedef OutputImageType::InternalPixelType PixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ReaderListType::Pointer ReaderListPointerType
 
typedef ObjectList< ReaderTypeReaderListType
 
typedef ReaderType::Pointer ReaderPointerType
 
typedef ImageFileReader< InternalImageTypeReaderType
 
typedef OutputImageType::RegionType RegionType
 
typedef ImageSeriesFileReaderBase Self
 
typedef OutputImageType::SizeType SizeType
 
typedef ImageListSource< VectorImage< TPixel, 2 > > Superclass
 
typedef OutputImageType::ValueType ValueType
 
- Public Types inherited from otb::ImageListSource< VectorImage< TPixel, 2 > >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::DataObject::Pointer DataObjectPointer
 
typedef OutputImageListType::ConstPointer OutputImageListConstPointerType
 
typedef OutputImageListType::Pointer OutputImageListPointerType
 
typedef ImageList< OutputImageTypeOutputImageListType
 
typedef OutputImageType::Pointer OutputImagePointerType
 
typedef VectorImage< 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< VectorImage< TPixel, 2 >, VectorImage< TInternalPixel, 2 > >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetFileName () const
 
std::string GetFileName (unsigned int i) const
 
virtual const char * GetNameOfClass () const
 
virtual void SetFileName (const std::string &file)
 
 itkGetObjectMacro (ImageFileReaderList, ReaderListType)
 
ReaderTypeGetImageFileReader (unsigned int i) const
 
virtual unsigned int GetNumberOfOutputs () const
 
OutputImageListTypeGetOutput (void) override
 
virtual OutputImageTypeGetOutput (DataObjectPointerArraySizeType idx)
 
virtual OutputImageListTypeGenerateOutput (void)
 
virtual OutputImageTypeGenerateOutput (DataObjectPointerArraySizeType idx)
 
void Update () override
 
- Public Member Functions inherited from otb::ImageListSource< VectorImage< TPixel, 2 > >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 

Static Public Member Functions

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

Protected Member Functions

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

Protected Attributes

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

Private Member Functions

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

Additional Inherited Members

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

Detailed Description

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

Definition at line 388 of file otbImageSeriesFileReader.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 396 of file otbImageSeriesFileReader.h.

◆ DataObjectPointerArraySizeType

template<class TPixel , class TInternalPixel >
typedef itk::ProcessObject::DataObjectPointerArraySizeType otb::ImageSeriesFileReader< VectorImage< TPixel, 2 >, VectorImage< TInternalPixel, 2 > >::DataObjectPointerArraySizeType

Definition at line 440 of file otbImageSeriesFileReader.h.

◆ ExtractSelectionListPointerType

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

Definition at line 438 of file otbImageSeriesFileReader.h.

◆ ExtractSelectionListType

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

Definition at line 437 of file otbImageSeriesFileReader.h.

◆ ExtractSelectionPointerType

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

Definition at line 435 of file otbImageSeriesFileReader.h.

◆ ExtractSelectionType

template<class TPixel , class TInternalPixel >
typedef MultiChannelExtractROI<InternalPixelType, PixelType> otb::ImageSeriesFileReader< VectorImage< TPixel, 2 >, VectorImage< TInternalPixel, 2 > >::ExtractSelectionType

This is a specific template definition of the ROI extraction procedure. Here, it will be specialised with: MultiChannelExtractROI if TImage is a VectorImage

Definition at line 434 of file otbImageSeriesFileReader.h.

◆ IndexType

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

Definition at line 408 of file otbImageSeriesFileReader.h.

◆ InternalImagePointerType

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

Definition at line 417 of file otbImageSeriesFileReader.h.

◆ InternalImageType

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

Definition at line 416 of file otbImageSeriesFileReader.h.

◆ InternalIndexType

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

Definition at line 420 of file otbImageSeriesFileReader.h.

◆ InternalPixelType

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

Definition at line 418 of file otbImageSeriesFileReader.h.

◆ InternalRegionType

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

Definition at line 422 of file otbImageSeriesFileReader.h.

◆ InternalSizeType

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

Definition at line 421 of file otbImageSeriesFileReader.h.

◆ InternalValueType

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

Definition at line 419 of file otbImageSeriesFileReader.h.

◆ OutputImageListConstPointerType

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

Definition at line 414 of file otbImageSeriesFileReader.h.

◆ OutputImageListPointerType

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

Definition at line 413 of file otbImageSeriesFileReader.h.

◆ OutputImageListType

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

Definition at line 412 of file otbImageSeriesFileReader.h.

◆ OutputImagePointerType

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

Definition at line 405 of file otbImageSeriesFileReader.h.

◆ OutputImageType

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

Definition at line 402 of file otbImageSeriesFileReader.h.

◆ PixelType

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

Definition at line 406 of file otbImageSeriesFileReader.h.

◆ Pointer

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

Definition at line 395 of file otbImageSeriesFileReader.h.

◆ ReaderListPointerType

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

Definition at line 428 of file otbImageSeriesFileReader.h.

◆ ReaderListType

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

Definition at line 427 of file otbImageSeriesFileReader.h.

◆ ReaderPointerType

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

Definition at line 425 of file otbImageSeriesFileReader.h.

◆ ReaderType

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

Definition at line 424 of file otbImageSeriesFileReader.h.

◆ RegionType

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

Definition at line 410 of file otbImageSeriesFileReader.h.

◆ Self

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

Standard typedefs

Definition at line 393 of file otbImageSeriesFileReader.h.

◆ SizeType

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

Definition at line 409 of file otbImageSeriesFileReader.h.

◆ Superclass

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

Definition at line 394 of file otbImageSeriesFileReader.h.

◆ ValueType

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

Definition at line 407 of file otbImageSeriesFileReader.h.

Constructor & Destructor Documentation

◆ ImageSeriesFileReader() [1/2]

template<class TPixel , class TInternalPixel >
otb::ImageSeriesFileReader< VectorImage< TPixel, 2 >, VectorImage< TInternalPixel, 2 > >::ImageSeriesFileReader
protected

Constructor

Definition at line 219 of file otbImageSeriesFileReader.hxx.

◆ ~ImageSeriesFileReader()

template<class TPixel , class TInternalPixel >
otb::ImageSeriesFileReader< VectorImage< TPixel, 2 >, VectorImage< TInternalPixel, 2 > >::~ImageSeriesFileReader ( )
inlineoverrideprotected

Definition at line 444 of file otbImageSeriesFileReader.h.

◆ ImageSeriesFileReader() [2/2]

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

Member Function Documentation

◆ AllocateListOfComponents()

template<class TPixel , class TInternalPixel >
void otb::ImageSeriesFileReader< VectorImage< TPixel, 2 >, VectorImage< TInternalPixel, 2 > >::AllocateListOfComponents ( void  )
overrideprotectedvirtual

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 through GenerateOutput() or GenerateOutput( idx ).

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

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

Definition at line 231 of file otbImageSeriesFileReader.hxx.

◆ CreateAnother()

template<class TPixel , class TInternalPixel >
virtual::itk::LightObject::Pointer otb::ImageSeriesFileReader< VectorImage< TPixel, 2 >, VectorImage< TInternalPixel, 2 > >::CreateAnother ( void  ) const

◆ GenerateData()

template<class TPixel , class TInternalPixel >
void otb::ImageSeriesFileReader< VectorImage< TPixel, 2 >, VectorImage< TInternalPixel, 2 > >::GenerateData ( DataObjectPointerArraySizeType  idx)
overrideprotectedvirtual

GenerateData This method will be specialised if template definitions follow:

GenerateData specialised for VectorImages

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

Definition at line 246 of file otbImageSeriesFileReader.hxx.

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

◆ GetNameOfClass()

template<class TPixel , class TInternalPixel >
virtual const char* otb::ImageSeriesFileReader< VectorImage< TPixel, 2 >, VectorImage< TInternalPixel, 2 > >::GetNameOfClass ( ) const
virtual

Runtime information macro

◆ New()

template<class TPixel , class TInternalPixel >
static Pointer otb::ImageSeriesFileReader< VectorImage< TPixel, 2 >, VectorImage< TInternalPixel, 2 > >::New ( )
static

Creation through object factory macro

◆ operator=()

template<class TPixel , class TInternalPixel >
void otb::ImageSeriesFileReader< VectorImage< TPixel, 2 >, VectorImage< TInternalPixel, 2 > >::operator= ( const Self )
private

◆ PrintSelf()

template<class TPixel , class TInternalPixel >
void otb::ImageSeriesFileReader< VectorImage< TPixel, 2 >, VectorImage< TInternalPixel, 2 > >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
inlineoverrideprotected

PrintSelf method

Definition at line 472 of file otbImageSeriesFileReader.h.

◆ TestBandSelection()

template<class TPixel , class TInternalPixel >
void otb::ImageSeriesFileReader< VectorImage< TPixel, 2 >, VectorImage< TInternalPixel, 2 > >::TestBandSelection ( std::vector< unsigned int > &  )
inlineoverrideprotectedvirtual

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

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

Definition at line 451 of file otbImageSeriesFileReader.h.

Member Data Documentation

◆ m_ExtractorList

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

Type of extractor to use

Definition at line 480 of file otbImageSeriesFileReader.h.


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