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

#include <otbTerraSarXSarImageMetadataInterface.h>

+ Inheritance diagram for otb::TerraSarXSarImageMetadataInterface:
+ Collaboration diagram for otb::TerraSarXSarImageMetadataInterface:

Public Types

typedef std::array< int, 2 > ArrayIndexType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef std::vector< double > DoubleVectorType
 
typedef std::vector< DoubleVectorTypeDoubleVectorVectorType
 
typedef itk::ImageBase< 2 > ImageType
 
typedef ImageType::IndexType IndexType
 
typedef std::vector< IndexTypeIndexVectorType
 
typedef itk::MetaDataDictionary MetaDataDictionaryType
 
typedef itk::SmartPointer< SelfPointer
 
typedef Superclass::PointSetPointer PointSetPointer
 
typedef Superclass::PointSetType PointSetType
 
typedef double RealType
 
typedef TerraSarXSarImageMetadataInterface Self
 
typedef SarImageMetadataInterface Superclass
 
typedef std::vector< unsigned int > UIntVectorType
 
typedef MetaDataKey::VariableLengthVectorType VariableLengthVectorType
 
typedef MetaDataKey::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
 
double GetCenterIncidenceAngle (const MetadataSupplierInterface &mds) const override
 
IndexType GetCenterIncidenceAngleIndex (const MetadataSupplierInterface &mds) const
 
DoubleVectorType GetCornersIncidenceAngles (const MetadataSupplierInterface &mds) const
 
IndexVectorType GetCornersIncidenceAnglesIndex (const MetadataSupplierInterface &) const
 
virtual const char * GetNameOfClass () const
 
unsigned int GetNumberOfCornerIncidenceAngles (const MetadataSupplierInterface &) const
 
unsigned int GetNumberOfNoiseRecords (const MetadataSupplierInterface &, const unsigned int) const
 
PointSetPointer GetRadiometricCalibrationIncidenceAngle (const MetadataSupplierInterface &) const override
 
ArrayIndexType GetRadiometricCalibrationIncidenceAnglePolynomialDegree () const override
 
PointSetPointer GetRadiometricCalibrationNoise (const MetadataSupplierInterface &, const ImageMetadata &, const std::string &b="") const override
 
ArrayIndexType GetRadiometricCalibrationNoisePolynomialDegree () const override
 
InfoSceneCoord GetSceneCoord (const MetadataSupplierInterface &supplier, const std::string &path)
 
void Parse (ImageMetadata &) override
 
void ParseGdal (ImageMetadata &) override
 
void ParseGeom (ImageMetadata &) override
 
- 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 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

double ConvertStringTimeUTCToJulianDay (const std::string &value) const
 
DoubleVectorType GetNoisePolynomialCoefficients (const unsigned int noiseRecord, const MetadataSupplierInterface &mds, const unsigned int polLayer) const
 
unsigned int GetNoisePolynomialDegrees (const unsigned int noiseRecord, const MetadataSupplierInterface &mds, const unsigned int polLayer) const
 
double GetNoiseReferencePoint (const unsigned int noiseRecord, const MetadataSupplierInterface &mds, const unsigned int polLayer) const
 
double GetNoiseTimeUTC (const unsigned int noiseRecord, const MetadataSupplierInterface &mds, const unsigned int polLayer) const
 
double Horner (std::vector< double > &coefficients, const double tauMinusTauRef) const
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 TerraSarXSarImageMetadataInterface ()=default
 
 ~TerraSarXSarImageMetadataInterface () override=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

