Version: 0.6.0

The base class for stretch from pixel field to display field. More...

#include <stretch.h>

Public Member Functions

 wxGISStretch (double dfMin=0.0, double dfMax=255.0, double dfMean=127.5, double dfStdDev=DEFAULT_STDDEV, double dfNoData=NOTNODATA)
 
virtual unsigned char GetValue (const double *pdfInput)
 
virtual bool IsNoData (const double &cVal)
 
virtual void SetNoData (double dfNoData)
 
virtual double GetNoData (void)
 
virtual void SetInvert (bool bInvert)
 
virtual bool GetInvert (void)
 
virtual void SetStdDevParam (double dfStdDevParam)
 
virtual double GetStdDevParam (void)
 
virtual void SetStats (double dfMin=0.0, double dfMax=255.0, double dfMean=127.5, double dfStdDev=DEFAULT_STDDEV)
 

Protected Member Functions

virtual void RecalcEquation (void)
 
virtual void CalcEquation (double dfMin, double dfMax)
 

Protected Attributes

double m_dfNoData
 
double m_dfMin
 
double m_dfMax
 
double m_dfMean
 
double m_dfStdDev
 
bool m_bInvert
 
double m_dfStdDevParam
 
wxGISEnumRasterStretch m_eType
 
double m_dfM
 
double m_dfDX
 

Detailed Description

The base class for stretch from pixel field to display field.

This is more close to compress because input pixels range may be from -100000 to 100000 and output - in 0 - 255 range


The documentation for this class was generated from the following files:
  • /home/bishop/work/projects/nextgismanager/include/wxgis/carto/stretch.h
  • /home/bishop/work/projects/nextgismanager/src/carto/stretch.cpp