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.2.1.1150 (2.2.1.1150)

Syntax

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

Parameters

mask
Image<(Of <(<'Gray, Byte>)>)>
the mask for coping

Return Value

A copy of the image

See Also