public NormDiff_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable |
||
tpl | NPPImage_8uC3 | template image. |
pNormDiff | CudaDeviceVariable |
Pointer to the computed Inf-norm of differences. (3 * sizeof(double)) |
buffer | CudaDeviceVariable |
Allocated device memory with size of at |
return | void |
public void NormDiff_Inf(NPPImage_8uC3 tpl, CudaDeviceVariable<double> pNormDiff, CudaDeviceVariable<byte> buffer)
{
int bufferSize = NormDiffInfGetBufferHostSize();
if (bufferSize > buffer.Size) throw new NPPException("Provided buffer is too small.");
status = NPPNativeMethods.NPPi.NormDiff.nppiNormDiff_Inf_8u_C3R(_devPtrRoi, _pitch, tpl.DevicePointerRoi, tpl.Pitch, _sizeRoi, pNormDiff.DevicePointer, buffer.DevicePointer);
Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiNormDiff_Inf_8u_C3R", status));
NPPException.CheckNppStatus(status, this);
}
NPPImage_8uC3::NormDiff_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable |
|
NPPImage_8uC3::NormDiff_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable |
|
NPPImage_8uC3::NormDiff_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable |