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

FilterBox() public method

Computes the average pixel values of the pixels under a rectangular mask.
public FilterBox ( NPPImage_8uC3 dest, NppiSize oMaskSize, NppiPoint oAnchor ) : void
dest NPPImage_8uC3 Destination image
oMaskSize NppiSize Width and Height of the neighborhood region for the local Avg operation.
oAnchor NppiPoint X and Y offsets of the kernel origin frame of reference w.r.t the source pixel.
return void
        public void FilterBox(NPPImage_8uC3 dest, NppiSize oMaskSize, NppiPoint oAnchor)
        {
            status = NPPNativeMethods.NPPi.LinearFixedFilters2D.nppiFilterBox_8u_C3R(_devPtrRoi, _pitch, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, oMaskSize, oAnchor);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiFilterBox_8u_C3R", status));
            NPPException.CheckNppStatus(status, this);
        }
NPPImage_8uC3