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)
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public static void cvSubS( IntPtr src, MCvScalar value, IntPtr dst, IntPtr mask ) |
Visual Basic (Declaration) |
---|
Public Shared Sub cvSubS ( _ src As IntPtr, _ value As MCvScalar, _ dst As IntPtr, _ mask As IntPtr _ ) |
Visual C++ |
---|
public: static void cvSubS( IntPtr src, MCvScalar value, IntPtr dst, IntPtr mask ) |
Parameters
- src
- Type: System..::.IntPtr
The source array
- value
- Type: Emgu.CV.Structure..::.MCvScalar
Subtracted scalar
- dst
- Type: System..::.IntPtr
The destination array
- mask
- Type: System..::.IntPtr
Operation mask, 8-bit single channel array; specifies elements of destination array to be changed.