Library/ManagedCuda/NPP/NPPImage_32fC3.cs
/// <summary>
/// Three-channel 8-bit unsigned planar to packed image copy.
/// </summary>
/// <param name="src0">Source image channel 0</param>
/// <param name="src1">Source image channel 1</param>
/// <param name="src2">Source image channel 2</param>
/// <param name="dest">Destination image</param>
Three-channel 8-bit unsigned planar to packed image copy.
Three - channel 8 - bit unsigned planar to packed image copy .
public static void Copy(NPPImage_32fC1 src0, NPPImage_32fC1 src1, NPPImage_32fC1 src2, NPPImage_32fC3 dest)
		{
			CUdeviceptr[] array = new CUdeviceptr[] { src0.DevicePointerRoi, src1.DevicePointerRoi, src2.DevicePointerRoi };
			NppStatus status = NPPNativeMethods.NPPi.MemCopy.nppiCopy_32f_P3C3R(array, src0.Pitch, dest.DevicePointerRoi, dest.Pitch, dest.SizeRoi);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiCopy_32f_P3C3R", status));
			NPPException.CheckNppStatus(status, null);
		}
public static void Copy ( NPPImage_32fC1 src0 , NPPImage_32fC1 src1 , NPPImage_32fC1 src2 , NPPImage_32fC3 dest ) { CUdeviceptr [ ] array = new CUdeviceptr [ ] { src0 . DevicePointerRoi , src1 . DevicePointerRoi , src2 . DevicePointerRoi } ; NppStatus status = NPPNativeMethods . NPPi . MemCopy . nppiCopy_32f_P3C3R ( array , src0 . Pitch , dest . DevicePointerRoi , dest . Pitch , dest . SizeRoi ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , null ) ; }
Three-channel 8-bit unsigned planar to packed image copy.
Three - channel 8 - bit unsigned planar to packed image copy .
src0
NPPImage_32fC1
Source image channel 0
Source image channel 0
src1
NPPImage_32fC1
Source image channel 1
Source image channel 1
src2
NPPImage_32fC1
Source image channel 2
Source image channel 2
dest
NPPImage_32fC3
None