dng_1d_function Class ReferenceA 1D floating-point function. More...
Inheritance diagram for dng_1d_function:
![]()
Detailed DescriptionA 1D floating-point function.The domain (input) is always from 0.0 to 1.0, while the range (output) can be an arbitrary interval. Member Function Documentation
Return the mapping for value x. This method must be implemented by a derived class of dng_1d_function and the derived class determines the lookup method and function used.
Implemented in dng_1d_identity, dng_1d_concatenate, dng_1d_inverse, dng_function_GammaEncode_sRGB, dng_function_GammaEncode_1_8, dng_function_GammaEncode_2_2, dng_noise_function, dng_function_exposure_ramp, dng_function_exposure_tone, dng_tone_curve_acr3_default, and dng_function_gamma_encode. Referenced by dng_1d_concatenate::Evaluate(), dng_1d_inverse::EvaluateInverse(), EvaluateInverse(), dng_color_space::GammaEncode(), and dng_1d_table::Initialize().
Return the reverse mapped value for y. This method can be implemented by derived classes. The default implementation uses Newton's method to solve for x such that Evaluate(x) == y.
Reimplemented in dng_1d_identity, dng_1d_concatenate, dng_1d_inverse, dng_function_GammaEncode_sRGB, dng_function_GammaEncode_1_8, dng_function_GammaEncode_2_2, and dng_tone_curve_acr3_default. References Evaluate(). Referenced by dng_1d_inverse::Evaluate(), dng_1d_concatenate::EvaluateInverse(), and dng_color_space::GammaDecode().
The documentation for this class was generated from the following files:
|