Library/ManagedCuda/NPP/NPPImage_8uC4.cs
/// <summary>
/// Image pixel minimum. Buffer is internally allocated and freed. Not affecting alpha.
/// </summary>
/// <param name="min">Allocated device memory with size of at least 3 * sizeof(byte)</param>
Image pixel minimum. Buffer is internally allocated and freed. Not affecting alpha.
Image pixel minimum . Buffer is internally allocated and freed . Not affecting alpha .
public void MinA(CudaDeviceVariable<byte> min)
		{
			int bufferSize = MinGetBufferHostSize();
			CudaDeviceVariable<byte> buffer = new CudaDeviceVariable<byte>(bufferSize);
			status = NPPNativeMethods.NPPi.Min.nppiMin_8u_AC4R(_devPtrRoi, _pitch, _sizeRoi, buffer.DevicePointer, min.DevicePointer);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiMin_8u_AC4R", status));
			buffer.Dispose();
			NPPException.CheckNppStatus(status, this);
		}
public void MinA ( CudaDeviceVariable < byte > min ) { int bufferSize = MinGetBufferHostSize ( ) ; CudaDeviceVariable < byte > buffer = new CudaDeviceVariable < byte > ( bufferSize ) ; status = NPPNativeMethods . NPPi . Min . nppiMin_8u_AC4R ( _devPtrRoi , _pitch , _sizeRoi , buffer . DevicePointer , min . DevicePointer ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; buffer . Dispose ( ) ; NPPException . CheckNppStatus ( status , this ) ; }
Image pixel minimum.
Image pixel minimum .
min
CudaDeviceVariable<byte>
Allocated device memory with size of at least 3 * sizeof(byte)
Allocated device memory with size of at least 3 * sizeof ( byte )