Table of Contents

Method Interpolate

Namespace
OpenCvSharp.XImgProc
Assembly
OpenCvSharp.dll

Interpolate(InputArray, InputArray, InputArray, InputArray, OutputArray)

Interpolate input sparse matches.

public virtual void Interpolate(InputArray fromImage, InputArray fromPoints, InputArray toImage, InputArray toPoints, OutputArray denseFlow)

Parameters

fromImage InputArray

first of the two matched images, 8-bit single-channel or three-channel.

fromPoints InputArray

points of the fromImage for which there are correspondences in the toImage (Point2f vector or Mat of depth CV_32F).

toImage InputArray

second of the two matched images, 8-bit single-channel or three-channel.

toPoints InputArray

points in the toImage corresponding to fromPoints (Point2f vector or Mat of depth CV_32F).

denseFlow OutputArray

output dense matching (two-channel CV_32F image).