Isis 3 Programmer Reference
GaussianStretch.h
1
#ifndef GaussianStretch_h
2
#define GaussianStretch_h
3
8
/* SPDX-License-Identifier: CC0-1.0 */
9
10
#include "Statistics.h"
11
#include "Histogram.h"
12
#include "Stretch.h"
13
#include "IException.h"
14
#include "Constants.h"
15
16
namespace
Isis
{
35
class
GaussianStretch
:
public
Isis::Statistics
{
36
public
:
37
GaussianStretch
(
Histogram
&histogram,
const
double
mean = 0.0,
const
double
standardDeviation = 1.0) ;
38
~
GaussianStretch
() {};
39
40
double
Map
(
const
double
value)
const
;
41
private
:
43
Stretch
p_stretch
;
44
};
45
};
46
47
#endif
Isis::Statistics
This class is used to accumulate statistics on double arrays.
Definition:
Statistics.h:94
Isis::Stretch
Pixel value mapper.
Definition:
Stretch.h:58
Isis::GaussianStretch::p_stretch
Stretch p_stretch
Value of the mean.
Definition:
GaussianStretch.h:43
Isis::GaussianStretch
Gaussian stretch class.
Definition:
GaussianStretch.h:35
Isis::GaussianStretch::GaussianStretch
GaussianStretch(Histogram &histogram, const double mean=0.0, const double standardDeviation=1.0)
Constructs a gaussian stretch object.
Definition:
GaussianStretch.cpp:25
Isis::GaussianStretch::Map
double Map(const double value) const
Maps an input value to an output value based on the gaussian distribution.
Definition:
GaussianStretch.cpp:57
Isis::Histogram
Container of a cube histogram.
Definition:
Histogram.h:74
Isis
This is free and unencumbered software released into the public domain.
Definition:
Apollo.h:16
src
base
objs
GaussianStretch
GaussianStretch.h