Library/ManagedCuda/NPP/NPPImage_16sC1.cs
/// <summary>
/// 16-bit signed to 8-bit signed conversion with saturation.
/// </summary>
/// <param name="dst">Destination image</param>
/// <param name="roundMode">Round mode</param>
/// <param name="scaleFactor">scaling factor</param>
16-bit signed to 8-bit signed conversion with saturation.
16 - bit signed to 8 - bit signed conversion with saturation .
public void Convert(NPPImage_8sC1 dst, NppRoundMode roundMode, int scaleFactor)
		{
			status = NPPNativeMethods.NPPi.BitDepthConversion.nppiConvert_16s8s_C1RSfs(_devPtrRoi, _pitch, dst.DevicePointerRoi, dst.Pitch, _sizeRoi, roundMode, scaleFactor);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiConvert_16s8s_C1RSfs", status));
			NPPException.CheckNppStatus(status, this);
		}
public void Convert ( NPPImage_8sC1 dst , NppRoundMode roundMode , int scaleFactor ) { status = NPPNativeMethods . NPPi . BitDepthConversion . nppiConvert_16s8s_C1RSfs ( _devPtrRoi , _pitch , dst . DevicePointerRoi , dst . Pitch , _sizeRoi , roundMode , scaleFactor ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
16-bit signed to 8-bit signed conversion with saturation.
16 - bit signed to 8 - bit signed conversion with saturation .
dst
NPPImage_8sC1
None
roundMode
NppRoundMode
None
scaleFactor
int
None