OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
otb::OpticalImageMetadataInterface Class Reference

#include <otbOpticalImageMetadataInterface.h>

+ Inheritance diagram for otb::OpticalImageMetadataInterface:
+ Collaboration diagram for otb::OpticalImageMetadataInterface:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef FilterFunctionValues FilterFunctionValuesType
 
typedef Superclass::ImageType ImageType
 
typedef otb::ObjectList< FilterFunctionValuesTypeInternalWavelengthSpectralBandVectorType
 
typedef Superclass::MetaDataDictionaryType MetaDataDictionaryType
 
typedef itk::SmartPointer< SelfPointer
 
typedef OpticalImageMetadataInterface Self
 
typedef ImageMetadataInterfaceBase Superclass
 
typedef Superclass::VariableLengthVectorType VariableLengthVectorType
 
typedef Superclass::VectorType VectorType
 
typedef InternalWavelengthSpectralBandVectorType::Pointer WavelengthSpectralBandVectorType
 
- Public Types inherited from otb::ImageMetadataInterfaceBase
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::ImageBase< 2 > ImageType
 
typedef itk::MetaDataDictionary MetaDataDictionaryType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ImageMetadataInterfaceBase Self
 
typedef std::vector< std::string > StringVectorType
 
typedef itk::Object Superclass
 
typedef std::vector< unsigned int > UIntVectorType
 
typedef unsigned int UnsignedIntType
 
typedef MetaDataKey::VariableLengthVectorType VariableLengthVectorType
 
typedef MetaDataKey::VectorType VectorType
 

Public Member Functions

virtual unsigned int BandIndexToWavelengthPosition (unsigned int i) const
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from otb::ImageMetadataInterfaceBase
const MetaDataDictionaryTypeGetMetaDataDictionary () const
 
std::string GetProjectionRef () const
 
void SetImage (ImageType *image)
 
void SetMetaDataDictionary (const MetaDataDictionaryType &dict)
 
void SetMetadataSupplierInterface (const MetadataSupplierInterface &)
 
std::string GetGCPProjection () const
 
UnsignedIntType GetGCPCount () const
 
GCPGetGCPs (unsigned int GCPnum)
 
std::string GetGCPId (unsigned int GCPnum) const
 
std::string GetGCPInfo (unsigned int GCPnum) const
 
double GetGCPRow (unsigned int GCPnum) const
 
double GetGCPCol (unsigned int GCPnum) const
 
double GetGCPX (unsigned int GCPnum) const
 
double GetGCPY (unsigned int GCPnum) const
 
double GetGCPZ (unsigned int GCPnum) const
 
VectorType GetGeoTransform () const
 
VectorType GetUpperLeftCorner () const
 
VectorType GetUpperRightCorner () const
 
VectorType GetLowerLeftCorner () const
 
VectorType GetLowerRightCorner () const
 
virtual void Parse (ImageMetadata &)
 
const std::string & Fetch (MDStr key, ImageMetadata &imd, const char *path, int band=-1)
 
bool CheckFetch (MDStr key, ImageMetadata &imd, const char *path, int band=-1)
 
const double & Fetch (MDNum key, ImageMetadata &imd, const char *path, int band=-1)
 
bool CheckFetch (MDNum key, ImageMetadata &imd, const char *path, int band=-1)
 
const MetaData::TimePointFetch (MDTime key, ImageMetadata &imd, const char *path, int band=-1)
 
bool CheckFetch (MDTime key, ImageMetadata &imd, const char *path, int band=-1)
 
const std::string & Fetch (std::string key, ImageMetadata &imd, const char *path, int band=-1)
 
bool CheckFetch (std::string key, ImageMetadata &imd, const char *path, int band=-1)
 
const boost::any & FetchRPC (ImageMetadata &imd, const double lineOffset=0.0, const double sampleOffset=0.0)
 

