Class LCompanding
- Namespace
- SixLabors.ImageSharp.ColorProfiles.Companding
- Assembly
- SixLabors.ImageSharp.dll
Implements L* companding.
public static class LCompanding
- Inheritance
-
LCompanding
- Inherited Members
Remarks
For more info see: http://www.brucelindbloom.com/index.html?Eqn_RGB_to_XYZ.html http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_RGB.html
Methods
Compress(Vector4)
Compresses the linear vector to its nonlinear equivalent with respect to the energy.
public static Vector4 Compress(Vector4 vector)
Parameters
vectorVector4The vector.
Returns
Compress(Span<Vector4>)
Compresses the linear vectors to their nonlinear equivalents with respect to the energy.
public static void Compress(Span<Vector4> vectors)
Parameters
Expand(Vector4)
Expands the nonlinear vector to its linear equivalent with respect to the energy.
public static Vector4 Expand(Vector4 vector)
Parameters
vectorVector4The vector.
Returns
Expand(Span<Vector4>)
Expands the nonlinear vectors to their linear equivalents with respect to the energy.
public static void Expand(Span<Vector4> vectors)