Library/ManagedCuda/NPP/NPPImage_16uC1.cs
/// <summary>
/// Image composition using constant alpha.
/// </summary>
/// <param name="alpha1">constant alpha for this image</param>
/// <param name="src2">2nd source image</param>
/// <param name="alpha2">constant alpha for src2</param>
/// <param name="dest">Destination image</param>
/// <param name="nppAlphaOp">alpha compositing operation</param>
Image composition using constant alpha.
Image composition using constant alpha .
public void AlphaComp(ushort alpha1, NPPImage_16uC1 src2, ushort alpha2, NPPImage_16uC1 dest, NppiAlphaOp nppAlphaOp)
		{
			status = NPPNativeMethods.NPPi.AlphaCompConst.nppiAlphaCompC_16u_C1R(_devPtrRoi, _pitch, alpha1, src2.DevicePointerRoi, src2.Pitch, alpha2, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, nppAlphaOp);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiAlphaCompC_16u_C1R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void AlphaComp ( ushort alpha1 , NPPImage_16uC1 src2 , ushort alpha2 , NPPImage_16uC1 dest , NppiAlphaOp nppAlphaOp ) { status = NPPNativeMethods . NPPi . AlphaCompConst . nppiAlphaCompC_16u_C1R ( _devPtrRoi , _pitch , alpha1 , src2 . DevicePointerRoi , src2 . Pitch , alpha2 , dest . DevicePointerRoi , dest . Pitch , _sizeRoi , nppAlphaOp ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
Image composition using constant alpha.
Image composition using constant alpha .
alpha1
ushort
constant alpha for this image
constant alpha for this image
src2
NPPImage_16uC1
2nd source image
2nd source image
alpha2
ushort
constant alpha for src2
constant alpha for src2
dest
NPPImage_16uC1
None
nppAlphaOp
NppiAlphaOp
alpha compositing operation
alpha compositing operation