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::CosmoImageMetadataInterface Class Reference

#include <otbCosmoImageMetadataInterface.h>

+ Inheritance diagram for otb::CosmoImageMetadataInterface:
+ Collaboration diagram for otb::CosmoImageMetadataInterface:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass::ImageType ImageType
 
typedef Superclass::LookupDataPointerType LookupDataPointerType
 
typedef Superclass::MetaDataDictionaryType MetaDataDictionaryType
 
typedef itk::SmartPointer< SelfPointer
 
typedef Superclass::RealType RealType
 
typedef CosmoImageMetadataInterface Self
 
typedef SarImageMetadataInterface Superclass
 
typedef Superclass::VariableLengthVectorType VariableLengthVectorType
 
typedef Superclass::VectorType VectorType
 
- Public Types inherited from otb::SarImageMetadataInterface
typedef std::array< int, 2 > ArrayIndexType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass::ImageType ImageType
 
typedef ImageType::IndexType IndexType
 
typedef LookupDataType::Pointer LookupDataPointerType
 
typedef SarCalibrationLookupData LookupDataType
 
typedef Superclass::MetaDataDictionaryType MetaDataDictionaryType
 
typedef itk::SmartPointer< SelfPointer
 
typedef PointSetType::Pointer PointSetPointer
 
typedef itk::PointSet< double, 2 > PointSetType
 
typedef PointSetType::PointType PointType
 
typedef double RealType
 
typedef SarImageMetadataInterface Self
 
typedef Superclass::StringVectorType StringVectorType
 
typedef ImageMetadataInterfaceBase Superclass
 
typedef Superclass::UIntVectorType UIntVectorType
 
typedef Superclass::VariableLengthVectorType VariableLengthVectorType
 
typedef Superclass::VectorType VectorType
 
- 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 ::itk::LightObject::Pointer CreateAnother (void) const
 
std::vector< BurstRecordCreateBurstRecord (const std::string &firstLineTimeStr, const std::string &lastLineTimeStr, const unsigned long endLine, const unsigned long endSample) const
 
double GetCenterIncidenceAngle (const MetadataSupplierInterface &) const override
 
virtual const char * GetNameOfClass () const
 
std::vector< OrbitgetOrbits (const std::string &referenceTime) const
 
void Parse (ImageMetadata &) override
 
void ParseGdal (ImageMetadata &) override
 
void ParseGeom (ImageMetadata &) override
 
std::vector< std::map< std::string, std::string > > saveMetadataBands (std::string file)
 
- Public Member Functions inherited from otb::SarImageMetadataInterface
virtual bool CreateCalibrationLookupData (SARCalib &, const ImageMetadata &, const MetadataSupplierInterface &, const bool) const
 
std::vector< AzimuthFmRateGetAzimuthFmRateGeom () const
 
std::vector< BurstRecordGetBurstRecordsGeom () const
 
std::vector< DopplerCentroidGetDopplerCentroidGeom () const
 
std::vector< OrbitGetOrbitsGeom () const
 
virtual PointSetPointer GetRadiometricCalibrationAntennaPatternNewGain () const
 
virtual ArrayIndexType GetRadiometricCalibrationAntennaPatternNewGainPolynomialDegree () const
 
virtual PointSetPointer GetRadiometricCalibrationAntennaPatternOldGain () const
 
virtual ArrayIndexType GetRadiometricCalibrationAntennaPatternOldGainPolynomialDegree () const
 
virtual PointSetPointer GetRadiometricCalibrationIncidenceAngle (const MetadataSupplierInterface &) const
 
virtual ArrayIndexType GetRadiometricCalibrationIncidenceAnglePolynomialDegree () const
 
virtual PointSetPointer GetRadiometricCalibrationNoise (const MetadataSupplierInterface &, const ImageMetadata &, const std::string &b="") const
 
virtual ArrayIndexType GetRadiometricCalibrationNoisePolynomialDegree () const
 
virtual PointSetPointer GetRadiometricCalibrationRangeSpreadLoss () const
 
