ManagedCuda.NPP.NPPImage_8uC3.Add C# (CSharp) Method

Add() public method

Add constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Inplace.
public Add ( byte nConstant, int nScaleFactor ) : void
nConstant byte Values to add
nScaleFactor int scaling factor
return void
        public void Add(byte[] nConstant, int nScaleFactor)
        {
            status = NPPNativeMethods.NPPi.AddConst.nppiAddC_8u_C3IRSfs(nConstant, _devPtrRoi, _pitch, _sizeRoi, nScaleFactor);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiAddC_8u_C3IRSfs", status));
            NPPException.CheckNppStatus(status, this);
        }

Same methods

NPPImage_8uC3::Add ( NPPImage_8uC3 src2, NPPImage_8uC3 dest, int nScaleFactor ) : void
NPPImage_8uC3::Add ( NPPImage_8uC3 src2, int nScaleFactor ) : void
NPPImage_8uC3::Add ( byte nConstant, NPPImage_8uC3 dest, int nScaleFactor ) : void
NPPImage_8uC3