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

Sqr() public method

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

Same methods

NPPImage_8uC3::Sqr ( int nScaleFactor ) : void
NPPImage_8uC3