OTB
9.0.0
Orfeo Toolbox
|
#include <otbImageMetadataInterfaceBase.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::ImageBase< 2 > | ImageType |
typedef itk::MetaDataDictionary | MetaDataDictionaryType |
typedef itk::SmartPointer< Self > | Pointer |
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 | |
const MetaDataDictionaryType & | GetMetaDataDictionary () const |
virtual const char * | GetNameOfClass () const |
std::string | GetProjectionRef () const |
void | SetImage (ImageType *image) |
void | SetMetaDataDictionary (const MetaDataDictionaryType &dict) |
void | SetMetadataSupplierInterface (const MetadataSupplierInterface &) |
MetaDataDictionaryType | m_MetaDataDictionary |
const MetadataSupplierInterface * | m_MetadataSupplierInterface = nullptr |
GCP | m_GCP |
std::string | GetGCPProjection () const |
UnsignedIntType | GetGCPCount () const |
GCP & | GetGCPs (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 |
virtual void | Parse (ImageMetadata &) |
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::TimePoint & | Fetch (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) |
ImageMetadataInterfaceBase ()=default | |
~ImageMetadataInterfaceBase () override=default | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
ImageMetadataInterfaceBase (const Self &)=delete | |
void | operator= (const Self &)=delete |
Base class for captor metadata reading.
Definition at line 44 of file otbImageMetadataInterfaceBase.h.
typedef itk::SmartPointer<const Self> otb::ImageMetadataInterfaceBase::ConstPointer |
Definition at line 50 of file otbImageMetadataInterfaceBase.h.
typedef itk::ImageBase<2> otb::ImageMetadataInterfaceBase::ImageType |
Definition at line 53 of file otbImageMetadataInterfaceBase.h.
typedef itk::MetaDataDictionary otb::ImageMetadataInterfaceBase::MetaDataDictionaryType |
Definition at line 56 of file otbImageMetadataInterfaceBase.h.
typedef itk::SmartPointer<Self> otb::ImageMetadataInterfaceBase::Pointer |
Definition at line 49 of file otbImageMetadataInterfaceBase.h.
Definition at line 47 of file otbImageMetadataInterfaceBase.h.
typedef std::vector<std::string> otb::ImageMetadataInterfaceBase::StringVectorType |
Definition at line 60 of file otbImageMetadataInterfaceBase.h.
typedef itk::Object otb::ImageMetadataInterfaceBase::Superclass |
Definition at line 48 of file otbImageMetadataInterfaceBase.h.
typedef std::vector<unsigned int> otb::ImageMetadataInterfaceBase::UIntVectorType |
Definition at line 61 of file otbImageMetadataInterfaceBase.h.
typedef unsigned int otb::ImageMetadataInterfaceBase::UnsignedIntType |
Definition at line 59 of file otbImageMetadataInterfaceBase.h.
typedef MetaDataKey::VariableLengthVectorType otb::ImageMetadataInterfaceBase::VariableLengthVectorType |
Definition at line 58 of file otbImageMetadataInterfaceBase.h.
Definition at line 57 of file otbImageMetadataInterfaceBase.h.
|
protecteddefault |
Get the GCP projection coordinates of the image.
|
overrideprotecteddefault |
Get the GCP projection coordinates of the image.
|
privatedelete |
Get the GCP projection coordinates of the image.
bool otb::ImageMetadataInterfaceBase::CheckFetch | ( | MDNum | key, |
ImageMetadata & | imd, | ||
const char * | path, | ||
int | band = -1 |
||
) |
Get the GCP projection coordinates of the image.
bool otb::ImageMetadataInterfaceBase::CheckFetch | ( | MDStr | key, |
ImageMetadata & | imd, | ||
const char * | path, | ||
int | band = -1 |
||
) |
Get the GCP projection coordinates of the image.
bool otb::ImageMetadataInterfaceBase::CheckFetch | ( | MDTime | key, |
ImageMetadata & | imd, | ||
const char * | path, | ||
int | band = -1 |
||
) |
Get the GCP projection coordinates of the image.
bool otb::ImageMetadataInterfaceBase::CheckFetch | ( | std::string | key, |
ImageMetadata & | imd, | ||
const char * | path, | ||
int | band = -1 |
||
) |
Get the GCP projection coordinates of the image.
const double& otb::ImageMetadataInterfaceBase::Fetch | ( | MDNum | key, |
ImageMetadata & | imd, | ||
const char * | path, | ||
int | band = -1 |
||
) |
Get the GCP projection coordinates of the image.
const std::string& otb::ImageMetadataInterfaceBase::Fetch | ( | MDStr | key, |
ImageMetadata & | imd, | ||
const char * | path, | ||
int | band = -1 |
||
) |
Get the GCP projection coordinates of the image.
const MetaData::TimePoint& otb::ImageMetadataInterfaceBase::Fetch | ( | MDTime | key, |
ImageMetadata & | imd, | ||
const char * | path, | ||
int | band = -1 |
||
) |
Get the GCP projection coordinates of the image.
const std::string& otb::ImageMetadataInterfaceBase::Fetch | ( | std::string | key, |
ImageMetadata & | imd, | ||
const char * | path, | ||
int | band = -1 |
||
) |
Get the GCP projection coordinates of the image.
const boost::any& otb::ImageMetadataInterfaceBase::FetchRPC | ( | ImageMetadata & | imd, |
const double | lineOffset = 0.0 , |
||
const double | sampleOffset = 0.0 |
||
) |
Get the GCP projection coordinates of the image.
double otb::ImageMetadataInterfaceBase::GetGCPCol | ( | unsigned int | GCPnum | ) | const |
Get the GCP projection coordinates of the image.
UnsignedIntType otb::ImageMetadataInterfaceBase::GetGCPCount | ( | ) | const |
Get the GCP projection coordinates of the image.
std::string otb::ImageMetadataInterfaceBase::GetGCPId | ( | unsigned int | GCPnum | ) | const |
Get the GCP projection coordinates of the image.
std::string otb::ImageMetadataInterfaceBase::GetGCPInfo | ( | unsigned int | GCPnum | ) | const |
Get the GCP projection coordinates of the image.
std::string otb::ImageMetadataInterfaceBase::GetGCPProjection | ( | ) | const |
Get the GCP projection coordinates of the image.
double otb::ImageMetadataInterfaceBase::GetGCPRow | ( | unsigned int | GCPnum | ) | const |
Get the GCP projection coordinates of the image.
GCP& otb::ImageMetadataInterfaceBase::GetGCPs | ( | unsigned int | GCPnum | ) |
Get the GCP projection coordinates of the image.
double otb::ImageMetadataInterfaceBase::GetGCPX | ( | unsigned int | GCPnum | ) | const |
Get the GCP projection coordinates of the image.
double otb::ImageMetadataInterfaceBase::GetGCPY | ( | unsigned int | GCPnum | ) | const |
Get the GCP projection coordinates of the image.
double otb::ImageMetadataInterfaceBase::GetGCPZ | ( | unsigned int | GCPnum | ) | const |
Get the GCP projection coordinates of the image.
VectorType otb::ImageMetadataInterfaceBase::GetGeoTransform | ( | ) | const |
Get the six coefficients of affine geoTtransform.
VectorType otb::ImageMetadataInterfaceBase::GetLowerLeftCorner | ( | ) | const |
Get the GCP projection coordinates of the image.
VectorType otb::ImageMetadataInterfaceBase::GetLowerRightCorner | ( | ) | const |
Get the GCP projection coordinates of the image.
const MetaDataDictionaryType& otb::ImageMetadataInterfaceBase::GetMetaDataDictionary | ( | ) | const |
Get the MetadataDictionary
|
virtual |
Run-time type information (and related methods).
Reimplemented in otb::TerraSarXSarImageMetadataInterface, otb::SarImageMetadataInterface, otb::CosmoImageMetadataInterface, otb::DefaultImageMetadataInterface, otb::OpticalDefaultImageMetadataInterface, otb::SarDefaultImageMetadataInterface, otb::Sentinel1ImageMetadataInterface, otb::PleiadesImageMetadataInterface, otb::FormosatImageMetadataInterface, otb::OpticalImageMetadataInterface, otb::Radarsat2ImageMetadataInterface, otb::Spot6ImageMetadataInterface, otb::SpotImageMetadataInterface, otb::IkonosImageMetadataInterface, otb::QuickBirdImageMetadataInterface, otb::WorldView2ImageMetadataInterface, and otb::GDALImageMetadataInterface.
std::string otb::ImageMetadataInterfaceBase::GetProjectionRef | ( | ) | const |
Get the projection coordinate system of the image.
VectorType otb::ImageMetadataInterfaceBase::GetUpperLeftCorner | ( | ) | const |
Get image corners.
VectorType otb::ImageMetadataInterfaceBase::GetUpperRightCorner | ( | ) | const |
Get the GCP projection coordinates of the image.
|
privatedelete |
Get the GCP projection coordinates of the image.
|
inlinevirtual |
Parses the metadata using the MetadataSupplierInterface and fill the ImageMetadata object Raises "MissingMetadataException" if parsing fails.
Reimplemented in otb::FormosatImageMetadataInterface, otb::TerraSarXSarImageMetadataInterface, otb::Sentinel1ImageMetadataInterface, otb::Radarsat2ImageMetadataInterface, otb::CosmoImageMetadataInterface, otb::SpotImageMetadataInterface, otb::PleiadesImageMetadataInterface, otb::Spot6ImageMetadataInterface, otb::IkonosImageMetadataInterface, otb::WorldView2ImageMetadataInterface, and otb::GDALImageMetadataInterface.
Definition at line 133 of file otbImageMetadataInterfaceBase.h.
References otbGenericExceptionMacro.
|
overrideprotected |
Get the GCP projection coordinates of the image.
void otb::ImageMetadataInterfaceBase::SetImage | ( | ImageType * | image | ) |
Set the image used to get the metadata
void otb::ImageMetadataInterfaceBase::SetMetaDataDictionary | ( | const MetaDataDictionaryType & | dict | ) |
Set the MetadataDictionary
void otb::ImageMetadataInterfaceBase::SetMetadataSupplierInterface | ( | const MetadataSupplierInterface & | ) |
Set the MetadataSupplierInterface
|
private |
Get the GCP projection coordinates of the image.
Definition at line 166 of file otbImageMetadataInterfaceBase.h.
|
protected |
Get the GCP projection coordinates of the image.
Definition at line 158 of file otbImageMetadataInterfaceBase.h.
|
protected |
Get the GCP projection coordinates of the image.
Definition at line 160 of file otbImageMetadataInterfaceBase.h.