public FilterBorder ( NPPImage_8uC3 dest, CudaDeviceVariable |
||
dest | NPPImage_8uC3 | Destination image |
pKernel | CudaDeviceVariable |
Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order |
nKernelSize | NppiSize | Width and Height of the rectangular kernel. |
oAnchor | NppiPoint | X and Y offsets of the kernel origin frame of reference relative to the source pixel. |
eBorderType | NppiBorderType | The border type operation to be applied at source image border boundaries. |
return | void |
public void FilterBorder(NPPImage_8uC3 dest, CudaDeviceVariable<float> pKernel, NppiSize nKernelSize, NppiPoint oAnchor, NppiBorderType eBorderType)
{
status = NPPNativeMethods.NPPi.FilterBorder32f.nppiFilterBorder32f_8u_C3R(_devPtr, _pitch, _sizeOriginal, _pointRoi, dest.DevicePointerRoi, dest.Pitch, dest.SizeRoi, pKernel.DevicePointer, nKernelSize, oAnchor, eBorderType);
Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiFilterBorder32f_8u_C3R", status));
NPPException.CheckNppStatus(status, this);
}
NPPImage_8uC3::FilterBorder ( NPPImage_16sC3 dest, CudaDeviceVariable |
|
NPPImage_8uC3::FilterBorder ( NPPImage_8uC3 dest, CudaDeviceVariable |