Orfeo Toolbox  4.2
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
otb::ImageKeywordlist Class Reference

Storage and conversion for OSSIM metadata. More...

#include <otbImageKeywordlist.h>

+ Collaboration diagram for otb::ImageKeywordlist:

Public Types

typedef std::map< std::string,
std::string > 
KeywordlistMap
 
typedef ImageKeywordlist Self
 

Public Member Functions

 ImageKeywordlist ()
 
 ImageKeywordlist (const Self &)
 
virtual ~ImageKeywordlist ()
 
virtual void AddKey (const std::string &key, const std::string &value)
 
void Clear (void)
 
virtual void ClearMetadataByKey (const std::string &key)
 
virtual bool convertToGDALRPC (GDALRPCInfo &rpc) const
 
virtual void convertToOSSIMKeywordlist (ossimKeywordlist &kwl) const
 
const KeywordlistMapGetKeywordlist () const
 
const std::string & GetMetadataByKey (const std::string &key) const
 
virtual const char * GetNameOfClass () const
 
unsigned int GetSize (void) const
 
bool HasKey (const std::string &key) const
 
void operator= (const Self &)
 
virtual void Print (std::ostream &os, itk::Indent indent=0) const
 
void SetKeywordlist (const ossimKeywordlist &kwl)
 

Protected Member Functions

virtual void PrintSelf (std::ostream &os, itk::Indent indent) const
 

Private Attributes

KeywordlistMap m_Keywordlist
 

Detailed Description

Storage and conversion for OSSIM metadata.

See Also
ImageSeriesReader
ImageIOBase

Definition at line 72 of file otbImageKeywordlist.h.

Member Typedef Documentation

typedef std::map<std::string, std::string> otb::ImageKeywordlist::KeywordlistMap

Definition at line 81 of file otbImageKeywordlist.h.

Standard class typedefs.

Definition at line 76 of file otbImageKeywordlist.h.

Constructor & Destructor Documentation

otb::ImageKeywordlist::ImageKeywordlist ( )

Definition at line 40 of file otbImageKeywordlist.cxx.

otb::ImageKeywordlist::~ImageKeywordlist ( )
virtual

Definition at line 50 of file otbImageKeywordlist.cxx.

otb::ImageKeywordlist::ImageKeywordlist ( const Self p)

Definition at line 45 of file otbImageKeywordlist.cxx.

Member Function Documentation

void otb::ImageKeywordlist::AddKey ( const std::string &  key,
const std::string &  value 
)
virtual
void otb::ImageKeywordlist::Clear ( void  )
inline

Definition at line 94 of file otbImageKeywordlist.h.

void otb::ImageKeywordlist::ClearMetadataByKey ( const std::string &  key)
virtual

Clear a given field of the keyword list

Definition at line 103 of file otbImageKeywordlist.cxx.

References m_Keywordlist.

Referenced by otb::ReadGeometryFromImage().

bool otb::ImageKeywordlist::convertToGDALRPC ( GDALRPCInfo &  rpc) const
virtual

try to convert the image keywordlist into a GDALRpcInfo structure return true if successful, false otherwise

Definition at line 131 of file otbImageKeywordlist.cxx.

References convertToOSSIMKeywordlist().

Referenced by otb::GDALImageIO::InternalWriteImageInformation().

void otb::ImageKeywordlist::convertToOSSIMKeywordlist ( ossimKeywordlist &  kwl) const
virtual
const KeywordlistMap& otb::ImageKeywordlist::GetKeywordlist ( ) const
inline

Get the internal map container

Definition at line 87 of file otbImageKeywordlist.h.

Referenced by otb::ReadGeometryFromImage().

const std::string & otb::ImageKeywordlist::GetMetadataByKey ( const std::string &  key) const

Get the Data object descriptor corresponding to the given key

Definition at line 78 of file otbImageKeywordlist.cxx.

References m_Keywordlist.

