http://www.emgu.com
Copies a 2D array to a larger destination array and pads borders with the given constant.

Namespace: Emgu.CV.OpenCL
Assembly: Emgu.CV.OpenCL (in Emgu.CV.OpenCL.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static void CopyMakeBorder(
	IntPtr src,
	IntPtr dst,
	int top,
	int bottom,
	int left,
	int right,
	BORDER_TYPE borderType,
	MCvScalar value
)
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
)
Visual C++
public:
static void CopyMakeBorder(
	IntPtr src, 
	IntPtr dst, 
	int top, 
	int bottom, 
	int left, 
	int right, 
	BORDER_TYPE borderType, 
	MCvScalar value
)
F#
static member CopyMakeBorder : 
        src : IntPtr * 
        dst : IntPtr * 
        top : int * 
        bottom : int * 
        left : int * 
        right : int * 
        borderType : BORDER_TYPE * 
        value : MCvScalar -> unit 

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.

See Also