OTB  9.0.0
Orfeo Toolbox
otbWorldView2ImageMetadataInterface.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 otbWorldView2ImageMetadataInterface_h
22 #define otbWorldView2ImageMetadataInterface_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 
49  typedef Superclass::ImageType ImageType;
50  typedef Superclass::MetaDataDictionaryType MetaDataDictionaryType;
53 
54  void Parse(ImageMetadata &) override;
55 
56 protected:
59 
60 private:
61  WorldView2ImageMetadataInterface(const Self&) = delete;
62  void operator=(const Self&) = delete;
63 
64  void FetchPhysicalBias(ImageMetadata&);
65 
66  void FetchSolarIrradianceWorldView2(ImageMetadata &);
67  void FetchSpectralSensitivityWorldView2(ImageMetadata &);
68 
69  void FetchSolarIrradianceQuickBird(ImageMetadata &);
70  void FetchSpectralSensitivityQuickBird(ImageMetadata &);
71  void FetchPhysicalGainQuickBird(int bitsPerPixel,
72  const std::unordered_map<std::string, double> & absCalFactor,
73  const std::unordered_map<std::string, int> & TDILevels,
74  ImageMetadata &);
75 };
76 
77 } // end namespace otb
78 
79 #endif
otb::OpticalImageMetadataInterface
Class for Optical captor metadata reading.
Definition: otbOpticalImageMetadataInterface.h:39
otb::WorldView2ImageMetadataInterface::VectorType
Superclass::VectorType VectorType
Definition: otbWorldView2ImageMetadataInterface.h:51
otb::WorldView2ImageMetadataInterface::Self
WorldView2ImageMetadataInterface Self
Definition: otbWorldView2ImageMetadataInterface.h:38
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition: otbJoinContainer.h:32
otb::WorldView2ImageMetadataInterface::ImageType
Superclass::ImageType ImageType
Definition: otbWorldView2ImageMetadataInterface.h:47
otb::MetaDataKey::VectorType
std::vector< double > VectorType
Definition: otbMetaDataKey.h:119
otb::MetaDataKey::VariableLengthVectorType
itk::VariableLengthVector< double > VariableLengthVectorType
Definition: otbMetaDataKey.h:121
otb::WorldView2ImageMetadataInterface
Creation of an "otb" WorldView2ImageMetadataInterface that gets metadata.
Definition: otbWorldView2ImageMetadataInterface.h:35
otb::WorldView2ImageMetadataInterface::MetaDataDictionaryType
Superclass::MetaDataDictionaryType MetaDataDictionaryType
Definition: otbWorldView2ImageMetadataInterface.h:50
otb::WorldView2ImageMetadataInterface::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: otbWorldView2ImageMetadataInterface.h:41
otbOpticalImageMetadataInterface.h
otb::WorldView2ImageMetadataInterface::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbWorldView2ImageMetadataInterface.h:40
otb::WorldView2ImageMetadataInterface::Superclass
ImageMetadataInterfaceBase Superclass
Definition: otbWorldView2ImageMetadataInterface.h:39
otb::ImageMetadataInterfaceBase
Base class for captor metadata reading.
Definition: otbImageMetadataInterfaceBase.h:44
otb::WorldView2ImageMetadataInterface::VariableLengthVectorType
Superclass::VariableLengthVectorType VariableLengthVectorType
Definition: otbWorldView2ImageMetadataInterface.h:52
otb::ImageMetadata
Generic class containing image metadata used in OTB.
Definition: otbImageMetadata.h:270