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

Div() public method

Image division, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Div ( NPPImage_16sC3 src2, NPPImage_16sC3 dest, NppRoundMode rndMode, int nScaleFactor ) : void
src2 NPPImage_16sC3 2nd source image
dest NPPImage_16sC3 Destination image
rndMode NppRoundMode Result Rounding mode to be used
nScaleFactor int scaling factor
return void
        public void Div(NPPImage_16sC3 src2, NPPImage_16sC3 dest, NppRoundMode rndMode, int nScaleFactor)
        {
            status = NPPNativeMethods.NPPi.DivRound.nppiDiv_Round_16s_C3RSfs(_devPtrRoi, _pitch, src2.DevicePointerRoi, src2.Pitch, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, rndMode, nScaleFactor);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiDiv_Round_16s_C3RSfs", status));
            NPPException.CheckNppStatus(status, this);
        }

Same methods

NPPImage_16sC3::Div ( NPPImage_16sC3 src2, NPPImage_16sC3 dest, int nScaleFactor ) : void
NPPImage_16sC3::Div ( NPPImage_16sC3 src2, NppRoundMode rndMode, int nScaleFactor ) : void
NPPImage_16sC3::Div ( NPPImage_16sC3 src2, int nScaleFactor ) : void
NPPImage_16sC3::Div ( short nConstant, NPPImage_16sC3 dest, int nScaleFactor ) : void
NPPImage_16sC3::Div ( short nConstant, int nScaleFactor ) : void
NPPImage_16sC3