Curve.Interpolate Method (Curve, Curve, Double)
Interpolates between two curves.
Namespace: Lumia.Imaging.Adjustments
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255
Syntax
public static Curve Interpolate(
Curve curve1,
Curve curve2,
double alpha
)
'Declaration
Public Shared Function Interpolate (
curve1 As Curve,
curve2 As Curve,
alpha As Double
) As Curve
public:
static Curve^ Interpolate(
[InAttribute] Curve^ curve1,
[InAttribute] Curve^ curve2,
[InAttribute] double alpha
)
Lumia.Imaging.Adjustments.Curve.Interpolate = function(curve1, curve2, alpha);
Parameters
- curve1
Type: Lumia.Imaging.Adjustments.Curve
The first operand curve.
- curve2
Type: Lumia.Imaging.Adjustments.Curve
The second operand curve.
- alpha
Type: System.Double
The alpha parameter that determines how the curves are interpolated. If alpha is 0 the resulting curve is equal to curve1. If alpha is 1 the resulting curve is equal to curve2.
Return Value
Type: Curve
The resulting curve, where result(x) = curve1(x) * (1 - alpha) + curve2(x) * alpha.
Version Information
Lumia Imaging SDK
Supported in: 3.0, 2.0