ManagedCuda.NPP.NPPImage_8uC3.GradientColorToGray C# (CSharp) Method

GradientColorToGray() public method

3 channel 8-bit unsigned packed RGB to 1 channel 8-bit unsigned packed Gray Gradient conversion.
public GradientColorToGray ( NPPImage_8uC1 dest, NppiNorm eNorm ) : void
dest NPPImage_8uC1 Destination image
eNorm NppiNorm Gradient distance method to use.
return void
        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);
        }
NPPImage_8uC3