Library/ManagedCuda/NPP/NPPImage_16sC4.cs
/// <summary>
/// Divide constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Unchanged Alpha.
/// </summary>
/// <param name="nConstant">Value</param>
/// <param name="dest">Destination image</param>
/// <param name="nScaleFactor">scaling factor</param>
Divide constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Unchanged Alpha.
Divide constant to image scale by 2^ ( - nScaleFactor ) then clamp to saturated value . Unchanged Alpha .
public void DivA(short[] nConstant, NPPImage_16sC4 dest, int nScaleFactor)
		{
			status = NPPNativeMethods.NPPi.DivConst.nppiDivC_16s_AC4RSfs(_devPtrRoi, _pitch, nConstant, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, nScaleFactor);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiDivC_16s_AC4RSfs", status));
			NPPException.CheckNppStatus(status, this);
		}
public void DivA ( short [ ] nConstant , NPPImage_16sC4 dest , int nScaleFactor ) { status = NPPNativeMethods . NPPi . DivConst . nppiDivC_16s_AC4RSfs ( _devPtrRoi , _pitch , nConstant , dest . DevicePointerRoi , dest . Pitch , _sizeRoi , nScaleFactor ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
Divide constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value.
Divide constant to image scale by 2^ ( - nScaleFactor ) then clamp to saturated value .
nConstant
short[]
None
dest
NPPImage_16sC4
None
nScaleFactor
int
None