Library/ManagedCuda/NPP/NPPImage_8uC4.cs
/// <summary>
/// packed color complement color key replacement of source image 1 by source image 2
/// </summary>
/// <param name="src2">source2 packed pixel format image.</param>
/// <param name="dest">Destination image</param>
/// <param name="colorKeyConst">color key constants</param>
packed color complement color key replacement of source image 1 by source image 2
packed color complement color key replacement of source image 1 by source image 2
public void CompColorKey(NPPImage_8uC4 src2, NPPImage_8uC4 dest, byte[] colorKeyConst)
		{
			status = NPPNativeMethods.NPPi.CompColorKey.nppiCompColorKey_8u_C4R(_devPtrRoi, _pitch, src2.DevicePointerRoi, src2.Pitch, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, colorKeyConst);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiCompColorKey_8u_C4R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void CompColorKey ( NPPImage_8uC4 src2 , NPPImage_8uC4 dest , byte [ ] colorKeyConst ) { status = NPPNativeMethods . NPPi . CompColorKey . nppiCompColorKey_8u_C4R ( _devPtrRoi , _pitch , src2 . DevicePointerRoi , src2 . Pitch , dest . DevicePointerRoi , dest . Pitch , _sizeRoi , colorKeyConst ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
packed color complement color key replacement of source image 1 by source image 2
packed color complement color key replacement of source image 1 by source image 2
src2
NPPImage_8uC4
source2 packed pixel format image.
source2 packed pixel format image .
dest
NPPImage_8uC4
None
colorKeyConst
byte[]
color key constants
color key constants