This class contains the parameters needed to apply dynamic contrast over a raster.  
 More...
#include <RasterContrast.h>
 | 
| std::size_t  | getNBands () | 
|   | It gets the contrast number of bands.  More...
  | 
|   | 
| const te::map::RasterTransform::ContrastType  | getType () const | 
|   | It gets the contrast type.  More...
  | 
|   | 
| 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.  More...
  | 
|   | 
|   | RasterContrast (const RasterContrast &rhs) | 
|   | Copy constructor.  More...
  | 
|   | 
|   | RasterContrast (const te::map::RasterTransform::ContrastType &type, const std::size_t &nBands) | 
|   | It constructs a new RasterContrast instance.  More...
  | 
|   | 
| 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.  More...
  | 
|   | 
|   | ~RasterContrast () | 
|   | Destructor.  More...
  | 
|   | 
This class contains the parameters needed to apply dynamic contrast over a raster. 
- See also
 - RasterTransform 
 
Definition at line 52 of file RasterContrast.h.
 
◆ RasterContrast() [1/2]
◆ ~RasterContrast()
      
        
          | te::map::RasterContrast::~RasterContrast  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ RasterContrast() [2/2]
◆ getNBands()
      
        
          | std::size_t te::map::RasterContrast::getNBands  | 
          ( | 
           | ) | 
           | 
        
      
 
It gets the contrast number of bands. 
- Returns
 - The number of bands 
 
 
 
◆ getType()
It gets the contrast type. 
- Returns
 - The contrast type. 
 
 
 
◆ getValues()
      
        
          | void te::map::RasterContrast::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. 
- Parameters
 - 
  
    | gain | The vector with gain values of transformation.  | 
    | offset1 | The vector with offset1 values of transformation.  | 
    | offset2 | The vector with offset2 values of transformation.  | 
    | min | The vector with minimun band values for this transformation.  | 
    | max | The vector with maximum band values for this transformation.  | 
  
   
 
 
◆ setValues()
      
        
          | void te::map::RasterContrast::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. 
- Parameters
 - 
  
    | gain | The gain value of transformation.  | 
    | offset1 | The offset1 value of transformation.  | 
    | offset2 | The offset2 value of transformation.  | 
    | min | The minimun band value for this transformation.  | 
    | max | The maximum band value for this transformation.  | 
    | band | The band index.  | 
  
   
 
 
◆ m_gain
  
  
      
        
          | std::vector<double> te::map::RasterContrast::m_gain | 
         
       
   | 
  
private   | 
  
 
 
◆ m_max
  
  
      
        
          | std::vector<double> te::map::RasterContrast::m_max | 
         
       
   | 
  
private   | 
  
 
 
◆ m_min
  
  
      
        
          | std::vector<double> te::map::RasterContrast::m_min | 
         
       
   | 
  
private   | 
  
 
 
◆ m_nBands
  
  
      
        
          | std::size_t te::map::RasterContrast::m_nBands | 
         
       
   | 
  
private   | 
  
 
 
◆ m_offset1
  
  
      
        
          | std::vector<double> te::map::RasterContrast::m_offset1 | 
         
       
   | 
  
private   | 
  
 
 
◆ m_offset2
  
  
      
        
          | std::vector<double> te::map::RasterContrast::m_offset2 | 
         
       
   | 
  
private   | 
  
 
 
◆ m_type
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/maptools/RasterContrast.h