ColorSpace.Rgb.Eotf Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the electro-optical transfer function (EOTF) of this color space.
public virtual Java.Util.Functions.IDoubleUnaryOperator Eotf { [Android.Runtime.Register("getEotf", "()Ljava/util/function/DoubleUnaryOperator;", "GetGetEotfHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getEotf", "()Ljava/util/function/DoubleUnaryOperator;", "GetGetEotfHandler", ApiSince=26)>]
member this.Eotf : Java.Util.Functions.IDoubleUnaryOperator
Property Value
A transfer function that converts from "gamma space" to linear space
- Attributes
Remarks
Returns the electro-optical transfer function (EOTF) of this color space. The inverse function is the opto-electronic transfer function (OETF) returned by #getOetf()
. These functions are defined to satisfy the following equality for \(x \in [0..1]\):
$$OETF(EOTF(x)) = EOTF(OETF(x)) = x$$
For RGB colors, this function can be used to convert from "gamma space" (gamma encoded) to linear space. The terms gamma space and gamma encoded are frequently used because many EOTFs can be closely approximated using a simple power function of the form \(x^\gamma\) (the approximation of the Named#SRGB sRGB
EOTF uses \(\gamma=2.2\) for instance).
Java documentation for android.graphics.ColorSpace.Rgb.getEotf()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.