19 IIntensityFunction::~IIntensityFunction() =
default;
26 double IntensityFunctionLog::evaluate(
double value)
const
28 return value > 0 ? std::log(value) : std::numeric_limits<double>::lowest();
36 double IntensityFunctionSqrt::evaluate(
double value)
const
38 return value > 0 ? std::sqrt(value) : std::numeric_limits<double>::lowest();
Defines and implements the interface class IIntensityFunction and its child classes IntensityFunction...
Algorithm for applying log function to the measured intensity.
Algorithm for applying sqrt function to the measured intensity.