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

FilterColumnBorder() public method

General purpose 1D convolution column filter with border control. Pixels under the mask are multiplied by the respective weights in the mask and the results are summed. If any portion of the mask overlaps the source image boundary the requested border type operation is applied to all mask pixels which fall outside of the source image.
public FilterColumnBorder ( NPPImage_8uC3 dest, CudaDeviceVariable Kernel, int nAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_8uC3 Destination image
Kernel CudaDeviceVariable Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order.
nAnchor int X offset of the kernel origin frame of reference w.r.t the source pixel.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
return void
        public void FilterColumnBorder(NPPImage_8uC3 dest, CudaDeviceVariable<float> Kernel, int nAnchor, NppiBorderType eBorderType)
        {
            status = NPPNativeMethods.NPPi.LinearFilter1D.nppiFilterColumnBorder32f_8u_C3R(_devPtr, _pitch, _sizeOriginal, _pointRoi, dest.DevicePointerRoi, dest.Pitch, dest.SizeRoi, Kernel.DevicePointer, Kernel.Size, nAnchor, eBorderType);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiFilterColumnBorder32f_8u_C3R", status));
            NPPException.CheckNppStatus(status, this);
        }

Same methods

NPPImage_8uC3::FilterColumnBorder ( NPPImage_8uC3 dest, CudaDeviceVariable Kernel, int nAnchor, int nDivisor, NppiBorderType eBorderType ) : void
NPPImage_8uC3