OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | 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 Self
ConstPointer
 
typedef
Superclass::ImageKeywordlistType 
ImageKeywordlistType
 
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 itk::SmartPointer
< const Self
ConstPointer
 
typedef
Superclass::ImageKeywordlistType 
ImageKeywordlistType
 
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 Self
ConstPointer
 
typedef ImageKeywordlist ImageKeywordlistType
 
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 Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

bool CanRead () const override
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
double GetCenterIncidenceAngle () const override
 
int GetDay () const override
 
UIntVectorType GetDefaultDisplay () const override
 
int GetHour () const override
 
int GetMinute () const override
 
int GetMonth () const override
 
virtual const char * GetNameOfClass () const
 
double GetPRF () const override
 
int GetProductionDay () const override
 
int GetProductionMonth () const override
 
int GetProductionYear () const override
 
double GetRadarFrequency () const override
 
double GetRSF () const override
 
int GetYear () const override
 
- Public Member Functions inherited from otb::SarImageMetadataInterface
virtual void CreateCalibrationLookupData (const short t)
 
virtual const std::string GetAcquisitionMode () const
 
const LookupDataPointerType GetCalibrationLookupData (const short type)
 
virtual const std::string GetProductType () const
 
virtual PointSetPointer GetRadiometricCalibrationAntennaPatternNewGain () const
 
virtual IndexType GetRadiometricCalibrationAntennaPatternNewGainPolynomialDegree () const
 
virtual PointSetPointer GetRadiometricCalibrationAntennaPatternOldGain () const
 
virtual IndexType GetRadiometricCalibrationAntennaPatternOldGainPolynomialDegree () const
 
virtual PointSetPointer GetRadiometricCalibrationIncidenceAngle () const
 
virtual IndexType GetRadiometricCalibrationIncidenceAnglePolynomialDegree () const
 
virtual PointSetPointer GetRadiometricCalibrationNoise () const
 
virtual IndexType GetRadiometricCalibrationNoisePolynomialDegree () const
 
virtual PointSetPointer GetRadiometricCalibrationRangeSpreadLoss () const
 
virtual IndexType GetRadiometricCalibrationRangeSpreadLossPolynomialDegree () const
 
virtual RealType GetRadiometricCalibrationScale () const
 
virtual double GetRescalingFactor () const
 
bool HasCalibrationLookupDataFlag () const
 
void SetCalibrationLookupData (LookupDataType *lut)
 
StringVectorType GetEnhancedBandNames () const override
 
- Public Member Functions inherited from otb::ImageMetadataInterfaceBase
double GetGCPCol (unsigned int GCPnum) const
 
UnsignedIntType GetGCPCount () const
 
std::string GetGCPId (unsigned int GCPnum) const
 
std::string GetGCPInfo (unsigned int GCPnum) const
 
double GetGCPRow (unsigned int GCPnum) const
 
OTB_GCPGetGCPs (unsigned int GCPnum)
 
double GetGCPX (unsigned int GCPnum) const
 
double GetGCPY (unsigned int GCPnum) const
 
double GetGCPZ (unsigned int GCPnum) const
 
VectorType GetGeoTransform () const
 
ImageKeywordlistType GetImageKeywordlist ()
 
const ImageKeywordlistType GetImageKeywordlist () const
 
VectorType GetLowerLeftCorner () const
 
VectorType GetLowerRightCorner () const
 
const MetaDataDictionaryTypeGetMetaDataDictionary () const
 
bool GetNoDataFlags (std::vector< bool > &flags, std::vector< double > &values) const
 
std::string GetProjectionRef () const
 
std::string const GetSensorID () const
 
bool GetSensorID (std::string &sensorId) const
 
VectorType GetUpperLeftCorner () const
 
VectorType GetUpperRightCorner () const
 
void SetImage (ImageType *image)
 
void SetMetaDataDictionary (const MetaDataDictionaryType &dict)
 
std::string GetGCPProjection () const
 
UnsignedIntType GetNumberOfBands () const
 
StringVectorType GetBandName () const
 
double GetXPixelSpacing () const
 
double GetYPixelSpacing () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
virtual ModifiedTimeType GetMTime () const
 
virtual const std::string & GetObjectName () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from otb::ImageMetadataInterfaceBase
static void PrintMetadata (std::ostream &os, itk::Indent indent, const MetaDataDictionaryType &dict)
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

 CosmoImageMetadataInterface ()=default
 
 ~CosmoImageMetadataInterface ()=default
 
- Protected Member Functions inherited from otb::SarImageMetadataInterface
IndexType GetConstantPolynomialDegree () const
 
PointSetPointer GetConstantValuePointSet (const RealType &value) const
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 SarImageMetadataInterface ()
 
 ~SarImageMetadataInterface () override
 
- Protected Member Functions inherited from otb::ImageMetadataInterfaceBase
 ImageMetadataInterfaceBase ()
 
 ~ImageMetadataInterfaceBase () override
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

 CosmoImageMetadataInterface (const Self &)=delete
 
void operator= (const Self &)=delete
 
void ParseDateTime (std::string key, std::vector< int > &dateFields) const
 

Private Attributes

std::vector< int > m_AcquisitionDateFields
 
