Class NPPNativeMethods.NPPi.CopyWrapBorder
Methods for copying images and padding borders with wrapped replications of the source image pixel colors.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class CopyWrapBorder
Methods
nppiCopyWrapBorder_16s_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
4 channel 16-bit signed integer image copy with the borders wrapped by replication of source image pixel colors with alpha channel unaffected. See nppiCopyWrapBorder_16s_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyWrapBorder_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSizeROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSizeROI | Size of the source region-of-interest. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
System.Int32 | nTopBorderHeight | Height of top border. |
System.Int32 | nLeftBorderWidth | Width of left border. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiCopyWrapBorder_16s_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
1 channel 16-bit signed integer image copy with the borders wrapped by replication of source image pixel colors.
Declaration
public static NppStatus nppiCopyWrapBorder_16s_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSizeROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSizeROI | Size of the source region of pixels. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size (width, height) of the destination region, i.e. the region that gets filled with |
System.Int32 | nTopBorderHeight | Height (in pixels) of the top border. The number of pixel rows at the top of the |
System.Int32 | nLeftBorderWidth | Width (in pixels) of the left border. The width of the border at the right side of the |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiCopyWrapBorder_16s_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
3 channel 16-bit signed integer image copy with the borders wrapped by replication of source image pixel colors. See nppiCopyWrapBorder_16s_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyWrapBorder_16s_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSizeROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSizeROI | Size of the source region-of-interest. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
System.Int32 | nTopBorderHeight | Height of top border. |
System.Int32 | nLeftBorderWidth | Width of left border. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiCopyWrapBorder_16s_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
4 channel 16-bit signed integer image copy with the borders wrapped by replication of source image pixel colors. See nppiCopyWrapBorder_16s_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyWrapBorder_16s_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSizeROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSizeROI | Size of the source region-of-interest. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
System.Int32 | nTopBorderHeight | Height of top border. |
System.Int32 | nLeftBorderWidth | Width of left border. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiCopyWrapBorder_16u_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
4 channel 16-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors with alpha channel unaffected. See nppiCopyWrapBorder_16u_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyWrapBorder_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSizeROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSizeROI | Size of the source region-of-interest. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
System.Int32 | nTopBorderHeight | Height of top border. |
System.Int32 | nLeftBorderWidth | Width of left border. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiCopyWrapBorder_16u_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
1 channel 16-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors.
Declaration
public static NppStatus nppiCopyWrapBorder_16u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSizeROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSizeROI | Size of the source region of pixels. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size (width, height) of the destination region, i.e. the region that gets filled with |
System.Int32 | nTopBorderHeight | Height (in pixels) of the top border. The number of pixel rows at the top of the |
System.Int32 | nLeftBorderWidth | Width (in pixels) of the left border. The width of the border at the right side of the |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiCopyWrapBorder_16u_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
3 channel 16-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors. See nppiCopyWrapBorder_16u_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyWrapBorder_16u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSizeROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSizeROI | Size of the source region-of-interest. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
System.Int32 | nTopBorderHeight | Height of top border. |
System.Int32 | nLeftBorderWidth | Width of left border. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiCopyWrapBorder_16u_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
4 channel 16-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors. See nppiCopyWrapBorder_16u_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyWrapBorder_16u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSizeROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSizeROI | Size of the source region-of-interest. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
System.Int32 | nTopBorderHeight | Height of top border. |
System.Int32 | nLeftBorderWidth | Width of left border. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiCopyWrapBorder_32f_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
1 channel 32-bit floating point image copy with the borders wrapped by replication of source image pixel colors with alpha channel unaffected. See nppiCopyWrapBorder_32f_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyWrapBorder_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSizeROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSizeROI | Size of the source region-of-interest. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
System.Int32 | nTopBorderHeight | Height of top border. |
System.Int32 | nLeftBorderWidth | Width of left border. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiCopyWrapBorder_32f_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
1 channel 32-bit floating point image copy with the borders wrapped by replication of source image pixel colors.
Declaration
public static NppStatus nppiCopyWrapBorder_32f_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSizeROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSizeROI | Size of the source region of pixels. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size (width, height) of the destination region, i.e. the region that gets filled with |
System.Int32 | nTopBorderHeight | Height (in pixels) of the top border. The number of pixel rows at the top of the |
System.Int32 | nLeftBorderWidth | Width (in pixels) of the left border. The width of the border at the right side of the |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiCopyWrapBorder_32f_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
3 channel 32-bit floating point image copy with the borders wrapped by replication of source image pixel colors. See nppiCopyWrapBorder_32f_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyWrapBorder_32f_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSizeROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSizeROI | Size of the source region-of-interest. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
System.Int32 | nTopBorderHeight | Height of top border. |
System.Int32 | nLeftBorderWidth | Width of left border. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiCopyWrapBorder_32f_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
4 channel 32-bit floating point image copy with the borders wrapped by replication of source image pixel colors. See nppiCopyWrapBorder_32f_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyWrapBorder_32f_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSizeROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSizeROI | Size of the source region-of-interest. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
System.Int32 | nTopBorderHeight | Height of top border. |
System.Int32 | nLeftBorderWidth | Width of left border. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiCopyWrapBorder_32s_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
4 channel 32-bit signed integer image copy with the borders wrapped by replication of source image pixel colors with alpha channel unaffected. See nppiCopyWrapBorder_32s_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyWrapBorder_32s_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSizeROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSizeROI | Size of the source region-of-interest. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
System.Int32 | nTopBorderHeight | Height of top border. |
System.Int32 | nLeftBorderWidth | Width of left border. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiCopyWrapBorder_32s_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
1 channel 32-bit signed integer image copy with the borders wrapped by replication of source image pixel colors.
Declaration
public static NppStatus nppiCopyWrapBorder_32s_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSizeROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSizeROI | Size of the source region of pixels. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size (width, height) of the destination region, i.e. the region that gets filled with |
System.Int32 | nTopBorderHeight | Height (in pixels) of the top border. The number of pixel rows at the top of the |
System.Int32 | nLeftBorderWidth | Width (in pixels) of the left border. The width of the border at the right side of the |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiCopyWrapBorder_32s_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
3 channel 32-bit signed integer image copy with the borders wrapped by replication of source image pixel colors. See nppiCopyWrapBorder_32s_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyWrapBorder_32s_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSizeROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSizeROI | Size of the source region-of-interest. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
System.Int32 | nTopBorderHeight | Height of top border. |
System.Int32 | nLeftBorderWidth | Width of left border. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiCopyWrapBorder_32s_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
4 channel 32-bit signed integer image copy with the borders wrapped by replication of source image pixel colors. See nppiCopyWrapBorder_32s_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyWrapBorder_32s_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSizeROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSizeROI | Size of the source region-of-interest. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
System.Int32 | nTopBorderHeight | Height of top border. |
System.Int32 | nLeftBorderWidth | Width of left border. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiCopyWrapBorder_8u_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
4 channel 8-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors with alpha channel unaffected. See nppiCopyWrapBorder_8u_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyWrapBorder_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSizeROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSizeROI | Size of the source region-of-interest. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
System.Int32 | nTopBorderHeight | Height of top border. |
System.Int32 | nLeftBorderWidth | Width of left border. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiCopyWrapBorder_8u_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
1 channel 8-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors.
Declaration
public static NppStatus nppiCopyWrapBorder_8u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSizeROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSizeROI | Size of the source region of pixels. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size (width, height) of the destination region, i.e. the region that gets filled with |
System.Int32 | nTopBorderHeight | Height (in pixels) of the top border. The number of pixel rows at the top of the |
System.Int32 | nLeftBorderWidth | Width (in pixels) of the left border. The width of the border at the right side of the |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiCopyWrapBorder_8u_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
3 channel 8-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors. See nppiCopyWrapBorder_8u_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyWrapBorder_8u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSizeROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSizeROI | Size of the source region-of-interest. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
System.Int32 | nTopBorderHeight | Height of top border. |
System.Int32 | nLeftBorderWidth | Width of left border. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiCopyWrapBorder_8u_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
4 channel 8-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors. See nppiCopyWrapBorder_8u_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyWrapBorder_8u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSizeROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSizeROI | Size of the source region-of-interest. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Size of the destination region-of-interest. |
System.Int32 | nTopBorderHeight | Height of top border. |
System.Int32 | nLeftBorderWidth | Width of left border. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |