Curve.Interpolate3 Method (Curve, Curve, Curve, Double, Curve)
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,
Curve resultCurve
)
'Declaration
Public Shared Function Interpolate3 (
maxCurve As Curve,
normCurve As Curve,
minCurve As Curve,
alpha As Double,
resultCurve As Curve
) As Curve
public:
static Curve^ Interpolate3(
[InAttribute] Curve^ maxCurve,
[InAttribute] Curve^ normCurve,
[InAttribute] Curve^ minCurve,
[InAttribute] double alpha,
[InAttribute] Curve^ resultCurve
)
Lumia.Imaging.Adjustments.Curve.Interpolate3 = function(maxCurve, normCurve, minCurve, alpha, resultCurve);
Parameters
- maxCurve
Type: Lumia.Imaging.Adjustments.Curve
The maxCurve.
- normCurve
Type: Lumia.Imaging.Adjustments.Curve
The normCurve.
- minCurve
Type: Lumia.Imaging.Adjustments.Curve
The minCurve.
- alpha
Type: System.Double
The alpha parameter that determines how the curves are interpolated.
- resultCurve
Type: Lumia.Imaging.Adjustments.Curve
Optional. If a curve is passed, the content is overwritten with the result of the operation, keeping the previously set interpolation mode. If null is passed, a new curve is created with the default interpolation mode.
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