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

FilterGaussPyramidLayerDownBorder() public method

Three channel 8-bit unsigned Gauss filter with downsampling and border control.
public FilterGaussPyramidLayerDownBorder ( NPPImage_8uC3 dest, float nRate, int nFilterTaps, CudaDeviceVariable pKernel, NppiBorderType eBorderType ) : void
dest NPPImage_8uC3 Destination image
nRate float The downsampling rate to be used. For integer equivalent rates unnecessary source pixels are just skipped. For non-integer rates the source image is bilinear interpolated. nRate must be > 1.0F and <= 10.0F.
nFilterTaps int The number of filter taps where nFilterTaps = 2 * ((int)((float)ceil(radius) + 0.5F) ) + 1.
pKernel CudaDeviceVariable Pointer to an array of nFilterTaps kernel coefficients which sum to 1.0F.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
return void
        public void FilterGaussPyramidLayerDownBorder(NPPImage_8uC3 dest, float nRate, int nFilterTaps, CudaDeviceVariable<float> pKernel, NppiBorderType eBorderType)
        {
            status = NPPNativeMethods.NPPi.FilterGaussPyramid.nppiFilterGaussPyramidLayerDownBorder_8u_C3R(_devPtr, _pitch, _sizeOriginal, _pointRoi, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, nRate, nFilterTaps, pKernel.DevicePointer, eBorderType);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiFilterGaussPyramidLayerDownBorder_8u_C3R", status));
            NPPException.CheckNppStatus(status, this);
        }
NPPImage_8uC3