public void Sub(byte[] nConstant, NPPImage_8uC3 dest, int nScaleFactor) { status = NPPNativeMethods.NPPi.SubConst.nppiSubC_8u_C3RSfs(_devPtrRoi, _pitch, nConstant, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, nScaleFactor); Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiSubC_8u_C3RSfs", status)); NPPException.CheckNppStatus(status, this); }