Copies scalar value to every selected element of the destination GpuMat:
arr(I)=value if mask(I)!=0
Namespace: Emgu.CV.GPUAssembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.2.1.1106 (2.2.1.1106)
Syntax
C# | Visual Basic | Visual C++ |
Parameters
- mat
- IntPtr
The destination GpuMat
- value
- MCvScalar
Fill value
- mask
- IntPtr
Operation mask, 8-bit single channel GpuMat; specifies elements of destination array to be changed. Can be IntPtr.Zero if not used
- stream
- IntPtr
Use a Stream to call the function asynchronously (non-blocking) or IntPtr.Zero to call the function synchronously (blocking).