public MinMax ( CudaDeviceVariable |
||
min | CudaDeviceVariable |
Allocated device memory with size of at least 3 * sizeof(byte) |
max | CudaDeviceVariable |
Allocated device memory with size of at least 3 * sizeof(byte) |
buffer | CudaDeviceVariable |
Allocated device memory with size of at |
Résultat | void |
public void MinMax(CudaDeviceVariable<byte> min, CudaDeviceVariable<byte> max, CudaDeviceVariable<byte> buffer)
{
int bufferSize = MinMaxGetBufferHostSize();
if (bufferSize > buffer.Size) throw new NPPException("Provided buffer is too small.");
status = NPPNativeMethods.NPPi.MinMaxNew.nppiMinMax_8u_C3R(_devPtrRoi, _pitch, _sizeRoi, min.DevicePointer, max.DevicePointer, buffer.DevicePointer);
Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiMinMax_8u_C3R", status));
NPPException.CheckNppStatus(status, this);
}
NPPImage_8uC3::MinMax ( CudaDeviceVariable |