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

NormDiff_Inf() public method

image NormDiff_Inf.
public NormDiff_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff, int nCOI, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC3 template image.
pNormDiff CudaDeviceVariable Pointer to the computed Inf-norm of differences. (1 * sizeof(double))
nCOI int channel of interest.
pMask NPPImage_8uC1 Mask image.
buffer CudaDeviceVariable Allocated device memory with size of at
return void
        public void NormDiff_Inf(NPPImage_8uC3 tpl, CudaDeviceVariable<double> pNormDiff, int nCOI, NPPImage_8uC1 pMask, CudaDeviceVariable<byte> buffer)
        {
            int bufferSize = NormDiffInfMaskedGetBufferHostSize();
            if (bufferSize > buffer.Size) throw new NPPException("Provided buffer is too small.");

            status = NPPNativeMethods.NPPi.NormDiff.nppiNormDiff_Inf_8u_C3CMR(_devPtrRoi, _pitch, tpl.DevicePointerRoi, tpl.Pitch, pMask.DevicePointerRoi, pMask.Pitch, _sizeRoi, nCOI, pNormDiff.DevicePointer, buffer.DevicePointer);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiNormDiff_Inf_8u_C3CMR", status));
            NPPException.CheckNppStatus(status, this);
        }

Same methods

NPPImage_8uC3::NormDiff_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff ) : void
NPPImage_8uC3::NormDiff_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff, CudaDeviceVariable buffer ) : void
NPPImage_8uC3::NormDiff_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff, int nCOI, NPPImage_8uC1 pMask ) : void
NPPImage_8uC3