Library/ManagedCuda/NPP/NPPImage_16uC3.cs
/// <summary>
/// image infinity norm. No additional buffer is allocated.
/// </summary>
/// <param name="coi">Channel of interest (0, 1 or 2)</param>
/// <param name="norm">Allocated device memory with size of at least 1 * sizeof(double)</param>
/// <param name="mask">mask</param>
/// <param name="buffer">Allocated device memory with size of at <see cref="NormInfMaskedGetBufferHostSize()"/></param>
image infinity norm. No additional buffer is allocated.
image infinity norm . No additional buffer is allocated .
public void NormInf(int coi, CudaDeviceVariable<double> norm, NPPImage_8uC1 mask, CudaDeviceVariable<byte> buffer)
		{
			int bufferSize = NormInfMaskedGetBufferHostSize();
			if (bufferSize > buffer.Size) throw new NPPException("Provided buffer is too small.");
			status = NPPNativeMethods.NPPi.NormInf.nppiNorm_Inf_16u_C3CMR(_devPtrRoi, _pitch, mask.DevicePointerRoi, mask.Pitch, _sizeRoi, coi, norm.DevicePointer, buffer.DevicePointer);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiNorm_Inf_16u_C3CMR", status));
			NPPException.CheckNppStatus(status, this);
		}
public void NormInf ( int coi , CudaDeviceVariable < double > norm , NPPImage_8uC1 mask , CudaDeviceVariable < byte > buffer ) { int bufferSize = NormInfMaskedGetBufferHostSize ( ) ; if ( bufferSize > buffer . Size ) throw new NPPException ( " " ) ; status = NPPNativeMethods . NPPi . NormInf . nppiNorm_Inf_16u_C3CMR ( _devPtrRoi , _pitch , mask . DevicePointerRoi , mask . Pitch , _sizeRoi , coi , norm . DevicePointer , buffer . DevicePointer ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
image infinity norm.
image infinity norm .
coi
int
Channel of interest (0, 1 or 2)
Channel of interest ( 0 1 or 2 )
norm
CudaDeviceVariable<double>
Allocated device memory with size of at least 1 * sizeof(double)
Allocated device memory with size of at least 1 * sizeof ( double )
mask
NPPImage_8uC1
None
buffer
CudaDeviceVariable<byte>
Allocated device memory with size of at
Allocated device memory with size of at