Library/ManagedCuda/NPP/NPPImage_8uC3.cs
/// <summary>
/// 3 channel 8-bit unsigned packed RGB to 1 channel 8-bit unsigned packed Gray Gradient conversion.
/// </summary>
/// <param name="dest">Destination image</param>
/// <param name="eNorm">Gradient distance method to use.</param>
3 channel 8-bit unsigned packed RGB to 1 channel 8-bit unsigned packed Gray Gradient conversion.
3 channel 8 - bit unsigned packed RGB to 1 channel 8 - bit unsigned packed Gray Gradient conversion .
public void GradientColorToGray(NPPImage_8uC1 dest, NppiNorm eNorm)
		{
			NppStatus status = NPPNativeMethods.NPPi.GradientColorToGray.nppiGradientColorToGray_8u_C3C1R(DevicePointerRoi, Pitch, dest.DevicePointerRoi, dest.Pitch, SizeRoi, eNorm);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiGradientColorToGray_8u_C3C1R", status));
			NPPException.CheckNppStatus(status, null);
		}
public void GradientColorToGray ( NPPImage_8uC1 dest , NppiNorm eNorm ) { NppStatus status = NPPNativeMethods . NPPi . GradientColorToGray . nppiGradientColorToGray_8u_C3C1R ( DevicePointerRoi , Pitch , dest . DevicePointerRoi , dest . Pitch , SizeRoi , eNorm ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , null ) ; }
3 channel 8-bit unsigned packed RGB to 1 channel 8-bit unsigned packed Gray Gradient conversion.
3 channel 8 - bit unsigned packed RGB to 1 channel 8 - bit unsigned packed Gray Gradient conversion .
dest
NPPImage_8uC1
None
eNorm
NppiNorm
Gradient distance method to use.
Gradient distance method to use .