http://www.emgu.com
Make a copy of the image using a mask, if ROI is set, only copy the ROI

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

Syntax

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

Parameters

mask
Type: Emgu.CV..::..Image<(Of <(<'Gray, Byte>)>)>
the mask for coping

Return Value

A copy of the image

See Also