Library/ManagedCuda/NPP/NPPImage_32fC4.cs
/// <summary>
/// image copy with the borders wrapped by replication of source image pixel colors. Not affecting Alpha.
/// </summary>
/// <param name="dst">Destination-Image</param>
/// <param name="nTopBorderHeight">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.</param>
/// <param name="nLeftBorderWidth">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.</param>
image copy with the borders wrapped by replication of source image pixel colors. Not affecting Alpha.
image copy with the borders wrapped by replication of source image pixel colors . Not affecting Alpha .
public void CopyWrapBorderA(NPPImage_32fC4 dst, int nTopBorderHeight, int nLeftBorderWidth)
		{
			status = NPPNativeMethods.NPPi.CopyWrapBorder.nppiCopyWrapBorder_32f_AC4R(_devPtrRoi, _pitch, _sizeRoi, dst.DevicePointerRoi, dst.Pitch, dst.SizeRoi, nTopBorderHeight, nLeftBorderWidth);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiCopyWrapBorder_32f_AC4R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void CopyWrapBorderA ( NPPImage_32fC4 dst , int nTopBorderHeight , int nLeftBorderWidth ) { status = NPPNativeMethods . NPPi . CopyWrapBorder . nppiCopyWrapBorder_32f_AC4R ( _devPtrRoi , _pitch , _sizeRoi , dst . DevicePointerRoi , dst . Pitch , dst . SizeRoi , nTopBorderHeight , nLeftBorderWidth ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
image copy with the borders wrapped by replication of source image pixel colors.
image copy with the borders wrapped by replication of source image pixel colors .
dst
NPPImage_32fC4
None
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.
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.
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 .