36 #include "drain/util/Functor.h"
76 this->getParameters().link(
"gamma", this->gamma = gamma,
"0.0...");
80 this->getParameters().link(
"gamma", this->gamma = ftor.gamma,
"0.0..");
86 double operator()(
double s)
const {
87 return this->
scale * pow(s, 1.0/gamma);
double scale
Relative scale, typically 1. Optional.
Definition: Functor.h:99
Gamma correction. Intensity is mapped as f' = f^(gamma)
Definition: GammaOp.h:71
Definition: DataSelector.cpp:1277
Definition: Functor.h:116