Library/ManagedCuda/NPP/NPPImage_16scC3.cs
/// <summary>
/// Subtract constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Inplace.
/// </summary>
/// <param name="nConstant">Value to subtract</param>
/// <param name="nScaleFactor">scaling factor</param>
Subtract constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Inplace.
Subtract constant to image scale by 2^ ( - nScaleFactor ) then clamp to saturated value . Inplace .
public void Sub(Npp16sc[] nConstant, int nScaleFactor)
		{
			status = NPPNativeMethods.NPPi.SubConst.nppiSubC_16sc_C3IRSfs(nConstant, _devPtrRoi, _pitch, _sizeRoi, nScaleFactor);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiSubC_16sc_C3IRSfs", status));
			NPPException.CheckNppStatus(status, this);
		}
public void Sub ( Npp16sc [ ] nConstant , int nScaleFactor ) { status = NPPNativeMethods . NPPi . SubConst . nppiSubC_16sc_C3IRSfs ( nConstant , _devPtrRoi , _pitch , _sizeRoi , nScaleFactor ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
Subtract constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value.
Subtract constant to image scale by 2^ ( - nScaleFactor ) then clamp to saturated value .
nConstant
Npp16sc[]
Value to subtract
Value to subtract
nScaleFactor
int
None