http://www.emgu.com
Copies scalar value to every selected element of the destination GpuMat:
arr(I)=value if mask(I)!=0
Namespace: Emgu.CV.CudaAssembly: Emgu.CV.Cuda (in Emgu.CV.Cuda.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic void SetTo(
MCvScalar value,
IInputArray mask = null,
Stream stream = null
)
Public Sub SetTo (
value As MCvScalar,
Optional mask As IInputArray = Nothing,
Optional stream As Stream = Nothing
)
public:
void SetTo(
MCvScalar value,
IInputArray^ mask = nullptr,
Stream^ stream = nullptr
)
member SetTo :
value : MCvScalar *
?mask : IInputArray *
?stream : Stream
(* Defaults:
let _mask = defaultArg mask null
let _stream = defaultArg stream null
*)
-> unit
Parameters
- value
- Type: Emgu.CV.StructureMCvScalar
Fill value - mask (Optional)
- Type: Emgu.CVIInputArray
Operation mask, 8-bit single channel GpuMat; specifies elements of destination GpuMat to be changed. Can be IntPtr.Zero if not used - stream (Optional)
- Type: Emgu.CV.CudaStream
Use a Stream to call the function asynchronously (non-blocking) or IntPtr.Zero to call the function synchronously (blocking).
See Also