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

CopyReplicateBorder() public method

image copy with nearest source image pixel color.
public CopyReplicateBorder ( NPPImage_16sC3 dst, int nTopBorderHeight, int nLeftBorderWidth ) : void
dst NPPImage_16sC3 Destination-Image
nTopBorderHeight int Height (in pixels) of the top border. The height of the border at the bottom of /// the destination ROI is implicitly defined by the size of the source ROI: nBottomBorderHeight = /// oDstSizeROI.height - nTopBorderHeight - oSrcSizeROI.height.
nLeftBorderWidth int Width (in pixels) of the left border. The width of the border at the right side of /// the destination ROI is implicitly defined by the size of the source ROI: nRightBorderWidth = /// oDstSizeROI.width - nLeftBorderWidth - oSrcSizeROI.width.
return void
        public void CopyReplicateBorder(NPPImage_16sC3 dst, int nTopBorderHeight, int nLeftBorderWidth)
        {
            status = NPPNativeMethods.NPPi.CopyReplicateBorder.nppiCopyReplicateBorder_16s_C3R(_devPtrRoi, _pitch, _sizeRoi, dst.DevicePointerRoi, dst.Pitch, dst.SizeRoi, nTopBorderHeight, nLeftBorderWidth);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiCopyReplicateBorder_16s_C3R", status));
            NPPException.CheckNppStatus(status, this);
        }
NPPImage_16sC3