23 #include "wxgis/carto/carto.h"
35 #define DEFAULT_STDDEV 60.0
40 enum wxGISEnumRasterStretch
42 enumGISRasterStretchNone = 0,
43 enumGISRasterStretchStdDev
55 wxGISStretch(
double dfMin = 0.0,
double dfMax = 255.0,
double dfMean = 127.5,
double dfStdDev = DEFAULT_STDDEV,
double dfNoData = NOTNODATA);
57 virtual unsigned char GetValue(
const double *pdfInput);
58 virtual bool IsNoData(
const double& cVal);
59 virtual void SetNoData(
double dfNoData);
60 virtual double GetNoData(
void);
61 virtual void SetInvert(
bool bInvert);
62 virtual bool GetInvert(
void);
63 virtual void SetStdDevParam(
double dfStdDevParam);
64 virtual double GetStdDevParam(
void);
65 virtual void SetStats(
double dfMin = 0.0,
double dfMax = 255.0,
double dfMean = 127.5,
double dfStdDev = DEFAULT_STDDEV);
67 virtual void RecalcEquation(
void);
68 virtual void CalcEquation(
double dfMin,
double dfMax);
77 double m_dfStdDevParam;
78 wxGISEnumRasterStretch m_eType;
The base class for stretch from pixel field to display field.
Definition: stretch.h:52