public Filter ( NPPImage_8uC3 dst, CudaDeviceVariable |
||
dst | NPPImage_8uC3 | Destination-Image |
pKernel | CudaDeviceVariable |
Pointer to the start address of the kernel coefficient array. |
oKernelSize | NppiSize | Width and Height of the rectangular kernel. |
oAnchor | NppiPoint | X and Y offsets of the kernel origin frame of reference |
return | void |
public void Filter(NPPImage_8uC3 dst, CudaDeviceVariable<float> pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
{
status = NPPNativeMethods.NPPi.Convolution.nppiFilter32f_8u_C3R(_devPtrRoi, _pitch, dst.DevicePointerRoi, dst.Pitch, _sizeRoi, pKernel.DevicePointer, oKernelSize, oAnchor);
Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiFilter32f_8u_C3R", status));
NPPException.CheckNppStatus(status, this);
}