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