http://www.emgu.com
Set every pixel of the image to the specific color, 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 void SetValue(
	TColor color,
	Image<Gray, byte> mask
)
Visual Basic
Public Sub SetValue ( _
	color As TColor, _
	mask As Image(Of Gray, Byte) _
)
Visual C++
public:
void SetValue(
	TColor color, 
	Image<Gray, unsigned char>^ mask
)

Parameters

color
Type: TColor
The color to be set
mask
Type: Emgu.CV..::..Image<(Of <(<'Gray, Byte>)>)>
The mask for setting color

See Also