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< Image< TPixel, 2 >, VectorImage< TInternalPixel, 2 > > Class Template Reference

#include <otbImageSeriesFileReader.h>

+ Inheritance diagram for otb::ImageSeriesFileReader< Image< TPixel, 2 >, VectorImage< TInternalPixel, 2 > >:
+ Collaboration diagram for otb::ImageSeriesFileReader< Image< 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 MultiToMonoChannelExtractROI< 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< Image< TPixel, 2 >, VectorImage< TInternalPixel, 2 > > Superclass
 
typedef Superclass::ValueType ValueType
 
- Public Types inherited from otb::ImageSeriesFileReaderBase< Image< 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 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< InternalImageTypeReaderType
 
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 SelfConstPointer
 
typedef itk::DataObject::Pointer DataObjectPointer
 
typedef OutputImageListType::ConstPointer OutputImageListConstPointerType
 
typedef OutputImageListType::Pointer OutputImageListPointerType
 
typedef ImageList< OutputImageTypeOutputImageListType
 
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 >, 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< 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 >, VectorImage< TInternalPixel, 2 > >
static Pointer New ()
 
- Static Public Member Functions inherited from otb::ImageListSource< Image< TPixel, 2 > >
static Pointer New ()
 

Protected Member Functions

void PrintSelf (std::ostream &os, itk::Indent indent) const
 
virtual ~ImageSeriesFileReader ()
 
 ImageSeriesFileReader ()
 
virtual void TestBandSelection (std::vector< unsigned int > &bands)
 
virtual void GenerateData (DataObjectPointerArraySizeType idx)
 
virtual void AllocateListOfComponents (void)
 
- Protected Member Functions inherited from otb::ImageSeriesFileReaderBase< Image< 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< Image< 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< Image< 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< Image< TPixel, 2 >, VectorImage< TInternalPixel, 2 > >
enum  FileType
 

Detailed Description

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

Definition at line 278 of file otbImageSeriesFileReader.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 286 of file otbImageSeriesFileReader.h.

◆ DataObjectPointerArraySizeType

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

Definition at line 329 of file otbImageSeriesFileReader.h.

◆ ExtractSelectionListPointerType

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

Definition at line 327 of file otbImageSeriesFileReader.h.

◆ ExtractSelectionListType

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

Definition at line 326 of file otbImageSeriesFileReader.h.

◆ ExtractSelectionPointerType

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

Definition at line 324 of file otbImageSeriesFileReader.h.

◆ ExtractSelectionType

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

This is a specific template definition of the ROI extraction procedure. MultiToMonoChannelExtractROI since TImage is an Image and TInteranalImage is a VectorImage

Definition at line 323 of file otbImageSeriesFileReader.h.

◆ IndexType

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

Definition at line 298 of file otbImageSeriesFileReader.h.

◆ InternalImagePointerType

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

Definition at line 307 of file otbImageSeriesFileReader.h.

◆ InternalImageType

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

Definition at line 306 of file otbImageSeriesFileReader.h.

◆ InternalIndexType

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

Definition at line 310 of file otbImageSeriesFileReader.h.

◆ InternalPixelType

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

Definition at line 308 of file otbImageSeriesFileReader.h.

◆ InternalRegionType

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

Definition at line 312 of file otbImageSeriesFileReader.h.

◆ InternalSizeType

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

Definition at line 311 of file otbImageSeriesFileReader.h.

◆ InternalValueType

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

Definition at line 309 of file otbImageSeriesFileReader.h.

◆ OutputImageListConstPointerType

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

Definition at line 304 of file otbImageSeriesFileReader.h.

◆ OutputImageListPointerType

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

Definition at line 303 of file otbImageSeriesFileReader.h.

◆ OutputImageListType

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

Definition at line 302 of file otbImageSeriesFileReader.h.

◆ OutputImagePointerType

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

Definition at line 295 of file otbImageSeriesFileReader.h.

◆ OutputImageType

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

Definition at line 292 of file otbImageSeriesFileReader.h.

◆ PixelType

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

Definition at line 296 of file otbImageSeriesFileReader.h.

◆ Pointer

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

Definition at line 285 of file otbImageSeriesFileReader.h.

◆ ReaderListPointerType

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

Definition at line 318 of file otbImageSeriesFileReader.h.

◆ ReaderListType

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

Definition at line 317 of file otbImageSeriesFileReader.h.

◆ ReaderPointerType

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

Definition at line 315 of file otbImageSeriesFileReader.h.

◆ ReaderType

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

Definition at line 314 of file otbImageSeriesFileReader.h.

◆ RegionType

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

Definition at line 300 of file otbImageSeriesFileReader.h.

◆ Self

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

Standard typedefs

Definition at line 283 of file otbImageSeriesFileReader.h.

◆ SizeType

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

Definition at line 299 of file otbImageSeriesFileReader.h.

◆ Superclass

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

Definition at line 284 of file otbImageSeriesFileReader.h.

◆ ValueType

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

Definition at line 297 of file otbImageSeriesFileReader.h.

Constructor & Destructor Documentation

◆ ImageSeriesFileReader() [1/2]

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

Constructor

Definition at line 144 of file otbImageSeriesFileReader.hxx.

◆ ~ImageSeriesFileReader()

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

Definition at line 333 of file otbImageSeriesFileReader.h.

◆ ImageSeriesFileReader() [2/2]

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

Member Function Documentation

◆ AllocateListOfComponents()

template<class TPixel , class TInternalPixel >
void otb::ImageSeriesFileReader< Image< TPixel, 2 >, VectorImage< 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 through GenerateOutput() or GenerateOutput( idx ).

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

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

Definition at line 156 of file otbImageSeriesFileReader.hxx.

◆ CreateAnother()

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

◆ GenerateData()

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

GenerateData This method will be specialised if template definitions follow:

GenerateData for Image type as output and VectorImage type for reading

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

Definition at line 190 of file otbImageSeriesFileReader.hxx.

References otbMsgDebugMacro, otb::MultiToMonoChannelExtractROI< 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< Image< TPixel, 2 >, VectorImage< TInternalPixel, 2 > >::GetNameOfClass ( ) const
virtual

Runtime information macro

◆ New()

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

Creation through object factory macro

◆ operator=()

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

◆ PrintSelf()

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

PrintSelf method

Definition at line 359 of file otbImageSeriesFileReader.h.

◆ TestBandSelection()

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

Tests the coherency of the Meta File (especially 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 >, VectorImage< TInternalPixel, 2 > >.

Definition at line 172 of file otbImageSeriesFileReader.hxx.

Member Data Documentation

◆ m_ExtractorList

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

Type of extractor to use

Definition at line 367 of file otbImageSeriesFileReader.h.


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