Library/ManagedCuda/NPP/NPPImage_16uC3.cs
/// <summary>
/// Set pixel values to nValue. <para/>
/// The 8-bit mask image affects setting of the respective pixels in the destination image. <para/>
/// If the mask value is zero (0) the pixel is not set, if the mask is non-zero, the corresponding
/// destination pixel is set to specified value.
/// </summary>
/// <param name="nValue">Value to be set (Array size = 3)</param>
/// <param name="mask">Mask image</param>
Set pixel values to nValue.
The 8-bit mask image affects setting of the respective pixels in the destination image.
If the mask value is zero (0) the pixel is not set, if the mask is non-zero, the corresponding
destination pixel is set to specified value.
Set pixel values to nValue . The 8 - bit mask image affects setting of the respective pixels in the destination image . If the mask value is zero ( 0 ) the pixel is not set if the mask is non - zero the corresponding destination pixel is set to specified value .
public void Set(ushort[] nValue, NPPImage_8uC1 mask)
		{
			status = NPPNativeMethods.NPPi.MemSet.nppiSet_16u_C3MR(nValue, _devPtrRoi, _pitch, _sizeRoi, mask.DevicePointerRoi, mask.Pitch);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiSet_16u_C3MR", status));
			NPPException.CheckNppStatus(status, this);
		}
public void Set ( ushort [ ] nValue , NPPImage_8uC1 mask ) { status = NPPNativeMethods . NPPi . MemSet . nppiSet_16u_C3MR ( nValue , _devPtrRoi , _pitch , _sizeRoi , mask . DevicePointerRoi , mask . Pitch ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
Set pixel values to nValue.
Set pixel values to nValue .
nValue
ushort[]
Value to be set (Array size = 3)
Value to be set ( Array size = 3 )
mask
NPPImage_8uC1
None