Adds scalar value to every element in the source array src1 and stores the result in dst dst(I)=src(I)+value if mask(I)!=0 All the arrays must have the same type, except the mask, and the same size (or ROI size)

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void cvAddS(
	IntPtr src,
	MCvScalar value,
	IntPtr dst,
	IntPtr mask
)
Public Shared Sub cvAddS ( _
	src As IntPtr, _
	value As MCvScalar, _
	dst As IntPtr, _
	mask As IntPtr _
)
public:
static void cvAddS(
	IntPtr src, 
	MCvScalar value, 
	IntPtr dst, 
	IntPtr mask
)

Parameters

src
IntPtr
The source array.
value
MCvScalar
Added scalar.
dst
IntPtr
The destination array.
mask
IntPtr
Operation mask, 8-bit single channel array; specifies elements of destination array to be changed.

See Also