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

Add() public method

Image addition, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Add ( NPPImage_8uC3 src2, NPPImage_8uC3 dest, int nScaleFactor ) : void
src2 NPPImage_8uC3 2nd source image
dest NPPImage_8uC3 Destination image
nScaleFactor int scaling factor
return void
        public void Add(NPPImage_8uC3 src2, NPPImage_8uC3 dest, int nScaleFactor)
        {
            status = NPPNativeMethods.NPPi.Add.nppiAdd_8u_C3RSfs(_devPtrRoi, _pitch, src2.DevicePointerRoi, src2.Pitch, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, nScaleFactor);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiAdd_8u_C3RSfs", status));
            NPPException.CheckNppStatus(status, this);
        }

Same methods

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