Table of Contents

Class LCompanding

Namespace
SixLabors.ImageSharp.ColorProfiles.Companding
Assembly
SixLabors.ImageSharp.dll

Implements L* companding.

public static class LCompanding
Inheritance
LCompanding
Inherited Members

Remarks

Methods

Compress(Vector4)

Compresses the linear vector to its nonlinear equivalent with respect to the energy.

public static Vector4 Compress(Vector4 vector)

Parameters

vector Vector4

The vector.

Returns

Vector4

The Vector4.

Compress(Span<Vector4>)

Compresses the linear vectors to their nonlinear equivalents with respect to the energy.

public static void Compress(Span<Vector4> vectors)

Parameters

vectors Span<Vector4>

The span of vectors.

Expand(Vector4)

Expands the nonlinear vector to its linear equivalent with respect to the energy.

public static Vector4 Expand(Vector4 vector)

Parameters

vector Vector4

The vector.

Returns

Vector4

The Vector4.

Expand(Span<Vector4>)

Expands the nonlinear vectors to their linear equivalents with respect to the energy.

public static void Expand(Span<Vector4> vectors)

Parameters

vectors Span<Vector4>

The span of vectors.