http://www.emgu.com
result = val - this, using a mask

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

Syntax

C#
public Image<TColor, TDepth> SubR(
	TColor val,
	Image<Gray, byte> mask
)
Visual Basic
Public Function SubR ( _
	val As TColor, _
	mask As Image(Of Gray, Byte) _
) As Image(Of TColor, TDepth)
Visual C++
public:
Image<TColor, TDepth>^ SubR(
	TColor val, 
	Image<Gray, unsigned char>^ mask
)

Parameters

val
Type: TColor
the value which subtract this image
mask
Type: Emgu.CV..::..Image<(Of <(<'Gray, Byte>)>)>
The mask for subtraction

Return Value

val - this, with mask

See Also