http://www.emgu.com
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.2.1777 (2.4.2.1777)
Copies a 2D array to a larger destination array and pads borders with the given constant.
Namespace: Emgu.CV.GPUAssembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.2.1777 (2.4.2.1777)
Syntax
C# |
---|
public static void CopyMakeBorder( IntPtr src, IntPtr dst, int top, int bottom, int left, int right, BORDER_TYPE borderType, MCvScalar value, IntPtr stream ) |
Visual Basic |
---|
Public Shared Sub CopyMakeBorder ( _ src As IntPtr, _ dst As IntPtr, _ top As Integer, _ bottom As Integer, _ left As Integer, _ right As Integer, _ borderType As BORDER_TYPE, _ value As MCvScalar, _ stream As IntPtr _ ) |
Visual C++ |
---|
public: static void CopyMakeBorder( IntPtr src, IntPtr dst, int top, int bottom, int left, int right, BORDER_TYPE borderType, MCvScalar value, IntPtr stream ) |
Parameters
- src
- Type: System..::..IntPtr
Source image.
- dst
- Type: System..::..IntPtr
Destination image with the same type as src. The size is Size(src.cols+left+right, src.rows+top+bottom).
- top
- Type: System..::..Int32
Number of pixels in each direction from the source image rectangle to extrapolate.
- bottom
- Type: System..::..Int32
Number of pixels in each direction from the source image rectangle to extrapolate.
- left
- Type: System..::..Int32
Number of pixels in each direction from the source image rectangle to extrapolate.
- right
- Type: System..::..Int32
Number of pixels in each direction from the source image rectangle to extrapolate.
- borderType
- Type: Emgu.CV.CvEnum..::..BORDER_TYPE
Border Type
- value
- Type: Emgu.CV.Structure..::..MCvScalar
Border value.
- stream
- Type: System..::..IntPtr
Use a Stream to call the function asynchronously (non-blocking) or IntPtr.Zero to call the function synchronously (blocking).