MCPcopy Create free account
hub / github.com/NatronGitHub/openfx-misc / log2lin

Method log2lin

PLogLin/PLogLin.cpp:188–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186 double _density[3];
187
188 double log2lin(double xLog,
189 int c)
190 {
191 return _linRef[c] * std::pow( 10.0, (xLog * 1023. - _logRef[c]) * _density[c] / _nGamma[c] );
192 }
193
194 double lin2log(double xLin,
195 int c)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected