Perform a first degree interpolation to lookup the y coordinate given the x coordinate

Namespace:  Emgu.CV
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.1.0.649 (2.1.0.649)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static float FirstDegreeInterpolate(
	PointF[] points,
	float index
)
Public Shared Function FirstDegreeInterpolate ( _
	points As PointF(), _
	index As Single _
) As Single
public:
static float FirstDegreeInterpolate(
	array<PointF>^ points, 
	float index
)

Parameters

points
array< PointF >[]()[]
The collection of points. Must be sorted by the x value.
index
Single
the x coordinate

Return Value

the y coordinate as the result of the first degree interpolation

See Also