Library/ManagedCuda/NPP/NPPImage_32fC4.cs
/// <summary>
/// Image pixel minimum. No additional buffer is allocated. Not affecting Alpha.
/// </summary>
/// <param name="min">Allocated device memory with size of at least 3 * sizeof(float)</param>
/// <param name="indexX">Allocated device memory with size of at least 3 * sizeof(int)</param>
/// <param name="indexY">Allocated device memory with size of at least 3 * sizeof(int)</param>
/// <param name="buffer">Allocated device memory with size of at <see cref="MinIndexGetBufferHostSizeA()"/></param>
Image pixel minimum. No additional buffer is allocated. Not affecting Alpha.
Image pixel minimum . No additional buffer is allocated . Not affecting Alpha .
public void MinIndexA(CudaDeviceVariable<float> min, CudaDeviceVariable<int> indexX, CudaDeviceVariable<int> indexY, CudaDeviceVariable<byte> buffer)
		{
			int bufferSize = MinIndexGetBufferHostSizeA();
			if (bufferSize > buffer.Size) throw new NPPException("Provided buffer is too small.");
			status = NPPNativeMethods.NPPi.MinIdx.nppiMinIndx_32f_AC4R(_devPtrRoi, _pitch, _sizeRoi, buffer.DevicePointer, min.DevicePointer, indexX.DevicePointer, indexY.DevicePointer);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiMinIndx_32f_AC4R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void MinIndexA ( CudaDeviceVariable < float > min , CudaDeviceVariable < int > indexX , CudaDeviceVariable < int > indexY , CudaDeviceVariable < byte > buffer ) { int bufferSize = MinIndexGetBufferHostSizeA ( ) ; if ( bufferSize > buffer . Size ) throw new NPPException ( " " ) ; status = NPPNativeMethods . NPPi . MinIdx . nppiMinIndx_32f_AC4R ( _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<float>
Allocated device memory with size of at least 3 * sizeof(float)
Allocated device memory with size of at least 3 * sizeof ( float )
indexX
CudaDeviceVariable<int>
Allocated device memory with size of at least 3 * sizeof(int)
Allocated device memory with size of at least 3 * sizeof ( int )
indexY
CudaDeviceVariable<int>
Allocated device memory with size of at least 3 * sizeof(int)
Allocated device memory with size of at least 3 * sizeof ( int )
buffer
CudaDeviceVariable<byte>
Allocated device memory with size of at
Allocated device memory with size of at