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

FilterBox() public method

Computes the average pixel values of the pixels under a rectangular mask.
public FilterBox ( NPPImage_16sC3 dest, NppiSize oMaskSize, NppiPoint oAnchor ) : void
dest NPPImage_16sC3 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_16sC3 dest, NppiSize oMaskSize, NppiPoint oAnchor)
        {
            status = NPPNativeMethods.NPPi.LinearFixedFilters2D.nppiFilterBox_16s_C3R(_devPtrRoi, _pitch, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, oMaskSize, oAnchor);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiFilterBox_16s_C3R", status));
            NPPException.CheckNppStatus(status, this);
        }
NPPImage_16sC3