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

#include <otbFormosatImageMetadataInterface.h>

+ Inheritance diagram for otb::FormosatImageMetadataInterface:
+ Collaboration diagram for otb::FormosatImageMetadataInterface:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass::ImageType ImageType
 
typedef Superclass::MetaDataDictionaryType MetaDataDictionaryType
 
typedef itk::SmartPointer< SelfPointer
 
typedef FormosatImageMetadataInterface Self
 
typedef ImageMetadataInterfaceBase Superclass
 
typedef Superclass::VariableLengthVectorType VariableLengthVectorType
 
typedef Superclass::VectorType VectorType
 
- Public Types inherited from otb::OpticalImageMetadataInterface
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

unsigned int BandIndexToWavelengthPosition (unsigned int i) const override
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
void Parse (ImageMetadata &imd) override
 
- 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
 
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)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 FormosatImageMetadataInterface ()=default
 
 ~FormosatImageMetadataInterface ()=default
 
- Protected Member Functions inherited from otb::OpticalImageMetadataInterface
 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 FetchSatAngles (const std::vector< double > &incidenceAngles, const std::vector< double > &alongTrackViewingAngles, const std::vector< double > &acrossTrackViewingAngles, const std::vector< double > &sceneOrientation, const std::string &softwareVersion, double satAzimuth, ImageMetadata &imd)
 
 FormosatImageMetadataInterface (const Self &)=delete
 
void operator= (const Self &)=delete
 
void FetchSpectralSensitivity (ImageMetadata &)
 

Additional Inherited Members

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

Detailed Description

Creation of an "otb" FormosatImageMetadataInterface that gets metadata.

Definition at line 36 of file otbFormosatImageMetadataInterface.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 42 of file otbFormosatImageMetadataInterface.h.

◆ ImageType

Definition at line 48 of file otbFormosatImageMetadataInterface.h.

◆ MetaDataDictionaryType

Definition at line 51 of file otbFormosatImageMetadataInterface.h.

◆ Pointer

Definition at line 41 of file otbFormosatImageMetadataInterface.h.

◆ Self

Definition at line 39 of file otbFormosatImageMetadataInterface.h.

◆ Superclass

Definition at line 40 of file otbFormosatImageMetadataInterface.h.

◆ VariableLengthVectorType

Definition at line 53 of file otbFormosatImageMetadataInterface.h.

◆ VectorType

Definition at line 52 of file otbFormosatImageMetadataInterface.h.

Constructor & Destructor Documentation

◆ FormosatImageMetadataInterface() [1/2]

otb::FormosatImageMetadataInterface::FormosatImageMetadataInterface ( )
protecteddefault

◆ ~FormosatImageMetadataInterface()

otb::FormosatImageMetadataInterface::~FormosatImageMetadataInterface ( )
protecteddefault

◆ FormosatImageMetadataInterface() [2/2]

otb::FormosatImageMetadataInterface::FormosatImageMetadataInterface ( const Self )
privatedelete

Member Function Documentation

◆ BandIndexToWavelengthPosition()

unsigned int otb::FormosatImageMetadataInterface::BandIndexToWavelengthPosition ( unsigned int  i) const
overridevirtual

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 from otb::OpticalImageMetadataInterface.

◆ CreateAnother()

virtual::itk::LightObject::Pointer otb::FormosatImageMetadataInterface::CreateAnother ( void  ) const

◆ FetchSatAngles()

void otb::FormosatImageMetadataInterface::FetchSatAngles ( const std::vector< double > &  incidenceAngles,
const std::vector< double > &  alongTrackViewingAngles,
const std::vector< double > &  acrossTrackViewingAngles,
const std::vector< double > &  sceneOrientation,
const std::string &  softwareVersion,
double  satAzimuth,
ImageMetadata imd 
)
private

◆ FetchSpectralSensitivity()

void otb::FormosatImageMetadataInterface::FetchSpectralSensitivity ( ImageMetadata )
private

Vector that contains the filter function value in 6S format (step of 0.0025 micro m). There values a computed by 6S.

◆ GetNameOfClass()

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

Run-time type information (and related methods).

Reimplemented from otb::OpticalImageMetadataInterface.

◆ New()

static Pointer otb::FormosatImageMetadataInterface::New ( )
static

Method for creation through the object factory.

◆ operator=()

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

◆ Parse()

void otb::FormosatImageMetadataInterface::Parse ( ImageMetadata )
overridevirtual

Parses the metadata using the MetadataSupplierInterface and fill the ImageMetadata object Raises "MissingMetadataException" if parsing fails.

Reimplemented from otb::ImageMetadataInterfaceBase.


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