Loading...
Searching...
No Matches
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
29namespace 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
InterpolationMethod
Allowed interpolation methods.
Definition: Enums.h:93
@ Bicubic
Bicubic interpolation method.
Definition: Enums.h:97
@ UndefInterpMethod
Undefined interpolation method.
Definition: Enums.h:94
@ MinInterpolation
Minimum of neighbor pixels following a given window radius.
Definition: Enums.h:99
@ Bilinear
Bilinear interpolation method.
Definition: Enums.h:96
@ ModeInterpolation
Mean of neighbor pixels following a given window radius.
Definition: Enums.h:101
@ MedianInterpolation
Median of neighbor pixels following a given window radius.
Definition: Enums.h:102
@ MeanInterpolation
Mean of neighbor pixels following a given window radius.
Definition: Enums.h:98
@ MaxInterpolation
Maximum of neighbor pixels following a given window radius.
Definition: Enums.h:100
@ NearestNeighbor
Near neighborhood interpolation method.
Definition: Enums.h:95
PaletteInterpretation
Palette interpratation types.
Definition: Enums.h:81
@ HSLPalInt
HSL indexed palette interpretation.
Definition: Enums.h:86
@ GrayPalInt
Gray indexed palette interpretation.
Definition: Enums.h:83
@ CMYKPalInt
CMYK indexed palette interpretation.
Definition: Enums.h:85
@ UndefPalInt
Undefined palette interpretation.
Definition: Enums.h:82
@ RGBPalInt
RGB indexed palette interpretation.
Definition: Enums.h:84
SummaryTypes
Types for the BandSummary.
Definition: Enums.h:39
@ SUMMARY_MIN
Calculate the min value.
Definition: Enums.h:40
@ SUMMARY_ALL
Calculate all the summary types.
Definition: Enums.h:46
@ SUMMARY_MAX
Calculate the max value.
Definition: Enums.h:41
@ SUMMARY_R_HISTOGRAM
Calculate the histogram for the real part.
Definition: Enums.h:44
@ SUMMARY_MEAN
Calculate the mean value.
Definition: Enums.h:43
@ SUMMARY_I_HISTOGRAM
Calculate the histogram for the imaginary part.
Definition: Enums.h:45
@ SUMMARY_STD
Calculate the standard deviation value.
Definition: Enums.h:42
ColorInterp
Color model component use.
Definition: Enums.h:55
@ AlphaCInt
Alpha channel color interpretation.
Definition: Enums.h:62
@ KeyCInt
Key (black) color interpretation.
Definition: Enums.h:69
@ GrayIdxCInt
Index into a lookup table.
Definition: Enums.h:57
@ PaletteIdxCInt
Palette indexes color interpretation.
Definition: Enums.h:58
@ UndefCInt
No color interpretation is associated with the band.
Definition: Enums.h:56
@ LigCInt
Lightness color interpretation.
Definition: Enums.h:65
@ HueCInt
Hue channel color interpretation.
Definition: Enums.h:63
@ YCInt
YCbCr Y Band color interpretation.
Definition: Enums.h:70
@ CrCInt
YCbCr Cr Band color interpretation.
Definition: Enums.h:72
@ GreenCInt
Green channel color interpretation.
Definition: Enums.h:60
@ RedCInt
Red channel color interpretation.
Definition: Enums.h:59
@ CyanCInt
Cyan color interpretation.
Definition: Enums.h:66
@ SatCInt
Saturation color interpretation.
Definition: Enums.h:64
@ CbCInt
YCbCr Cb Band color interpretation.
Definition: Enums.h:71
@ MagentaCInt
Magenta color interpretation.
Definition: Enums.h:67
@ YellowCInt
Yellow color interpretation.
Definition: Enums.h:68
@ BlueCInt
Blue channel color interpretation.
Definition: Enums.h:61
TerraLib.