virtual ArrayIndexType GetRadiometricCalibrationRangeSpreadLossPolynomialDegree () const
 
virtual double GetRescalingFactor () const
 
bool GetSAR (SARParam &) const
 
virtual bool HasCalibrationLookupDataFlag (const MetadataSupplierInterface &) const
 
void LoadRadiometricCalibrationData (SARCalib &sarCalib, const MetadataSupplierInterface &mds, const ImageMetadata &imd, const std::string &band="") 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
 
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

 CosmoImageMetadataInterface ()=default
 
 ~CosmoImageMetadataInterface ()=default
 
- Protected Member Functions inherited from otb::SarImageMetadataInterface
ArrayIndexType GetConstantPolynomialDegree () const
 
PointSetPointer GetConstantValuePointSet (const RealType &value) const
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 SarImageMetadataInterface ()
 
 ~SarImageMetadataInterface () 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

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

Additional Inherited Members

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

Detailed Description

Creation of an "otb" CosmoImageMetadataInterface that gets metadata.

Definition at line 37 of file otbCosmoImageMetadataInterface.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 43 of file otbCosmoImageMetadataInterface.h.

◆ ImageType

Definition at line 50 of file otbCosmoImageMetadataInterface.h.

◆ LookupDataPointerType

Definition at line 57 of file otbCosmoImageMetadataInterface.h.

◆ MetaDataDictionaryType

Definition at line 53 of file otbCosmoImageMetadataInterface.h.

◆ Pointer

typedef itk::SmartPointer<Self> otb::CosmoImageMetadataInterface::Pointer

Definition at line 42 of file otbCosmoImageMetadataInterface.h.

◆ RealType

Definition at line 56 of file otbCosmoImageMetadataInterface.h.

◆ Self

Definition at line 40 of file otbCosmoImageMetadataInterface.h.

◆ Superclass

Definition at line 41 of file otbCosmoImageMetadataInterface.h.

◆ VariableLengthVectorType

Definition at line 55 of file otbCosmoImageMetadataInterface.h.

◆ VectorType

Definition at line 54 of file otbCosmoImageMetadataInterface.h.

Constructor & Destructor Documentation

◆ CosmoImageMetadataInterface() [1/2]

otb::CosmoImageMetadataInterface::CosmoImageMetadataInterface ( )
protecteddefault

◆ ~CosmoImageMetadataInterface()

otb::CosmoImageMetadataInterface::~CosmoImageMetadataInterface ( )
protecteddefault

◆ CosmoImageMetadataInterface() [2/2]

otb::CosmoImageMetadataInterface::CosmoImageMetadataInterface ( const Self )
privatedelete

Member Function Documentation

◆ CreateAnother()

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

◆ CreateBurstRecord()

std::vector<BurstRecord> otb::CosmoImageMetadataInterface::CreateBurstRecord ( const std::string &  firstLineTimeStr,
const std::string &  lastLineTimeStr,
const unsigned long  endLine,
const unsigned long  endSample 
) const

◆ GetCenterIncidenceAngle()

double otb::CosmoImageMetadataInterface::GetCenterIncidenceAngle ( const MetadataSupplierInterface ) const
overridevirtual

◆ GetNameOfClass()

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

Run-time type information (and related methods).

Reimplemented from otb::SarImageMetadataInterface.

◆ getOrbits()

std::vector<Orbit> otb::CosmoImageMetadataInterface::getOrbits ( const std::string &  referenceTime) const

◆ New()

static Pointer otb::CosmoImageMetadataInterface::New ( )
static

Method for creation through the object factory.

◆ operator=()

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

◆ Parse()

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

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

Reimplemented from otb::ImageMetadataInterfaceBase.

◆ ParseGdal()

void otb::CosmoImageMetadataInterface::ParseGdal ( ImageMetadata )
overridevirtual

◆ ParseGeom()

void otb::CosmoImageMetadataInterface::ParseGeom ( ImageMetadata )
overridevirtual

◆ saveMetadataBands()

std::vector<std::map<std::string, std::string> > otb::CosmoImageMetadataInterface::saveMetadataBands ( std::string  file)

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