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

QualityIndex() public method

image QualityIndex.
public QualityIndex ( NPPImage_8uC3 src2, CudaDeviceVariable dst ) : void
src2 NPPImage_8uC3 2nd source image
dst CudaDeviceVariable Pointer to the quality index. (3 * sizeof(float))
return void
        public void QualityIndex(NPPImage_8uC3 src2, CudaDeviceVariable<float> dst)
        {
            int bufferSize = QualityIndexGetBufferHostSize();
            CudaDeviceVariable<byte> buffer = new CudaDeviceVariable<byte>(bufferSize);

            status = NPPNativeMethods.NPPi.QualityIndex.nppiQualityIndex_8u32f_C3R(_devPtrRoi, _pitch, src2.DevicePointerRoi, src2.Pitch, _sizeRoi, dst.DevicePointer, buffer.DevicePointer);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiQualityIndex_8u32f_C3R", status));
            buffer.Dispose();
            NPPException.CheckNppStatus(status, this);
        }

Same methods

NPPImage_8uC3::QualityIndex ( NPPImage_8uC3 src2, CudaDeviceVariable dst, CudaDeviceVariable buffer ) : void
NPPImage_8uC3