# Curve.EstimateInterpolationFactor Method (Curve, Curve)

Estimates the factor of interpolation between the identity curve and the curve supplied that should be used to get as close to target curve as possible.

**Namespace:**Lumia.Imaging.Adjustments

**Assembly:**Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255

```
Lumia.Imaging.Adjustments.Curve.EstimateInterpolationFactor = function(targetCurve, maxCurve);
```

#### Parameters

- targetCurve
- Type: Lumia.Imaging.Adjustments.Curve

The curve to target with the interpolation.

- maxCurve
- Type: Lumia.Imaging.Adjustments.Curve

The curve that corresponds to an 1.0 interpolation factor. 0.0 corresponds to the identity curve.

#### Return Value

Type: DoubleThe factor of interpolation between the identity curve and the curve supplied that should be used to get as close to target curve as possible.

Show: