Library/ManagedCuda/NPP/NPPImage_32scC4.cs
/// <summary>
/// Add constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Unmodified Alpha.
/// </summary>
/// <param name="nConstant">Values to add</param>
/// <param name="dest">Destination image</param>
/// <param name="nScaleFactor">scaling factor</param>
Add constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Unmodified Alpha.
Add constant to image scale by 2^ ( - nScaleFactor ) then clamp to saturated value . Unmodified Alpha .
public void AddA(Npp32sc[] nConstant, NPPImage_32scC4 dest, int nScaleFactor)
		{
			status = NPPNativeMethods.NPPi.AddConst.nppiAddC_32sc_AC4RSfs(_devPtrRoi, _pitch, nConstant, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, nScaleFactor);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiAddC_32sc_AC4RSfs", status));
			NPPException.CheckNppStatus(status, this);
		}
public void AddA ( Npp32sc [ ] nConstant , NPPImage_32scC4 dest , int nScaleFactor ) { status = NPPNativeMethods . NPPi . AddConst . nppiAddC_32sc_AC4RSfs ( _devPtrRoi , _pitch , nConstant , dest . DevicePointerRoi , dest . Pitch , _sizeRoi , nScaleFactor ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
Add constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value.
Add constant to image scale by 2^ ( - nScaleFactor ) then clamp to saturated value .
nConstant
Npp32sc[]
Values to add
Values to add
dest
NPPImage_32scC4
None
nScaleFactor
int
None