Curve.Interpolate3 Method (Curve, Curve, Curve, Double)

Interpolates between maxCurve and normCurve if alpha >= 0, otherwise between minCurve and normCurve.

If alpha is 1, the resulting curve is identical to maxCurve. If alpha is -1, the resulting curve is identical to minCurve. If alpha is 0, the resulting curve is equal to normCurve.

The result is stored in a new or existing curve.

Namespace: Lumia.Imaging.Adjustments
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255

Syntax

public static Curve Interpolate3(
    Curve maxCurve,
    Curve normCurve,
    Curve minCurve,
    double alpha
)
'Declaration
Public Shared Function Interpolate3 ( 
    maxCurve As Curve,
    normCurve As Curve,
    minCurve As Curve,
    alpha As Double
) As Curve
public:
static Curve^ Interpolate3(
    [InAttribute] Curve^ maxCurve, 
    [InAttribute] Curve^ normCurve, 
    [InAttribute] Curve^ minCurve, 
    [InAttribute] double alpha
)
Lumia.Imaging.Adjustments.Curve.Interpolate3 = function(maxCurve, normCurve, minCurve, alpha);

Parameters

  • alpha
    Type: System.Double
    The alpha parameter that determines how the curves are interpolated.

Return Value

Type: Curve
The resulting curve, where result(x) = maxCurve(x) * alpha + normCurve(x) * (1 - alpha), if alpha >= 0, result(x) = minCurve(x) * (-alpha) + normCurve(x) * (1 + alpha), if alpha < 0.

Version Information

Lumia Imaging SDK

Supported in: 3.0, 2.0

See Also

Curve Class

Curve.Curve Members

Interpolate3 Overload

Lumia.Imaging.Adjustments Namespace