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

Sqr() public method

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

Same methods

NPPImage_16sC3::Sqr ( int nScaleFactor ) : void
NPPImage_16sC3