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.0.1.0 (2.0.1.0)

Syntax

C#
public Image<TColor, TDepth> Copy(
	Image<Gray, byte> mask
)
Visual Basic (Declaration)
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