Referenced by otb::PleiadesPToXSAffineTransformCalculator::CanCompute(), otb::PleiadesPToXSAffineTransformCalculator::Compute(), otb::SarParametricMapFunction< TInputImage, TCoordRep >::EvaluateParametricCoefficient(), otb::ImageMetadataInterfaceBase::GetBandName(), otb::TerraSarImageMetadataInterface::GetCalibrationFactor(), otb::TerraSarImageMetadataInterface::GetCenterIncidenceAngle(), otb::TerraSarImageMetadataInterface::GetCenterIncidenceAngleIndex(), otb::TerraSarImageMetadataInterface::GetCornersIncidenceAngles(), otb::TerraSarImageMetadataInterface::GetCornersIncidenceAnglesIndex(), otb::IkonosImageMetadataInterface::GetDay(), otb::PleiadesImageMetadataInterface::GetDay(), otb::WorldView2ImageMetadataInterface::GetDay(), otb::Spot6ImageMetadataInterface::GetDay(), otb::SpotImageMetadataInterface::GetDay(), otb::FormosatImageMetadataInterface::GetDay(), otb::QuickBirdImageMetadataInterface::GetDay(), otb::TerraSarImageMetadataInterface::GetDay(), otb::WorldView2ImageMetadataInterface::GetDefaultDisplay(), otb::QuickBirdImageMetadataInterface::GetFirstWavelengths(), otb::WorldView2ImageMetadataInterface::GetFirstWavelengths(), otb::WorldView2ImageMetadataInterface::GetHour(), otb::Spot6ImageMetadataInterface::GetHour(), otb::IkonosImageMetadataInterface::GetHour(), otb::PleiadesImageMetadataInterface::GetHour(), otb::SpotImageMetadataInterface::GetHour(), otb::QuickBirdImageMetadataInterface::GetHour(), otb::FormosatImageMetadataInterface::GetHour(), otb::TerraSarImageMetadataInterface::GetHour(), otb::PleiadesImageMetadataInterface::GetInstrument(), otb::Spot6ImageMetadataInterface::GetInstrument(), otb::FormosatImageMetadataInterface::GetInstrument(), otb::SpotImageMetadataInterface::GetInstrument(), otb::Spot6ImageMetadataInterface::GetInstrumentIndex(), otb::PleiadesImageMetadataInterface::GetInstrumentIndex(), otb::FormosatImageMetadataInterface::GetInstrumentIndex(), otb::SpotImageMetadataInterface::GetInstrumentIndex(), otb::QuickBirdImageMetadataInterface::GetLastWavelengths(), otb::WorldView2ImageMetadataInterface::GetLastWavelengths(), otb::TerraSarImageMetadataInterface::GetMeanIncidenceAngles(), otb::WorldView2ImageMetadataInterface::GetMinute(), otb::FormosatImageMetadataInterface::GetMinute(), otb::Spot6ImageMetadataInterface::GetMinute(), otb::IkonosImageMetadataInterface::GetMinute(), otb::PleiadesImageMetadataInterface::GetMinute(), otb::SpotImageMetadataInterface::GetMinute(), otb::QuickBirdImageMetadataInterface::GetMinute(), otb::TerraSarImageMetadataInterface::GetMinute(), otb::WorldView2ImageMetadataInterface::GetMonth(), otb::IkonosImageMetadataInterface::GetMonth(), otb::PleiadesImageMetadataInterface::GetMonth(), otb::FormosatImageMetadataInterface::GetMonth(), otb::SpotImageMetadataInterface::GetMonth(), otb::Spot6ImageMetadataInterface::GetMonth(), otb::QuickBirdImageMetadataInterface::GetMonth(), otb::TerraSarImageMetadataInterface::GetMonth(), otb::TerraSarImageMetadataInterface::GetNoisePolynomialCoefficients(), otb::TerraSarImageMetadataInterface::GetNoisePolynomialCoefficientsList(), otb::TerraSarImageMetadataInterface::GetNoisePolynomialDegrees(), otb::TerraSarImageMetadataInterface::GetNoiseReferencePoint(), otb::TerraSarImageMetadataInterface::GetNoiseReferencePointList(), otb::TerraSarImageMetadataInterface::GetNoiseTimeUTC(), otb::TerraSarImageMetadataInterface::GetNoiseTimeUTCList(), otb::TerraSarImageMetadataInterface::GetNoiseValidityRangeMaxList(), otb::TerraSarImageMetadataInterface::GetNoiseValidityRangeMinList(), otb::ImageMetadataInterfaceBase::GetNumberOfBands(), otb::TerraSarImageMetadataInterface::GetNumberOfCornerIncidenceAngles(), otb::TerraSarImageMetadataInterface::GetNumberOfNoiseRecords(), otb::WorldView2ImageMetadataInterface::GetPhysicalBias(), otb::Spot6ImageMetadataInterface::GetPhysicalBias(), otb::PleiadesImageMetadataInterface::GetPhysicalBias(), otb::SpotImageMetadataInterface::GetPhysicalBias(), otb::FormosatImageMetadataInterface::GetPhysicalBias(), otb::QuickBirdImageMetadataInterface::GetPhysicalBias(), otb::Spot6ImageMetadataInterface::GetPhysicalGain(), otb::SpotImageMetadataInterface::GetPhysicalGain(), otb::QuickBirdImageMetadataInterface::GetPhysicalGain(), otb::FormosatImageMetadataInterface::GetPhysicalGain(), otb::WorldView2ImageMetadataInterface::GetPhysicalGain(), otb::TerraSarImageMetadataInterface::GetPRF(), otb::WorldView2ImageMetadataInterface::GetProductionDay(), otb::QuickBirdImageMetadataInterface::GetProductionDay(), otb::Spot6ImageMetadataInterface::GetProductionDay(), otb::PleiadesImageMetadataInterface::GetProductionDay(), otb::SpotImageMetadataInterface::GetProductionDay(), otb::IkonosImageMetadataInterface::GetProductionDay(), otb::FormosatImageMetadataInterface::GetProductionDay(), otb::TerraSarImageMetadataInterface::GetProductionDay(), otb::WorldView2ImageMetadataInterface::GetProductionMonth(), otb::Spot6ImageMetadataInterface::GetProductionMonth(), otb::FormosatImageMetadataInterface::GetProductionMonth(), otb::PleiadesImageMetadataInterface::GetProductionMonth(), otb::IkonosImageMetadataInterface::GetProductionMonth(), otb::SpotImageMetadataInterface::GetProductionMonth(), otb::QuickBirdImageMetadataInterface::GetProductionMonth(), otb::TerraSarImageMetadataInterface::GetProductionMonth(), otb::WorldView2ImageMetadataInterface::GetProductionYear(), otb::Spot6ImageMetadataInterface::GetProductionYear(), otb::QuickBirdImageMetadataInterface::GetProductionYear(), otb::PleiadesImageMetadataInterface::GetProductionYear(), otb::IkonosImageMetadataInterface::GetProductionYear(), otb::SpotImageMetadataInterface::GetProductionYear(), otb::FormosatImageMetadataInterface::GetProductionYear(), otb::TerraSarImageMetadataInterface::GetProductionYear(), otb::TerraSarImageMetadataInterface::GetRadarFrequency(), otb::TerraSarImageMetadataInterface::GetRadiometricCalibrationScale(), otb::TerraSarImageMetadataInterface::GetRangeTimeFirstPixel(), otb::TerraSarImageMetadataInterface::GetRangeTimeLastPixel(), otb::TerraSarImageMetadataInterface::GetRSF(), otb::Spot6ImageMetadataInterface::GetSatAzimuth(), otb::FormosatImageMetadataInterface::GetSatAzimuth(), otb::IkonosImageMetadataInterface::GetSatAzimuth(), otb::SpotImageMetadataInterface::GetSatAzimuth(), otb::PleiadesImageMetadataInterface::GetSatAzimuth(), otb::QuickBirdImageMetadataInterface::GetSatAzimuth(), otb::WorldView2ImageMetadataInterface::GetSatAzimuth(), otb::WorldView2ImageMetadataInterface::GetSatElevation(), otb::Spot6ImageMetadataInterface::GetSatElevation(), otb::SpotImageMetadataInterface::GetSatElevation(), otb::FormosatImageMetadataInterface::GetSatElevation(), otb::IkonosImageMetadataInterface::GetSatElevation(), otb::QuickBirdImageMetadataInterface::GetSatElevation(), otb::PleiadesImageMetadataInterface::GetSatElevation(), otb::ImageMetadataInterfaceBase::GetSensorID(), otb::SpotImageMetadataInterface::GetSolarIrradiance(), otb::PleiadesImageMetadataInterface::GetSolarIrradiance(), otb::Spot6ImageMetadataInterface::GetSolarIrradiance(), otb::IkonosImageMetadataInterface::GetSolarIrradiance(), otb::QuickBirdImageMetadataInterface::GetSolarIrradiance(), otb::WorldView2ImageMetadataInterface::GetSolarIrradiance(), otb::FormosatImageMetadataInterface::GetSolarIrradiance(), otb::WorldView2ImageMetadataInterface::GetSpectralSensitivity(), otb::QuickBirdImageMetadataInterface::GetSpectralSensitivity(), otb::TerraSarImageMetadataInterface::GetStartTimeUTC(), otb::TerraSarImageMetadataInterface::GetStopTimeUTC(), otb::OpticalImageMetadataInterface::GetSunAzimuth(), otb::OpticalImageMetadataInterface::GetSunElevation(), otb::ImageMetadataInterfaceBase::GetXPixelSpacing(), otb::SpotImageMetadataInterface::GetYear(), otb::QuickBirdImageMetadataInterface::GetYear(), otb::PleiadesImageMetadataInterface::GetYear(), otb::IkonosImageMetadataInterface::GetYear(), otb::FormosatImageMetadataInterface::GetYear(), otb::WorldView2ImageMetadataInterface::GetYear(), otb::Spot6ImageMetadataInterface::GetYear(), otb::TerraSarImageMetadataInterface::GetYear(), otb::ImageMetadataInterfaceBase::GetYPixelSpacing(), and otb::ReadGeometryFromImage().

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

