Click or drag to resize

Cv2BorderInterpolate Method

Computes the source location of an extrapolated pixel.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static int BorderInterpolate(
	int p,
	int len,
	BorderTypes borderType
)

Parameters

p
Type: SystemInt32
0-based coordinate of the extrapolated pixel along one of the axes, likely <0 or >= len
len
Type: SystemInt32
Length of the array along the corresponding axis.
borderType
Type: OpenCvSharpBorderTypes
Border type, one of the #BorderTypes, except for #BORDER_TRANSPARENT and BORDER_ISOLATED. When borderType==BORDER_CONSTANT, the function always returns -1, regardless

Return Value

Type: Int32

[Missing <returns> documentation for "M:OpenCvSharp.Cv2.BorderInterpolate(System.Int32,System.Int32,OpenCvSharp.BorderTypes)"]

See Also