ManagedCuda.NPP.NPPImage_8uC3.Mul C# (CSharp) Méthode

Mul() public méthode

Multiply constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Mul ( byte nConstant, NPPImage_8uC3 dest, int nScaleFactor ) : void
nConstant byte Value
dest NPPImage_8uC3 Destination image
nScaleFactor int scaling factor
Résultat void
        public void Mul(byte[] nConstant, NPPImage_8uC3 dest, int nScaleFactor)
        {
            status = NPPNativeMethods.NPPi.MulConst.nppiMulC_8u_C3RSfs(_devPtrRoi, _pitch, nConstant, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, nScaleFactor);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiMulC_8u_C3RSfs", status));
            NPPException.CheckNppStatus(status, this);
        }

Same methods

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