Library/ManagedCuda/NPP/NPPImage_8uC1.cs
/// <summary>
/// One-channel 8-bit unsigned image MSE.
/// </summary>
/// <param name="src2">2nd source image</param>
/// <param name="pMSE">Pointer to the computed MSE of two images. </param>
/// <param name="pDeviceBuffer">Pointer to the required device memory allocation. Use \ref nppiMSEGetBufferHostSize_8u_C1R to compute the required size (in bytes).</param>
One-channel 8-bit unsigned image MSE.
One - channel 8 - bit unsigned image MSE .
public void MSE(NPPImage_8uC1 src2 , CudaDeviceVariable<float> pMSE, CudaDeviceVariable<byte> pDeviceBuffer)
        {
            status = NPPNativeMethods.NPPi.IQA.nppiMSE_8u_C1R(_devPtrRoi, _pitch, src2.DevicePointerRoi, src2.Pitch, _sizeRoi, pMSE.DevicePointer, pDeviceBuffer.DevicePointer);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiMSE_8u_C1R", status));
            NPPException.CheckNppStatus(status, this);
        }
public void MSE ( NPPImage_8uC1 src2 , CudaDeviceVariable < float > pMSE , CudaDeviceVariable < byte > pDeviceBuffer ) { status = NPPNativeMethods . NPPi . IQA . nppiMSE_8u_C1R ( _devPtrRoi , _pitch , src2 . DevicePointerRoi , src2 . Pitch , _sizeRoi , pMSE . DevicePointer , pDeviceBuffer . DevicePointer ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
One-channel 8-bit unsigned image MSE.
One - channel 8 - bit unsigned image MSE .
src2
NPPImage_8uC1
2nd source image
2nd source image
pMSE
CudaDeviceVariable<float>
Pointer to the computed MSE of two images.
Pointer to the computed MSE of two images .
pDeviceBuffer
CudaDeviceVariable<byte>
Pointer to the required device memory allocation. Use \ref nppiMSEGetBufferHostSize_8u_C1R to compute the required size (in bytes).
Pointer to the required device memory allocation . Use \ ref nppiMSEGetBufferHostSize_8u_C1R to compute the required size ( in bytes ) .