public NormRel_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable |
||
tpl | NPPImage_8uC3 | template image. |
pNormRel | CudaDeviceVariable |
Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double)) |
nCOI | int | channel of interest. |
pMask | NPPImage_8uC1 | Mask image. |
return | void |
public void NormRel_Inf(NPPImage_8uC3 tpl, CudaDeviceVariable<double> pNormRel, int nCOI, NPPImage_8uC1 pMask)
{
int bufferSize = NormRelInfMaskedGetBufferHostSize();
CudaDeviceVariable<byte> buffer = new CudaDeviceVariable<byte>(bufferSize);
status = NPPNativeMethods.NPPi.NormRel.nppiNormRel_Inf_8u_C3CMR(_devPtrRoi, _pitch, tpl.DevicePointerRoi, tpl.Pitch, pMask.DevicePointerRoi, pMask.Pitch, _sizeRoi, nCOI, pNormRel.DevicePointer, buffer.DevicePointer);
Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiNormRel_Inf_8u_C3CMR", status));
buffer.Dispose();
NPPException.CheckNppStatus(status, this);
}
NPPImage_8uC3::NormRel_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable |
|
NPPImage_8uC3::NormRel_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable |
|
NPPImage_8uC3::NormRel_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable |