Enums.h
Go to the documentation of this file.
1 /* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5  TerraLib is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with TerraLib. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@terralib.org>.
18 */
19 
20 /*!
21  \file terralib/raster/Enums.h
22 
23  \brief Enumerations for the Raster module.
24 */
25 
26 #ifndef __TERRALIB_RASTER_INTERNAL_ENUMS_H
27 #define __TERRALIB_RASTER_INTERNAL_ENUMS_H
28 
29 namespace te
30 {
31  namespace rst
32  {
33  /*!
34  \enum SummaryTypes
35 
36  \brief Types for the BandSummary.
37  */
39  {
40  SUMMARY_MIN = 1, //!< Calculate the min value.
41  SUMMARY_MAX = 2, //!< Calculate the max value.
42  SUMMARY_STD = 4, //!< Calculate the standard deviation value.
43  SUMMARY_MEAN = 8, //!< Calculate the mean value.
44  SUMMARY_R_HISTOGRAM = 16, //!< Calculate the histogram for the real part.
45  SUMMARY_I_HISTOGRAM = 32, //!< Calculate the histogram for the imaginary part.
46  SUMMARY_ALL = 63 //!< Calculate all the summary types.
47  };
48 
49  /*!
50  \enum ColorInterp
51 
52  \brief Color model component use.
53  */
55  {
56  UndefCInt, //!< No color interpretation is associated with the band.
57  GrayIdxCInt, //!< Index into a lookup table.
58  PaletteIdxCInt, //!< Palette indexes color interpretation.
59  RedCInt, //!< Red channel color interpretation.
60  GreenCInt, //!< Green channel color interpretation.
61  BlueCInt, //!< Blue channel color interpretation.
62  AlphaCInt, //!< Alpha channel color interpretation.
63  HueCInt, //!< Hue channel color interpretation.
64  SatCInt, //!< Saturation color interpretation.
65  LigCInt, //!< Lightness color interpretation.
66  CyanCInt, //!< Cyan color interpretation.
67  MagentaCInt, //!< Magenta color interpretation.
68  YellowCInt, //!< Yellow color interpretation.
69  KeyCInt, //!< Key (black) color interpretation.
70  YCInt, //!< YCbCr Y Band color interpretation.
71  CbCInt, //!< YCbCr Cb Band color interpretation.
72  CrCInt //!< YCbCr Cr Band color interpretation.
73  };
74 
75  /*!
76  \enum PaletteInterpretation
77 
78  \brief Palette interpratation types.
79  */
81  {
82  UndefPalInt, //!< Undefined palette interpretation.
83  GrayPalInt, //!< Gray indexed palette interpretation.
84  RGBPalInt, //!< RGB indexed palette interpretation.
85  CMYKPalInt, //!< CMYK indexed palette interpretation.
86  HSLPalInt //!< HSL indexed palette interpretation.
87  };
88 
89  /*!
90  \brief Allowed interpolation methods.
91  */
93  {
94  UndefInterpMethod = 0, //!< Undefined interpolation method.
95  NearestNeighbor = 1, //!< Near neighborhood interpolation method.
96  Bilinear = 2, //!< Bilinear interpolation method.
97  Bicubic = 3, //!< Bicubic interpolation method.
98  MeanInterpolation = 4, //!< Mean of neighbor pixels following a given window radius.
99  MinInterpolation = 5, //!< Minimum of neighbor pixels following a given window radius.
100  MaxInterpolation = 6, //!< Maximum of neighbor pixels following a given window radius.
101  ModeInterpolation = 7, //!< Mean of neighbor pixels following a given window radius.
102  MedianInterpolation = 8 //!< Median of neighbor pixels following a given window radius.
103  };
104 
105  } // end namespace rst
106 } // end namespace te
107 
108 #endif // __TERRALIB_RASTER_INTERNAL_ENUMS_H
te::rst::YellowCInt
@ YellowCInt
Yellow color interpretation.
Definition: Enums.h:68
te
TerraLib.
Definition: AddressGeocodingOp.h:52
te::rst::GrayIdxCInt
@ GrayIdxCInt
Index into a lookup table.
Definition: Enums.h:57
te::rst::CMYKPalInt
@ CMYKPalInt
CMYK indexed palette interpretation.
Definition: Enums.h:85
te::rst::AlphaCInt
@ AlphaCInt
Alpha channel color interpretation.
Definition: Enums.h:62
te::rst::PaletteInterpretation
PaletteInterpretation
Palette interpratation types.
Definition: Enums.h:81
te::rst::ModeInterpolation
@ ModeInterpolation
Mean of neighbor pixels following a given window radius.
Definition: Enums.h:101
te::rst::GrayPalInt
@ GrayPalInt
Gray indexed palette interpretation.
Definition: Enums.h:83
te::rst::NearestNeighbor
@ NearestNeighbor
Near neighborhood interpolation method.
Definition: Enums.h:95
te::rst::RGBPalInt
@ RGBPalInt
RGB indexed palette interpretation.
Definition: Enums.h:84
te::rst::LigCInt
@ LigCInt
Lightness color interpretation.
Definition: Enums.h:65
te::rst::SUMMARY_STD
@ SUMMARY_STD
Calculate the standard deviation value.
Definition: Enums.h:42
te::rst::SUMMARY_MAX
@ SUMMARY_MAX
Calculate the max value.
Definition: Enums.h:41
te::rst::GreenCInt
@ GreenCInt
Green channel color interpretation.
Definition: Enums.h:60
te::rst::MinInterpolation
@ MinInterpolation
Minimum of neighbor pixels following a given window radius.
Definition: Enums.h:99
te::rst::RedCInt
@ RedCInt
Red channel color interpretation.
Definition: Enums.h:59
te::rst::HueCInt
@ HueCInt
Hue channel color interpretation.
Definition: Enums.h:63
te::rst::MedianInterpolation
@ MedianInterpolation
Median of neighbor pixels following a given window radius.
Definition: Enums.h:102
te::rst::InterpolationMethod
InterpolationMethod
Allowed interpolation methods.
Definition: Enums.h:93
te::rst::MeanInterpolation
@ MeanInterpolation
Mean of neighbor pixels following a given window radius.
Definition: Enums.h:98
te::rst::MaxInterpolation
@ MaxInterpolation
Maximum of neighbor pixels following a given window radius.
Definition: Enums.h:100
te::rst::Bilinear
@ Bilinear
Bilinear interpolation method.
Definition: Enums.h:96
te::rst::MagentaCInt
@ MagentaCInt
Magenta color interpretation.
Definition: Enums.h:67
te::rst::SummaryTypes
SummaryTypes
Types for the BandSummary.
Definition: Enums.h:39
te::rst::CyanCInt
@ CyanCInt
Cyan color interpretation.
Definition: Enums.h:66
te::rst::UndefCInt
@ UndefCInt
No color interpretation is associated with the band.
Definition: Enums.h:56
te::rst::SUMMARY_MEAN
@ SUMMARY_MEAN
Calculate the mean value.
Definition: Enums.h:43
te::rst::SUMMARY_I_HISTOGRAM
@ SUMMARY_I_HISTOGRAM
Calculate the histogram for the imaginary part.
Definition: Enums.h:45
te::rst::YCInt
@ YCInt
YCbCr Y Band color interpretation.
Definition: Enums.h:70
te::rst::HSLPalInt
@ HSLPalInt
HSL indexed palette interpretation.
Definition: Enums.h:86
te::rst::KeyCInt
@ KeyCInt
Key (black) color interpretation.
Definition: Enums.h:69
te::rst::SUMMARY_ALL
@ SUMMARY_ALL
Calculate all the summary types.
Definition: Enums.h:46
te::rst::SUMMARY_R_HISTOGRAM
@ SUMMARY_R_HISTOGRAM
Calculate the histogram for the real part.
Definition: Enums.h:44
te::rst::SatCInt
@ SatCInt
Saturation color interpretation.
Definition: Enums.h:64
te::rst::UndefInterpMethod
@ UndefInterpMethod
Undefined interpolation method.
Definition: Enums.h:94
te::rst::Bicubic
@ Bicubic
Bicubic interpolation method.
Definition: Enums.h:97
te::rst::ColorInterp
ColorInterp
Color model component use.
Definition: Enums.h:55
te::rst::CrCInt
@ CrCInt
YCbCr Cr Band color interpretation.
Definition: Enums.h:72
te::rst::UndefPalInt
@ UndefPalInt
Undefined palette interpretation.
Definition: Enums.h:82
te::rst::BlueCInt
@ BlueCInt
Blue channel color interpretation.
Definition: Enums.h:61
te::rst::SUMMARY_MIN
@ SUMMARY_MIN
Calculate the min value.
Definition: Enums.h:40
te::rst::CbCInt
@ CbCInt
YCbCr Cb Band color interpretation.
Definition: Enums.h:71
te::rst::PaletteIdxCInt
@ PaletteIdxCInt
Palette indexes color interpretation.
Definition: Enums.h:58