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

NormRel_Inf() public méthode

image NormRel_Inf.
public NormRel_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC3 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (3 * sizeof(double))
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void
        public void NormRel_Inf(NPPImage_8uC3 tpl, CudaDeviceVariable<double> pNormRel, CudaDeviceVariable<byte> buffer)
        {
            int bufferSize = NormRelInfGetBufferHostSize();
            if (bufferSize > buffer.Size) throw new NPPException("Provided buffer is too small.");

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

Same methods

NPPImage_8uC3::NormRel_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel ) : void
NPPImage_8uC3::NormRel_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel, int nCOI, NPPImage_8uC1 pMask ) : void
NPPImage_8uC3::NormRel_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel, int nCOI, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void
NPPImage_8uC3