Library/ManagedCuda/NPP/NPPImage_16sC4.cs
/// <summary>
/// Color to Gray conversion, not affecting Alpha.
/// </summary>
/// <param name="dest">Destination image</param>
/// <param name="aCoeffs">fixed size array of constant floating point conversion coefficient values, one per color channel.</param>
Color to Gray conversion, not affecting Alpha.
Color to Gray conversion not affecting Alpha .
public void ColorToGrayA(NPPImage_16sC1 dest, float[] aCoeffs)
		{
			status = NPPNativeMethods.NPPi.ColorToGray.nppiColorToGray_16s_AC4C1R(_devPtrRoi, _pitch, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, aCoeffs);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiColorToGray_16s_AC4C1R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void ColorToGrayA ( NPPImage_16sC1 dest , float [ ] aCoeffs ) { status = NPPNativeMethods . NPPi . ColorToGray . nppiColorToGray_16s_AC4C1R ( _devPtrRoi , _pitch , dest . DevicePointerRoi , dest . Pitch , _sizeRoi , aCoeffs ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
Color to Gray conversion, not affecting Alpha.
Color to Gray conversion not affecting Alpha .
dest
NPPImage_16sC1
None
aCoeffs
float[]
fixed size array of constant floating point conversion coefficient values, one per color channel.
fixed size array of constant floating point conversion coefficient values one per color channel .