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

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.

Lumia Imaging SDK

Supported in: 3.0, 2.0
Show: