Library/ManagedCuda/NPP/NPPImage_8uC1.cs
/// <summary>
/// Image pixel minimum. No additional buffer is allocated.
/// </summary>
/// <param name="min">Allocated device memory with size of at least 1 * sizeof(byte)</param>
/// <param name="indexX">Allocated device memory with size of at least 1 * sizeof(int)</param>
/// <param name="indexY">Allocated device memory with size of at least 1 * sizeof(int)</param>
/// <param name="buffer">Allocated device memory with size of at <see cref="MinIndexGetBufferHostSize()"/></param>
Image pixel minimum. No additional buffer is allocated.
Image pixel minimum . No additional buffer is allocated .
public void MinIndex(CudaDeviceVariable<byte> min, CudaDeviceVariable<int> indexX, CudaDeviceVariable<int> indexY, CudaDeviceVariable<byte> buffer)
		{
			int bufferSize = MinIndexGetBufferHostSize();
			if (bufferSize > buffer.Size) throw new NPPException("Provided buffer is too small.");
			status = NPPNativeMethods.NPPi.MinIdx.nppiMinIndx_8u_C1R(_devPtrRoi, _pitch, _sizeRoi, buffer.DevicePointer, min.DevicePointer, indexX.DevicePointer, indexY.DevicePointer);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiMinIndx_8u_C1R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void MinIndex ( CudaDeviceVariable < byte > min , CudaDeviceVariable < int > indexX , CudaDeviceVariable < int > indexY , CudaDeviceVariable < byte > buffer ) { int bufferSize = MinIndexGetBufferHostSize ( ) ; if ( bufferSize > buffer . Size ) throw new NPPException ( " " ) ; status = NPPNativeMethods . NPPi . MinIdx . nppiMinIndx_8u_C1R ( _devPtrRoi , _pitch , _sizeRoi , buffer . DevicePointer , min . DevicePointer , indexX . DevicePointer , indexY . DevicePointer ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
Image pixel minimum.
Image pixel minimum .
min
CudaDeviceVariable<byte>
Allocated device memory with size of at least 1 * sizeof(byte)
Allocated device memory with size of at least 1 * sizeof ( byte )
indexX
CudaDeviceVariable<int>
Allocated device memory with size of at least 1 * sizeof(int)
Allocated device memory with size of at least 1 * sizeof ( int )
indexY
CudaDeviceVariable<int>
Allocated device memory with size of at least 1 * sizeof(int)
Allocated device memory with size of at least 1 * sizeof ( int )
buffer
CudaDeviceVariable<byte>
Allocated device memory with size of at
Allocated device memory with size of at