ManagedCuda.NPP.NPPImage_8uC3.FilterRow C# (CSharp) Method

FilterRow() public method

1D row convolution.
public FilterRow ( NPPImage_8uC3 dst, CudaDeviceVariable pKernel, int nAnchor ) : void
dst NPPImage_8uC3 Destination-Image
pKernel CudaDeviceVariable Pointer to the start address of the kernel coefficient array. pKernel.Sizes gives kernel size /// Coefficients are expected to be stored in reverse order.
nAnchor int X offset of the kernel origin frame of reference relative to the source pixel.
return void
        public void FilterRow(NPPImage_8uC3 dst, CudaDeviceVariable<float> pKernel, int nAnchor)
        {
            status = NPPNativeMethods.NPPi.LinearFilter1D.nppiFilterRow32f_8u_C3R(_devPtrRoi, _pitch, dst.DevicePointerRoi, dst.Pitch, _sizeRoi, pKernel.DevicePointer, (int)pKernel.Size, nAnchor);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiFilterRow32f_8u_C3R", status));
            NPPException.CheckNppStatus(status, this);
        }

Same methods

NPPImage_8uC3::FilterRow ( NPPImage_8uC3 dest, CudaDeviceVariable Kernel, int nKernelSize, int nAnchor, int nDivisor ) : void
NPPImage_8uC3