Emgu CV Library Documentation
cvSubS Method (src, value, dst, mask)
NamespacesEmgu.CVCvInvokecvSubS(IntPtr, MCvScalar, IntPtr, IntPtr)

www.emgu.com/wiki
Subtracts a scalar from every element of the source array: 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)
Declaration Syntax
C#Visual BasicVisual C++
public static void cvSubS(
	IntPtr src,
	MCvScalar value,
	IntPtr dst,
	IntPtr mask
)
Public Shared Sub cvSubS ( _
	src As IntPtr, _
	value As MCvScalar, _
	dst As IntPtr, _
	mask As IntPtr _
)
public:
static void cvSubS(
	IntPtr src, 
	MCvScalar value, 
	IntPtr dst, 
	IntPtr mask
)
Parameters
src (IntPtr)
The source array
value (MCvScalar)
Subtracted scalar
dst (IntPtr)
The destination array
mask (IntPtr)
Operation mask, 8-bit single channel array; specifies elements of destination array to be changed.

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.5.0.0 (1.5.0.0)