Run-time type information (and related methods).

unsigned int otb::ImageKeywordlist::GetSize ( void  ) const
inline
bool otb::ImageKeywordlist::HasKey ( const std::string &  key) const

return true if the key is in the dictionary

Definition at line 95 of file otbImageKeywordlist.cxx.

References m_Keywordlist.

Referenced by otb::ImageMetadataInterfaceBase::GetBandName(), otb::TerraSarImageMetadataInterface::GetCalibrationFactor(), otb::IkonosImageMetadataInterface::GetDay(), otb::PleiadesImageMetadataInterface::GetDay(), otb::SpotImageMetadataInterface::GetDay(), otb::FormosatImageMetadataInterface::GetDay(), otb::QuickBirdImageMetadataInterface::GetDay(), otb::WorldView2ImageMetadataInterface::GetDay(), otb::Spot6ImageMetadataInterface::GetDay(), otb::TerraSarImageMetadataInterface::GetDay(), otb::WorldView2ImageMetadataInterface::GetDefaultDisplay(), otb::Spot6ImageMetadataInterface::GetHour(), otb::PleiadesImageMetadataInterface::GetHour(), otb::SpotImageMetadataInterface::GetHour(), otb::IkonosImageMetadataInterface::GetHour(), otb::WorldView2ImageMetadataInterface::GetHour(), otb::QuickBirdImageMetadataInterface::GetHour(), otb::FormosatImageMetadataInterface::GetHour(), otb::TerraSarImageMetadataInterface::GetHour(), otb::PleiadesImageMetadataInterface::GetInstrument(), otb::FormosatImageMetadataInterface::GetInstrument(), otb::Spot6ImageMetadataInterface::GetInstrument(), otb::SpotImageMetadataInterface::GetInstrument(), otb::PleiadesImageMetadataInterface::GetInstrumentIndex(), otb::Spot6ImageMetadataInterface::GetInstrumentIndex(), otb::FormosatImageMetadataInterface::GetInstrumentIndex(), otb::SpotImageMetadataInterface::GetInstrumentIndex(), otb::Spot6ImageMetadataInterface::GetMinute(), otb::FormosatImageMetadataInterface::GetMinute(), otb::IkonosImageMetadataInterface::GetMinute(), otb::SpotImageMetadataInterface::GetMinute(), otb::PleiadesImageMetadataInterface::GetMinute(), otb::QuickBirdImageMetadataInterface::GetMinute(), otb::WorldView2ImageMetadataInterface::GetMinute(), otb::TerraSarImageMetadataInterface::GetMinute(), otb::IkonosImageMetadataInterface::GetMonth(), otb::PleiadesImageMetadataInterface::GetMonth(), otb::SpotImageMetadataInterface::GetMonth(), otb::FormosatImageMetadataInterface::GetMonth(), otb::QuickBirdImageMetadataInterface::GetMonth(), otb::WorldView2ImageMetadataInterface::GetMonth(), otb::Spot6ImageMetadataInterface::GetMonth(), otb::TerraSarImageMetadataInterface::GetMonth(), otb::TerraSarImageMetadataInterface::GetNoisePolynomialDegrees(), otb::TerraSarImageMetadataInterface::GetNoiseTimeUTC(), otb::ImageMetadataInterfaceBase::GetNumberOfBands(), otb::TerraSarImageMetadataInterface::GetNumberOfNoiseRecords(), otb::Spot6ImageMetadataInterface::GetPhysicalBias(), otb::SpotImageMetadataInterface::GetPhysicalBias(), otb::FormosatImageMetadataInterface::GetPhysicalBias(), otb::PleiadesImageMetadataInterface::GetPhysicalBias(), otb::Spot6ImageMetadataInterface::GetPhysicalGain(), otb::SpotImageMetadataInterface::GetPhysicalGain(), otb::FormosatImageMetadataInterface::GetPhysicalGain(), otb::Spot6ImageMetadataInterface::GetProductionDay(), otb::PleiadesImageMetadataInterface::GetProductionDay(), otb::FormosatImageMetadataInterface::GetProductionDay(), otb::SpotImageMetadataInterface::GetProductionDay(), otb::IkonosImageMetadataInterface::GetProductionDay(), otb::QuickBirdImageMetadataInterface::GetProductionDay(), otb::WorldView2ImageMetadataInterface::GetProductionDay(), otb::TerraSarImageMetadataInterface::GetProductionDay(), otb::Spot6ImageMetadataInterface::GetProductionMonth(), otb::IkonosImageMetadataInterface::GetProductionMonth(), otb::SpotImageMetadataInterface::GetProductionMonth(), otb::PleiadesImageMetadataInterface::GetProductionMonth(), otb::FormosatImageMetadataInterface::GetProductionMonth(), otb::WorldView2ImageMetadataInterface::GetProductionMonth(), otb::QuickBirdImageMetadataInterface::GetProductionMonth(), otb::TerraSarImageMetadataInterface::GetProductionMonth(), otb::PleiadesImageMetadataInterface::GetProductionYear(), otb::FormosatImageMetadataInterface::GetProductionYear(), otb::SpotImageMetadataInterface::GetProductionYear(), otb::IkonosImageMetadataInterface::GetProductionYear(), otb::Spot6ImageMetadataInterface::GetProductionYear(), otb::WorldView2ImageMetadataInterface::GetProductionYear(), otb::QuickBirdImageMetadataInterface::GetProductionYear(), otb::TerraSarImageMetadataInterface::GetProductionYear(), otb::WorldView2ImageMetadataInterface::GetSatAzimuth(), otb::PleiadesImageMetadataInterface::GetSatAzimuth(), otb::Spot6ImageMetadataInterface::GetSatAzimuth(), otb::IkonosImageMetadataInterface::GetSatAzimuth(), otb::FormosatImageMetadataInterface::GetSatAzimuth(), otb::QuickBirdImageMetadataInterface::GetSatAzimuth(), otb::SpotImageMetadataInterface::GetSatAzimuth(), otb::QuickBirdImageMetadataInterface::GetSatElevation(), otb::SpotImageMetadataInterface::GetSatElevation(), otb::IkonosImageMetadataInterface::GetSatElevation(), otb::WorldView2ImageMetadataInterface::GetSatElevation(), otb::PleiadesImageMetadataInterface::GetSatElevation(), otb::Spot6ImageMetadataInterface::GetSatElevation(), otb::FormosatImageMetadataInterface::GetSatElevation(), otb::ImageMetadataInterfaceBase::GetSensorID(), otb::IkonosImageMetadataInterface::GetSolarIrradiance(), otb::Spot6ImageMetadataInterface::GetSolarIrradiance(), otb::FormosatImageMetadataInterface::GetSolarIrradiance(), otb::PleiadesImageMetadataInterface::GetSolarIrradiance(), otb::SpotImageMetadataInterface::GetSolarIrradiance(), otb::OpticalImageMetadataInterface::GetSunAzimuth(), otb::OpticalImageMetadataInterface::GetSunElevation(), otb::ImageMetadataInterfaceBase::GetXPixelSpacing(), otb::QuickBirdImageMetadataInterface::GetYear(), otb::Spot6ImageMetadataInterface::GetYear(), otb::IkonosImageMetadataInterface::GetYear(), otb::WorldView2ImageMetadataInterface::GetYear(), otb::FormosatImageMetadataInterface::GetYear(), otb::PleiadesImageMetadataInterface::GetYear(), otb::SpotImageMetadataInterface::GetYear(), otb::TerraSarImageMetadataInterface::GetYear(), otb::ImageMetadataInterfaceBase::GetYPixelSpacing(), and otb::ReadGeometryFromImage().

void otb::ImageKeywordlist::operator= ( const Self p)

Definition at line 56 of file otbImageKeywordlist.cxx.

References m_Keywordlist.

void otb::ImageKeywordlist::Print ( std::ostream &  os,
itk::Indent  indent = 0 
) const
virtual
void otb::ImageKeywordlist::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
protectedvirtual

Methods invoked by Print() to print information about the object Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Definition at line 176 of file otbImageKeywordlist.cxx.

References convertToOSSIMKeywordlist().

Referenced by Print().

void otb::ImageKeywordlist::SetKeywordlist ( const ossimKeywordlist &  kwl)

Member Data Documentation

KeywordlistMap otb::ImageKeywordlist::m_Keywordlist
private

Geo informations are in this map

Definition at line 138 of file otbImageKeywordlist.h.

Referenced by AddKey(), ClearMetadataByKey(), convertToOSSIMKeywordlist(), GetMetadataByKey(), HasKey(), operator=(), and SetKeywordlist().


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

Generated at Sat Aug 30 2014 18:33:20 for Orfeo Toolbox with doxygen 1.8.3.1