26#ifndef __TERRALIB_MAPTOOLS_INTERNAL_RASTERCONTRAST_H
27#define __TERRALIB_MAPTOOLS_INTERNAL_RASTERCONTRAST_H
93 void setValues(
const double& gain,
const double& offset1,
const double& offset2,
const double& min,
const double& max,
const std::size_t& band);
104 void getValues(std::vector<double>& gain, std::vector<double>& offset1, std::vector<double>& offset2, std::vector<double>& min, std::vector<double>& max);
This class contains the parameters needed to apply dynamic contrast over a raster.
std::vector< double > m_offset1
void setValues(const double &gain, const double &offset1, const double &offset2, const double &min, const double &max, const std::size_t &band)
It set the transformation values for contranst of one band.
void getValues(std::vector< double > &gain, std::vector< double > &offset1, std::vector< double > &offset2, std::vector< double > &min, std::vector< double > &max)
It get the contrast transformation values.
std::size_t getNBands()
It gets the contrast number of bands.
std::vector< double > m_gain
RasterContrast(const RasterContrast &rhs)
Copy constructor.
std::vector< double > m_max
~RasterContrast()
Destructor.
te::map::RasterTransform::ContrastType m_type
The contrast type.
std::vector< double > m_offset2
RasterContrast(const te::map::RasterTransform::ContrastType &type, const std::size_t &nBands)
It constructs a new RasterContrast instance.
const te::map::RasterTransform::ContrastType getType() const
It gets the contrast type.
std::vector< double > m_min
Proxy configuration file for TerraView (see terraview_config.h).
Enumerations of XML module.