void operator= (const Self &)=delete
 
 TerraSarXSarImageMetadataInterface (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" TerraSarXSarImageMetadataInterface that gets metadata.

Definition at line 40 of file otbTerraSarXSarImageMetadataInterface.h.

Member Typedef Documentation

◆ ArrayIndexType

Definition at line 56 of file otbTerraSarXSarImageMetadataInterface.h.

◆ ConstPointer

Definition at line 46 of file otbTerraSarXSarImageMetadataInterface.h.

◆ DoubleVectorType

Definition at line 61 of file otbTerraSarXSarImageMetadataInterface.h.

◆ DoubleVectorVectorType

Definition at line 62 of file otbTerraSarXSarImageMetadataInterface.h.

◆ ImageType

Definition at line 52 of file otbTerraSarXSarImageMetadataInterface.h.

◆ IndexType

Definition at line 55 of file otbTerraSarXSarImageMetadataInterface.h.

◆ IndexVectorType

Definition at line 57 of file otbTerraSarXSarImageMetadataInterface.h.

◆ MetaDataDictionaryType

Definition at line 58 of file otbTerraSarXSarImageMetadataInterface.h.

◆ Pointer

Definition at line 45 of file otbTerraSarXSarImageMetadataInterface.h.

◆ PointSetPointer

typedef Superclass::PointSetPointer otb::TerraSarXSarImageMetadataInterface::PointSetPointer

Definition at line 66 of file otbTerraSarXSarImageMetadataInterface.h.

◆ PointSetType

Definition at line 65 of file otbTerraSarXSarImageMetadataInterface.h.

◆ RealType

Definition at line 67 of file otbTerraSarXSarImageMetadataInterface.h.

◆ Self

Definition at line 43 of file otbTerraSarXSarImageMetadataInterface.h.

◆ Superclass

Definition at line 44 of file otbTerraSarXSarImageMetadataInterface.h.

◆ UIntVectorType

Definition at line 63 of file otbTerraSarXSarImageMetadataInterface.h.

◆ VariableLengthVectorType

Definition at line 60 of file otbTerraSarXSarImageMetadataInterface.h.

◆ VectorType

Definition at line 59 of file otbTerraSarXSarImageMetadataInterface.h.

Constructor & Destructor Documentation

◆ TerraSarXSarImageMetadataInterface() [1/2]

otb::TerraSarXSarImageMetadataInterface::TerraSarXSarImageMetadataInterface ( )
protecteddefault

◆ ~TerraSarXSarImageMetadataInterface()

otb::TerraSarXSarImageMetadataInterface::~TerraSarXSarImageMetadataInterface ( )
overrideprotecteddefault

◆ TerraSarXSarImageMetadataInterface() [2/2]

otb::TerraSarXSarImageMetadataInterface::TerraSarXSarImageMetadataInterface ( const Self )
privatedelete

Member Function Documentation

◆ ConvertStringTimeUTCToJulianDay()

double otb::TerraSarXSarImageMetadataInterface::ConvertStringTimeUTCToJulianDay ( const std::string &  value) const
protected

convert a TimeUTC string to a julian day

◆ CreateAnother()

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

◆ GetCenterIncidenceAngle()

double otb::TerraSarXSarImageMetadataInterface::GetCenterIncidenceAngle ( const MetadataSupplierInterface mds) const
overridevirtual

Get the center incidence angle

Implements otb::SarImageMetadataInterface.

◆ GetCenterIncidenceAngleIndex()

IndexType otb::TerraSarXSarImageMetadataInterface::GetCenterIncidenceAngleIndex ( const MetadataSupplierInterface mds) const

Get the center index

◆ GetCornersIncidenceAngles()

DoubleVectorType otb::TerraSarXSarImageMetadataInterface::GetCornersIncidenceAngles ( const MetadataSupplierInterface mds) const

Get the corners incidence angles

◆ GetCornersIncidenceAnglesIndex()

IndexVectorType otb::TerraSarXSarImageMetadataInterface::GetCornersIncidenceAnglesIndex ( const MetadataSupplierInterface ) const

Get the corners index

◆ GetNameOfClass()

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

Run-time type information (and related methods).

Reimplemented from otb::SarImageMetadataInterface.

◆ GetNoisePolynomialCoefficients()

DoubleVectorType otb::TerraSarXSarImageMetadataInterface::GetNoisePolynomialCoefficients ( const unsigned int  noiseRecord,
const MetadataSupplierInterface mds,
const unsigned int  polLayer 
) const
protected

Get the polynomial coefficient for a given noise record

◆ GetNoisePolynomialDegrees()

unsigned int otb::TerraSarXSarImageMetadataInterface::GetNoisePolynomialDegrees ( const unsigned int  noiseRecord,
const MetadataSupplierInterface mds,
const unsigned int  polLayer 
) const
protected

Get the polynomial degree for a given noise record

◆ GetNoiseReferencePoint()

double otb::TerraSarXSarImageMetadataInterface::GetNoiseReferencePoint ( const unsigned int  noiseRecord,
const MetadataSupplierInterface mds,
const unsigned int  polLayer 
) const
protected

Get noise reference point for a given noise record

◆ GetNoiseTimeUTC()

double otb::TerraSarXSarImageMetadataInterface::GetNoiseTimeUTC ( const unsigned int  noiseRecord,
const MetadataSupplierInterface mds,
const unsigned int  polLayer 
) const
protected

Get timeUTC noise acquisition in Julian day for a given noise record

◆ GetNumberOfCornerIncidenceAngles()

unsigned int otb::TerraSarXSarImageMetadataInterface::GetNumberOfCornerIncidenceAngles ( const MetadataSupplierInterface ) const

Get the number of corner incidence angles

◆ GetNumberOfNoiseRecords()

unsigned int otb::TerraSarXSarImageMetadataInterface::GetNumberOfNoiseRecords ( const MetadataSupplierInterface ,
const unsigned int   
) const

Get the number of noise records

◆ GetRadiometricCalibrationIncidenceAngle()

PointSetPointer otb::TerraSarXSarImageMetadataInterface::GetRadiometricCalibrationIncidenceAngle ( const MetadataSupplierInterface ) const
overridevirtual

Reimplemented from otb::SarImageMetadataInterface.

◆ GetRadiometricCalibrationIncidenceAnglePolynomialDegree()

ArrayIndexType otb::TerraSarXSarImageMetadataInterface::GetRadiometricCalibrationIncidenceAnglePolynomialDegree ( ) const
overridevirtual

Reimplemented from otb::SarImageMetadataInterface.

◆ GetRadiometricCalibrationNoise()

PointSetPointer otb::TerraSarXSarImageMetadataInterface::GetRadiometricCalibrationNoise ( const MetadataSupplierInterface ,
const ImageMetadata ,
const std::string &  b = "" 
) const
overridevirtual

Reimplemented from otb::SarImageMetadataInterface.

◆ GetRadiometricCalibrationNoisePolynomialDegree()

ArrayIndexType otb::TerraSarXSarImageMetadataInterface::GetRadiometricCalibrationNoisePolynomialDegree ( ) const
overridevirtual

Reimplemented from otb::SarImageMetadataInterface.

◆ GetSceneCoord()

InfoSceneCoord otb::TerraSarXSarImageMetadataInterface::GetSceneCoord ( const MetadataSupplierInterface supplier,
const std::string &  path 
)

Get an InfoSceneCoord from its path

◆ Horner()

double otb::TerraSarXSarImageMetadataInterface::Horner ( std::vector< double > &  coefficients,
const double  tauMinusTauRef 
) const
inlineprotected

Evaluate polynom with Horner scheme

◆ New()

static Pointer otb::TerraSarXSarImageMetadataInterface::New ( )
static

Method for creation through the object factory.

◆ operator=()

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

◆ Parse()

void otb::TerraSarXSarImageMetadataInterface::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::TerraSarXSarImageMetadataInterface::ParseGdal ( ImageMetadata )
overridevirtual

◆ ParseGeom()

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

◆ PrintSelf()

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

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