Library/ManagedCuda/NPP/NPPImage_16sC4.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. Not affecting alpha channel.
/// </summary>
/// <param name="nValue">Value to be set (Array size = 3)</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. Not affecting alpha channel.
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 . Not affecting alpha channel .
public void SetA(short[] nValue)
		{
			status = NPPNativeMethods.NPPi.MemSet.nppiSet_16s_AC4R(nValue, _devPtrRoi, _pitch, _sizeRoi);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiSet_16s_AC4R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void SetA ( short [ ] nValue ) { status = NPPNativeMethods . NPPi . MemSet . nppiSet_16s_AC4R ( nValue , _devPtrRoi , _pitch , _sizeRoi ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
Set pixel values to nValue.
Set pixel values to nValue .
nValue
short[]
Value to be set (Array size = 3)
Value to be set ( Array size = 3 )