OTB  9.0.0
Orfeo Toolbox
otbIkonosImageMetadataInterface.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2022 Centre National d'Etudes Spatiales (CNES)
3  *
4  * This file is part of Orfeo Toolbox
5  *
6  * https://www.orfeo-toolbox.org/
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  */
20 
21 #ifndef otbIkonosImageMetadataInterface_h
22 #define otbIkonosImageMetadataInterface_h
23 
25 
26 namespace otb
27 {
36 {
37 public:
40  typedef itk::SmartPointer<Self> Pointer;
41  typedef itk::SmartPointer<const Self> ConstPointer;
42 
44  itkNewMacro(Self);
45 
48 
53 
54  void Parse(ImageMetadata &) override;
55 
56 protected:
57  IkonosImageMetadataInterface() = default;
58  ~IkonosImageMetadataInterface() override = default;
59 
60 private:
61  IkonosImageMetadataInterface(const Self&) = delete;
62  void operator=(const Self&) = delete;
63 
64 
65  void FetchProductionDate(const std::string & productionDate, ImageMetadata &imd);
66 
67  void FetchAcquisitionDate(const std::string & acquisitionDate,
68  const std::string & acquisitionTime,
69  ImageMetadata &imd);
70 
73  void FetchSpectralSensitivity(const std::string & bandName, ImageMetadata &imd);
74 
75 };
76 
77 } // end namespace otb
78 
79 #endif
otb::OpticalImageMetadataInterface
Class for Optical captor metadata reading.
Definition: otbOpticalImageMetadataInterface.h:39
otb::IkonosImageMetadataInterface::Superclass
ImageMetadataInterfaceBase Superclass
Definition: otbIkonosImageMetadataInterface.h:39
otb::IkonosImageMetadataInterface::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: otbIkonosImageMetadataInterface.h:41
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition: otbJoinContainer.h:32
otb::IkonosImageMetadataInterface::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbIkonosImageMetadataInterface.h:40
otb::IkonosImageMetadataInterface::Self
IkonosImageMetadataInterface Self
Definition: otbIkonosImageMetadataInterface.h:38
otbOpticalImageMetadataInterface.h
otb::ImageMetadataInterfaceBase::VariableLengthVectorType
MetaDataKey::VariableLengthVectorType VariableLengthVectorType
Definition: otbImageMetadataInterfaceBase.h:58
otb::ImageMetadataInterfaceBase::MetaDataDictionaryType
itk::MetaDataDictionary MetaDataDictionaryType
Definition: otbImageMetadataInterfaceBase.h:56
otb::IkonosImageMetadataInterface
Creation of an "otb" IkonosImageMetadataInterface that gets metadata.
Definition: otbIkonosImageMetadataInterface.h:35
otb::IkonosImageMetadataInterface::ImageType
Superclass::ImageType ImageType
Definition: otbIkonosImageMetadataInterface.h:47
otb::ImageMetadataInterfaceBase::VectorType
MetaDataKey::VectorType VectorType
Definition: otbImageMetadataInterfaceBase.h:57
otb::ImageMetadataInterfaceBase
Base class for captor metadata reading.
Definition: otbImageMetadataInterfaceBase.h:44
otb::IkonosImageMetadataInterface::VariableLengthVectorType
Superclass::VariableLengthVectorType VariableLengthVectorType
Definition: otbIkonosImageMetadataInterface.h:52
otb::ImageMetadata
Generic class containing image metadata used in OTB.
Definition: otbImageMetadata.h:270
otb::IkonosImageMetadataInterface::VectorType
Superclass::VectorType VectorType
Definition: otbIkonosImageMetadataInterface.h:51
otb::ImageMetadataInterfaceBase::ImageType
itk::ImageBase< 2 > ImageType
Definition: otbImageMetadataInterfaceBase.h:53
otb::IkonosImageMetadataInterface::MetaDataDictionaryType
Superclass::MetaDataDictionaryType MetaDataDictionaryType
Definition: otbIkonosImageMetadataInterface.h:50