Library/ManagedCuda/NPP/NPPImage_32fC4.cs
/// <summary>
/// image mean with 64-bit double precision result. Buffer is internally allocated and freed. Not affecting Alpha.
/// </summary>
/// <param name="mean">Allocated device memory with size of at least 3 * sizeof(double)</param>
image mean with 64-bit double precision result. Buffer is internally allocated and freed. Not affecting Alpha.
image mean with 64 - bit double precision result . Buffer is internally allocated and freed . Not affecting Alpha .
public void MeanA(CudaDeviceVariable<double> mean)
		{
			int bufferSize = MeanGetBufferHostSizeA();
			CudaDeviceVariable<byte> buffer = new CudaDeviceVariable<byte>(bufferSize);
			status = NPPNativeMethods.NPPi.MeanNew.nppiMean_32f_AC4R(_devPtrRoi, _pitch, _sizeRoi, buffer.DevicePointer, mean.DevicePointer);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiMean_32f_AC4R", status));
			buffer.Dispose();
			NPPException.CheckNppStatus(status, this);
		}
public void MeanA ( CudaDeviceVariable < double > mean ) { int bufferSize = MeanGetBufferHostSizeA ( ) ; CudaDeviceVariable < byte > buffer = new CudaDeviceVariable < byte > ( bufferSize ) ; status = NPPNativeMethods . NPPi . MeanNew . nppiMean_32f_AC4R ( _devPtrRoi , _pitch , _sizeRoi , buffer . DevicePointer , mean . DevicePointer ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; buffer . Dispose ( ) ; NPPException . CheckNppStatus ( status , this ) ; }
image mean with 64-bit double precision result.
image mean with 64 - bit double precision result .
mean
CudaDeviceVariable<double>
Allocated device memory with size of at least 3 * sizeof(double)
Allocated device memory with size of at least 3 * sizeof ( double )