std::vector< int > m_ProductionDateFields
 

Additional Inherited Members

- Protected Attributes inherited from otb::SarImageMetadataInterface
LookupDataPointerType m_SarLut
 
- Protected Attributes inherited from otb::ImageMetadataInterfaceBase
MetaDataDictionaryType m_MetaDataDictionary
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Detailed Description

Creation of an "otb" CosmoImageMetadataInterface that gets metadata.

Definition at line 37 of file otbCosmoImageMetadataInterface.h.

Member Typedef Documentation

Definition at line 44 of file otbCosmoImageMetadataInterface.h.

typedef Superclass::ImageKeywordlistType otb::CosmoImageMetadataInterface::ImageKeywordlistType

Definition at line 57 of file otbCosmoImageMetadataInterface.h.

typedef Superclass::ImageType otb::CosmoImageMetadataInterface::ImageType

Definition at line 51 of file otbCosmoImageMetadataInterface.h.

typedef Superclass::LookupDataPointerType otb::CosmoImageMetadataInterface::LookupDataPointerType

Definition at line 59 of file otbCosmoImageMetadataInterface.h.

typedef Superclass::MetaDataDictionaryType otb::CosmoImageMetadataInterface::MetaDataDictionaryType

Definition at line 54 of file otbCosmoImageMetadataInterface.h.

Definition at line 43 of file otbCosmoImageMetadataInterface.h.

typedef Superclass::RealType otb::CosmoImageMetadataInterface::RealType

Definition at line 58 of file otbCosmoImageMetadataInterface.h.

Definition at line 41 of file otbCosmoImageMetadataInterface.h.

Definition at line 42 of file otbCosmoImageMetadataInterface.h.

typedef Superclass::VariableLengthVectorType otb::CosmoImageMetadataInterface::VariableLengthVectorType

Definition at line 56 of file otbCosmoImageMetadataInterface.h.

typedef Superclass::VectorType otb::CosmoImageMetadataInterface::VectorType

Definition at line 55 of file otbCosmoImageMetadataInterface.h.

Constructor & Destructor Documentation

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

Member Function Documentation

bool otb::CosmoImageMetadataInterface::CanRead ( ) const
overridevirtual

check sensor ID

Implements otb::ImageMetadataInterfaceBase.

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

Reimplemented from itk::Object.

double otb::CosmoImageMetadataInterface::GetCenterIncidenceAngle ( ) const
overridevirtual
int otb::CosmoImageMetadataInterface::GetDay ( ) const
overridevirtual

Get the imaging acquisition day from the ossim metadata

Implements otb::ImageMetadataInterfaceBase.

UIntVectorType otb::CosmoImageMetadataInterface::GetDefaultDisplay ( ) const
overridevirtual

Get the 3 spectral band numbers corresponding to the default display for visualization, in the order R, G, B

Implements otb::ImageMetadataInterfaceBase.

int otb::CosmoImageMetadataInterface::GetHour ( ) const
overridevirtual

Get the imaging acquisition hour from the ossim metadata

Implements otb::ImageMetadataInterfaceBase.

int otb::CosmoImageMetadataInterface::GetMinute ( ) const
overridevirtual

Get the imaging acquisition minute from the ossim metadata

Implements otb::ImageMetadataInterfaceBase.

int otb::CosmoImageMetadataInterface::GetMonth ( ) const
overridevirtual

Get the imaging acquisition month from the ossim metadata

Implements otb::ImageMetadataInterfaceBase.

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

Run-time type information (and related methods).

Reimplemented from otb::SarImageMetadataInterface.

double otb::CosmoImageMetadataInterface::GetPRF ( ) const
overridevirtual
int otb::CosmoImageMetadataInterface::GetProductionDay ( ) const
overridevirtual

Get the imaging production day from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable

Implements otb::ImageMetadataInterfaceBase.

int otb::CosmoImageMetadataInterface::GetProductionMonth ( ) const
overridevirtual

Get the imaging production month from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable

Implements otb::ImageMetadataInterfaceBase.

int otb::CosmoImageMetadataInterface::GetProductionYear ( ) const
overridevirtual

Get the imaging production year from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable

Implements otb::ImageMetadataInterfaceBase.

double otb::CosmoImageMetadataInterface::GetRadarFrequency ( ) const
overridevirtual
double otb::CosmoImageMetadataInterface::GetRSF ( ) const
overridevirtual
int otb::CosmoImageMetadataInterface::GetYear ( ) const
overridevirtual

Get the imaging acquisition year from the ossim metadata

Implements otb::ImageMetadataInterfaceBase.

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

Method for creation through the object factory.

void otb::CosmoImageMetadataInterface::operator= ( const Self )
privatedelete
void otb::CosmoImageMetadataInterface::ParseDateTime ( std::string  key,
std::vector< int > &  dateFields 
) const
private

Member Data Documentation

std::vector<int> otb::CosmoImageMetadataInterface::m_AcquisitionDateFields
mutableprivate

Definition at line 116 of file otbCosmoImageMetadataInterface.h.

std::vector<int> otb::CosmoImageMetadataInterface::m_ProductionDateFields
mutableprivate

Definition at line 115 of file otbCosmoImageMetadataInterface.h.


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