CudaInvokeCopyMakeBorder Method |
http://www.emgu.com
Copies a 2D array to a larger destination array and pads borders with the given constant.
Namespace: Emgu.CV.CudaAssembly: Emgu.CV.Cuda (in Emgu.CV.Cuda.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic static void CopyMakeBorder(
IInputArray src,
IOutputArray dst,
int top,
int bottom,
int left,
int right,
BorderType borderType,
MCvScalar value = null,
Stream stream = null
)
Public Shared Sub CopyMakeBorder (
src As IInputArray,
dst As IOutputArray,
top As Integer,
bottom As Integer,
left As Integer,
right As Integer,
borderType As BorderType,
Optional value As MCvScalar = Nothing,
Optional stream As Stream = Nothing
)
public:
static void CopyMakeBorder(
IInputArray^ src,
IOutputArray^ dst,
int top,
int bottom,
int left,
int right,
BorderType borderType,
MCvScalar value = nullptr,
Stream^ stream = nullptr
)
static member CopyMakeBorder :
src : IInputArray *
dst : IOutputArray *
top : int *
bottom : int *
left : int *
right : int *
borderType : BorderType *
?value : MCvScalar *
?stream : Stream
(* Defaults:
let _value = defaultArg value null
let _stream = defaultArg stream null
*)
-> unit
Parameters
- src
- Type: Emgu.CVIInputArray
Source image. - dst
- Type: Emgu.CVIOutputArray
Destination image with the same type as src. The size is Size(src.cols+left+right, src.rows+top+bottom). - top
- Type: SystemInt32
Number of pixels in each direction from the source image rectangle to extrapolate. - bottom
- Type: SystemInt32
Number of pixels in each direction from the source image rectangle to extrapolate. - left
- Type: SystemInt32
Number of pixels in each direction from the source image rectangle to extrapolate. - right
- Type: SystemInt32
Number of pixels in each direction from the source image rectangle to extrapolate. - borderType
- Type: Emgu.CV.CvEnumBorderType
Border Type - value (Optional)
- Type: Emgu.CV.StructureMCvScalar
Border value. - stream (Optional)
- Type: Emgu.CV.CudaStream
Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).
See Also