OTB  6.7.0
Orfeo Toolbox
otbBandName.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2019 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 otbBandName_h
22 #define otbBandName_h
23 
24 namespace otb
25 {
26 namespace BandName
27 {
28 
33 enum class CommonBandNames
34 {
35  BLUE,
36  GREEN,
37  RED,
38  NIR,
39  MIR,
40  MAX
41 };
43 {
44  TM1,
45  TM2,
46  TM3,
47  TM4,
48  TM5,
53 };
54 
55 // Note for landsat equivalence
56 // http://landsat.gsfc.nasa.gov/news/news-archive/sci_0017.html
57 // TM1 = Coastal
58 // TM2 = Blue
59 // TM3 = Green
60 // TM4 = Red
61 // TM5 = NIR
62 // TM6 = SWIR1 = MIR (SPOT5)
63 // TM7 = SWIR2
64 // TM8 = Panchro
65 // TM9 = Cirrus
66 //
67 // Spot at
68 // http://www.spotimage.com/web/en/233-resolution-and-spectral-bands.php
69 
70 // Band Number Wavelength Interval Spectral Response
71 // 1 0.45-0.52 microm Blue-Green
72 // 2 0.52-0.60 microm Green
73 // 3 0.63-0.69 microm Red
74 // 4 0.76-0.90 microm Near IR
75 // 5 1.55-1.75 microm Mid-IR
76 // 6 10.40-12.50 microm Thermal IR
77 // 7 2.08-2.35 microm Mid-IR
78 
79 } // namespace BandName
80 
81 } // namespace otb
82 
83 #endif