Library/ManagedCuda/NPP/NPPImage_16uC2.cs
/// <summary>
/// Image composition using image alpha values (0 - max channel pixel value).<para/>
/// Also the function is called *AC1R, it is a two channel image with second channel as alpha.
/// </summary>
/// <param name="src2">2nd source image</param>
/// <param name="dest">Destination image</param>
/// <param name="nppAlphaOp">alpha compositing operation</param>
Image composition using image alpha values (0 - max channel pixel value).
Also the function is called *AC1R, it is a two channel image with second channel as alpha.
Image composition using image alpha values ( 0 - max channel pixel value ) . Also the function is called * AC1R it is a two channel image with second channel as alpha .
public void AlphaComp(NPPImage_16uC2 src2, NPPImage_16uC2 dest, NppiAlphaOp nppAlphaOp)
		{
			status = NPPNativeMethods.NPPi.AlphaComp.nppiAlphaComp_16u_AC1R(_devPtrRoi, _pitch, src2.DevicePointerRoi, src2.Pitch, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, nppAlphaOp);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiAlphaComp_16u_AC1R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void AlphaComp ( NPPImage_16uC2 src2 , NPPImage_16uC2 dest , NppiAlphaOp nppAlphaOp ) { status = NPPNativeMethods . NPPi . AlphaComp . nppiAlphaComp_16u_AC1R ( _devPtrRoi , _pitch , src2 . DevicePointerRoi , src2 . Pitch , dest . DevicePointerRoi , dest . Pitch , _sizeRoi , nppAlphaOp ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
Image composition using image alpha values (0 - max channel pixel value).
Image composition using image alpha values ( 0 - max channel pixel value ) .
src2
NPPImage_16uC2
2nd source image
2nd source image
dest
NPPImage_16uC2
None
nppAlphaOp
NppiAlphaOp
alpha compositing operation
alpha compositing operation