ManagedCuda.NPP.NPPImage_8uC3.SumWindowRowBorder C# (CSharp) Méthode

SumWindowRowBorder() public méthode

Apply Row Window Summation filter over a 1D mask region around each source pixel for 3-channel 8-bit pixel input images with 32-bit floating point output. Result 32-bit floating point pixel is equal to the sum of the corresponding and neighboring row pixel values in a mask region of the source image defined by nKernelDim and nAnchorX.
public SumWindowRowBorder ( NPPImage_32fC3 dest, int nMaskSize, int nAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_32fC3 Destination image
nMaskSize int Length of the linear kernel array.
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.
Résultat void
        public void SumWindowRowBorder(NPPImage_32fC3 dest, int nMaskSize, int nAnchor, NppiBorderType eBorderType)
        {
            status = NPPNativeMethods.NPPi.WindowSum1D.nppiSumWindowRowBorder_8u32f_C3R(_devPtr, _pitch, _sizeOriginal, _pointRoi, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, nMaskSize, nAnchor, eBorderType);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiSumWindowRowBorder_8u32f_C3R", status));
            NPPException.CheckNppStatus(status, this);
        }
NPPImage_8uC3