Cv2BorderInterpolate Method
|
Computes the source location of an extrapolated pixel.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic static int BorderInterpolate(
int p,
int len,
BorderTypes borderType
)
Public Shared Function BorderInterpolate (
p As Integer,
len As Integer,
borderType As BorderTypes
) As Integer
public:
static int BorderInterpolate(
int p,
int len,
BorderTypes borderType
)
static member BorderInterpolate :
p : int *
len : int *
borderType : BorderTypes -> int
OpenCvSharp.Cv2.BorderInterpolate = function(p, len, 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
See Also