Protected Member Functions

 OpticalImageMetadataInterface ()=default
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ~OpticalImageMetadataInterface () override=default
 
- Protected Member Functions inherited from otb::ImageMetadataInterfaceBase
 ImageMetadataInterfaceBase ()=default
 
 ~ImageMetadataInterfaceBase () override=default
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 

Private Member Functions

void operator= (const Self &)=delete
 
 OpticalImageMetadataInterface (const Self &)=delete
 

Additional Inherited Members

- Protected Attributes inherited from otb::ImageMetadataInterfaceBase
MetaDataDictionaryType m_MetaDataDictionary
 
const MetadataSupplierInterfacem_MetadataSupplierInterface = nullptr
 

Detailed Description

Class for Optical captor metadata reading.

Definition at line 39 of file otbOpticalImageMetadataInterface.h.

Member Typedef Documentation

◆ ConstPointer

typedef itk::SmartPointer<const Self> otb::OpticalImageMetadataInterface::ConstPointer

Definition at line 45 of file otbOpticalImageMetadataInterface.h.

◆ FilterFunctionValuesType

Definition at line 55 of file otbOpticalImageMetadataInterface.h.

◆ ImageType

typedef Superclass::ImageType otb::OpticalImageMetadataInterface::ImageType

Definition at line 48 of file otbOpticalImageMetadataInterface.h.

◆ InternalWavelengthSpectralBandVectorType

Definition at line 56 of file otbOpticalImageMetadataInterface.h.

◆ MetaDataDictionaryType

typedef Superclass::MetaDataDictionaryType otb::OpticalImageMetadataInterface::MetaDataDictionaryType

Definition at line 51 of file otbOpticalImageMetadataInterface.h.

◆ Pointer

Definition at line 44 of file otbOpticalImageMetadataInterface.h.

◆ Self

Definition at line 42 of file otbOpticalImageMetadataInterface.h.

◆ Superclass

Definition at line 43 of file otbOpticalImageMetadataInterface.h.

◆ VariableLengthVectorType

typedef Superclass::VariableLengthVectorType otb::OpticalImageMetadataInterface::VariableLengthVectorType

Definition at line 53 of file otbOpticalImageMetadataInterface.h.

◆ VectorType

typedef Superclass::VectorType otb::OpticalImageMetadataInterface::VectorType

Definition at line 52 of file otbOpticalImageMetadataInterface.h.

◆ WavelengthSpectralBandVectorType

Definition at line 57 of file otbOpticalImageMetadataInterface.h.

Constructor & Destructor Documentation

◆ OpticalImageMetadataInterface() [1/2]

otb::OpticalImageMetadataInterface::OpticalImageMetadataInterface ( )
protecteddefault

◆ ~OpticalImageMetadataInterface()

otb::OpticalImageMetadataInterface::~OpticalImageMetadataInterface ( )
overrideprotecteddefault

◆ OpticalImageMetadataInterface() [2/2]

otb::OpticalImageMetadataInterface::OpticalImageMetadataInterface ( const Self )
privatedelete

Member Function Documentation

◆ BandIndexToWavelengthPosition()

virtual unsigned int otb::OpticalImageMetadataInterface::BandIndexToWavelengthPosition ( unsigned int  i) const
virtual

This method is to handle the permutation of the spectral band by some image provider in most cases, this method won't change the value, but for SPOT data, the bands are set up as 2 1 0 3 in the tiff file, this method which is overloaded for SPOT enables to retrieve the proper band.

Reimplemented in otb::FormosatImageMetadataInterface, and otb::SpotImageMetadataInterface.

◆ GetNameOfClass()

virtual const char* otb::OpticalImageMetadataInterface::GetNameOfClass ( ) const
virtual

◆ operator=()

void otb::OpticalImageMetadataInterface::operator= ( const Self )
privatedelete

◆ PrintSelf()

void otb::OpticalImageMetadataInterface::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotected

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