Class NPPNativeMethods.NPPi.CopyReplicateBorder
Methods for copying images and padding borders with a replicates of the nearest source image pixel color.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class CopyReplicateBorder
Methods
nppiCopyReplicateBorder_16s_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
4 channel 16-bit signed integer image copy with nearest source image pixel color with alpha channel unaffected. See nppiCopyReplicateBorder_16s_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyReplicateBorder_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 |
nppiCopyReplicateBorder_16s_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
1 channel 16-bit signed integer image copy with nearest source image pixel color.
Declaration
public static NppStatus nppiCopyReplicateBorder_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 |
nppiCopyReplicateBorder_16s_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
3 channel 16-bit signed integer image copy with nearest source image pixel color. See nppiCopyReplicateBorder_16s_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyReplicateBorder_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 |
nppiCopyReplicateBorder_16s_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
4 channel 16-bit signed integer image copy with nearest source image pixel color. See nppiCopyReplicateBorder_16s_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyReplicateBorder_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 |
nppiCopyReplicateBorder_16u_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
4 channel 16-bit unsigned image copy with nearest source image pixel color with alpha channel unaffected. See nppiCopyReplicateBorder_16u_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyReplicateBorder_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 |
nppiCopyReplicateBorder_16u_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
1 channel 16-bit unsigned integer image copy with nearest source image pixel color.
Declaration
public static NppStatus nppiCopyReplicateBorder_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 |
nppiCopyReplicateBorder_16u_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
3 channel 16-bit unsigned integer image copy with nearest source image pixel color. See nppiCopyReplicateBorder_16u_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyReplicateBorder_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 |
nppiCopyReplicateBorder_16u_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
4 channel 16-bit unsigned integer image copy with nearest source image pixel color. See nppiCopyReplicateBorder_16u_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyReplicateBorder_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 |
nppiCopyReplicateBorder_32f_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
4 channel 32-bit floating point image copy with nearest source image pixel color with alpha channel unaffected. See nppiCopyReplicateBorder_32f_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyReplicateBorder_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 |
nppiCopyReplicateBorder_32f_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
1 channel 32-bit floating point image copy with nearest source image pixel color.
Declaration
public static NppStatus nppiCopyReplicateBorder_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 |
nppiCopyReplicateBorder_32f_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
3 channel 32-bit floating point image copy with nearest source image pixel color. See nppiCopyReplicateBorder_32f_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyReplicateBorder_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 |
nppiCopyReplicateBorder_32f_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
4 channel 32-bit floating point image copy with nearest source image pixel color. See nppiCopyReplicateBorder_32f_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyReplicateBorder_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 |
nppiCopyReplicateBorder_32s_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
4 channel 32-bit signed integer image copy with nearest source image pixel color with alpha channel unaffected. See nppiCopyReplicateBorder_32s_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyReplicateBorder_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 |
nppiCopyReplicateBorder_32s_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
1 channel 32-bit signed integer image copy with nearest source image pixel color.
Declaration
public static NppStatus nppiCopyReplicateBorder_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 |
nppiCopyReplicateBorder_32s_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
3 channel 32-bit signed image copy with nearest source image pixel color. See nppiCopyReplicateBorder_32s_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyReplicateBorder_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 |
nppiCopyReplicateBorder_32s_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
4 channel 32-bit signed integer image copy with nearest source image pixel color. See nppiCopyReplicateBorder_32s_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyReplicateBorder_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 |
nppiCopyReplicateBorder_8u_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
4 channel 8-bit unsigned integer image copy with nearest source image pixel color with alpha channel unaffected. See nppiCopyReplicateBorder_8u_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyReplicateBorder_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 |
nppiCopyReplicateBorder_8u_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
1 channel 8-bit unsigned integer image copy with nearest source image pixel color.
Declaration
public static NppStatus nppiCopyReplicateBorder_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 |
nppiCopyReplicateBorder_8u_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
3 channel 8-bit unsigned integer image copy with nearest source image pixel color. See nppiCopyReplicateBorder_8u_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyReplicateBorder_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 |
nppiCopyReplicateBorder_8u_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, Int32, NppiSize, Int32, Int32)
4 channel 8-bit unsigned integer image copy with nearest source image pixel color. See nppiCopyReplicateBorder_8u_C1R() for detailed documentation.
Declaration
public static NppStatus nppiCopyReplicateBorder_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 |