NVIDIA 2D Image And Signal Performance Primitives (NPP)  Version 11.7.1.*
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions
Erosion with border control

Erosion computes the output pixel as the minimum pixel value of the pixels under the mask. More...

Functions

NppStatus nppiErodeBorder_8u_C1R_Ctx (const Npp8u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType, NppStreamContext nppStreamCtx)
 Single-channel 8-bit unsigned integer erosion with border control. More...
 
NppStatus nppiErodeBorder_8u_C1R (const Npp8u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
 
NppStatus nppiErodeBorder_8u_C3R_Ctx (const Npp8u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType, NppStreamContext nppStreamCtx)
 Three-channel 8-bit unsigned integer erosion with border control. More...
 
NppStatus nppiErodeBorder_8u_C3R (const Npp8u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
 
NppStatus nppiErodeBorder_8u_C4R_Ctx (const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType, NppStreamContext nppStreamCtx)
 Four-channel 8-bit unsigned integer erosion with border control. More...
 
NppStatus nppiErodeBorder_8u_C4R (const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
 
NppStatus nppiErodeBorder_8u_AC4R_Ctx (const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType, NppStreamContext nppStreamCtx)
 Four-channel 8-bit unsigned integer erosion with border control, ignoring alpha-channel. More...
 
NppStatus nppiErodeBorder_8u_AC4R (const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
 
NppStatus nppiErodeBorder_16u_C1R_Ctx (const Npp16u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16u *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType, NppStreamContext nppStreamCtx)
 Single-channel 16-bit unsigned integer erosion with border control. More...
 
NppStatus nppiErodeBorder_16u_C1R (const Npp16u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16u *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
 
NppStatus nppiErodeBorder_16u_C3R_Ctx (const Npp16u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16u *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType, NppStreamContext nppStreamCtx)
 Three-channel 16-bit unsigned integer erosion with border control. More...
 
NppStatus nppiErodeBorder_16u_C3R (const Npp16u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16u *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
 
NppStatus nppiErodeBorder_16u_C4R_Ctx (const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType, NppStreamContext nppStreamCtx)
 Four-channel 16-bit unsigned integer erosion with border control. More...
 
NppStatus nppiErodeBorder_16u_C4R (const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
 
NppStatus nppiErodeBorder_16u_AC4R_Ctx (const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType, NppStreamContext nppStreamCtx)
 Four-channel 16-bit unsigned integer erosion with border control, ignoring alpha-channel. More...
 
NppStatus nppiErodeBorder_16u_AC4R (const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
 
NppStatus nppiErodeBorder_32f_C1R_Ctx (const Npp32f *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType, NppStreamContext nppStreamCtx)
 Single-channel 32-bit floating-point erosion with border control. More...
 
NppStatus nppiErodeBorder_32f_C1R (const Npp32f *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
 
NppStatus nppiErodeBorder_32f_C3R_Ctx (const Npp32f *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType, NppStreamContext nppStreamCtx)
 Three-channel 32-bit floating-point erosion with border control. More...
 
NppStatus nppiErodeBorder_32f_C3R (const Npp32f *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
 
NppStatus nppiErodeBorder_32f_C4R_Ctx (const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType, NppStreamContext nppStreamCtx)
 Four-channel 32-bit floating-point erosion with border control. More...
 
NppStatus nppiErodeBorder_32f_C4R (const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
 
NppStatus nppiErodeBorder_32f_AC4R_Ctx (const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType, NppStreamContext nppStreamCtx)
 Four-channel 32-bit floating-point erosion with border control, ignoring alpha-channel. More...
 
NppStatus nppiErodeBorder_32f_AC4R (const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
 
NppStatus nppiGrayErodeBorder_8u_C1R_Ctx (const Npp8u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp32s *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType, NppStreamContext nppStreamCtx)
 Single-channel 8-bit unsigned integer gray scale erosion with border control. More...
 
NppStatus nppiGrayErodeBorder_8u_C1R (const Npp8u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp32s *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
 
NppStatus nppiGrayErodeBorder_32f_C1R_Ctx (const Npp32f *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp32f *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType, NppStreamContext nppStreamCtx)
 Single-channel 32-bit floating point gray scale erosion with border control. More...
 
NppStatus nppiGrayErodeBorder_32f_C1R (const Npp32f *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp32f *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
 

Detailed Description

Erosion computes the output pixel as the minimum pixel value of the pixels under the mask.

Pixels who's corresponding mask values are zero do not participate in the minimum search. For gray scale erosion the mask contains signed mask values which are added to the corresponding source image sample value before determining the minimum value after clamping.

If any portion of the mask overlaps the source image boundary the requested border type operation is applied to all mask pixels which fall outside of the source image.

Currently only the NPP_BORDER_REPLICATE border type operation is supported.

Common parameters for nppiErodeBorder functions include:

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
oSrcSizeSource image width and height in pixels relative to pSrc.
oSrcOffsetSource image starting point relative to pSrc.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
pMaskPointer to the start address of the mask array
oMaskSizeWidth and Height mask array.
oAnchorX and Y offsets of the mask origin frame of reference w.r.t the source pixel.
eBorderTypeThe border type operation to be applied at source image border boundaries.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes

Function Documentation

NppStatus nppiErodeBorder_16u_AC4R ( const Npp16u pSrc,
int  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType 
)
NppStatus nppiErodeBorder_16u_AC4R_Ctx ( const Npp16u pSrc,
int  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType,
NppStreamContext  nppStreamCtx 
)

Four-channel 16-bit unsigned integer erosion with border control, ignoring alpha-channel.

For common parameter descriptions, see Common parameters for nppiErodeBorder functions.

NppStatus nppiErodeBorder_16u_C1R ( const Npp16u pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType 
)
NppStatus nppiErodeBorder_16u_C1R_Ctx ( const Npp16u pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType,
NppStreamContext  nppStreamCtx 
)

Single-channel 16-bit unsigned integer erosion with border control.

For common parameter descriptions, see Common parameters for nppiErodeBorder functions.

NppStatus nppiErodeBorder_16u_C3R ( const Npp16u pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType 
)
NppStatus nppiErodeBorder_16u_C3R_Ctx ( const Npp16u pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType,
NppStreamContext  nppStreamCtx 
)

Three-channel 16-bit unsigned integer erosion with border control.

For common parameter descriptions, see Common parameters for nppiErodeBorder functions.

NppStatus nppiErodeBorder_16u_C4R ( const Npp16u pSrc,
int  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType 
)
NppStatus nppiErodeBorder_16u_C4R_Ctx ( const Npp16u pSrc,
int  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType,
NppStreamContext  nppStreamCtx 
)

Four-channel 16-bit unsigned integer erosion with border control.

For common parameter descriptions, see Common parameters for nppiErodeBorder functions.

NppStatus nppiErodeBorder_32f_AC4R ( const Npp32f pSrc,
int  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType 
)
NppStatus nppiErodeBorder_32f_AC4R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType,
NppStreamContext  nppStreamCtx 
)

Four-channel 32-bit floating-point erosion with border control, ignoring alpha-channel.

For common parameter descriptions, see Common parameters for nppiErodeBorder functions.

NppStatus nppiErodeBorder_32f_C1R ( const Npp32f pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType 
)
NppStatus nppiErodeBorder_32f_C1R_Ctx ( const Npp32f pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType,
NppStreamContext  nppStreamCtx 
)

Single-channel 32-bit floating-point erosion with border control.

For common parameter descriptions, see Common parameters for nppiErodeBorder functions.

NppStatus nppiErodeBorder_32f_C3R ( const Npp32f pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType 
)
NppStatus nppiErodeBorder_32f_C3R_Ctx ( const Npp32f pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType,
NppStreamContext  nppStreamCtx 
)

Three-channel 32-bit floating-point erosion with border control.

For common parameter descriptions, see Common parameters for nppiErodeBorder functions.

NppStatus nppiErodeBorder_32f_C4R ( const Npp32f pSrc,
int  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType 
)
NppStatus nppiErodeBorder_32f_C4R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType,
NppStreamContext  nppStreamCtx 
)

Four-channel 32-bit floating-point erosion with border control.

For common parameter descriptions, see Common parameters for nppiErodeBorder functions.

NppStatus nppiErodeBorder_8u_AC4R ( const Npp8u pSrc,
int  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType 
)
NppStatus nppiErodeBorder_8u_AC4R_Ctx ( const Npp8u pSrc,
int  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType,
NppStreamContext  nppStreamCtx 
)

Four-channel 8-bit unsigned integer erosion with border control, ignoring alpha-channel.

For common parameter descriptions, see Common parameters for nppiErodeBorder functions.

NppStatus nppiErodeBorder_8u_C1R ( const Npp8u pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType 
)
NppStatus nppiErodeBorder_8u_C1R_Ctx ( const Npp8u pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType,
NppStreamContext  nppStreamCtx 
)

Single-channel 8-bit unsigned integer erosion with border control.

For common parameter descriptions, see Common parameters for nppiErodeBorder functions.

NppStatus nppiErodeBorder_8u_C3R ( const Npp8u pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType 
)
NppStatus nppiErodeBorder_8u_C3R_Ctx ( const Npp8u pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType,
NppStreamContext  nppStreamCtx 
)

Three-channel 8-bit unsigned integer erosion with border control.

For common parameter descriptions, see Common parameters for nppiErodeBorder functions.

NppStatus nppiErodeBorder_8u_C4R ( const Npp8u pSrc,
int  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType 
)
NppStatus nppiErodeBorder_8u_C4R_Ctx ( const Npp8u pSrc,
int  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType,
NppStreamContext  nppStreamCtx 
)

Four-channel 8-bit unsigned integer erosion with border control.

For common parameter descriptions, see Common parameters for nppiErodeBorder functions.

NppStatus nppiGrayErodeBorder_32f_C1R ( const Npp32f pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp32f pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType 
)
NppStatus nppiGrayErodeBorder_32f_C1R_Ctx ( const Npp32f pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp32f pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType,
NppStreamContext  nppStreamCtx 
)

Single-channel 32-bit floating point gray scale erosion with border control.

For common parameter descriptions, see Common parameters for nppiErodeBorder functions.

NppStatus nppiGrayErodeBorder_8u_C1R ( const Npp8u pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp32s pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType 
)
NppStatus nppiGrayErodeBorder_8u_C1R_Ctx ( const Npp8u pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp32s pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppiBorderType  eBorderType,
NppStreamContext  nppStreamCtx 
)

Single-channel 8-bit unsigned integer gray scale erosion with border control.

For common parameter descriptions, see Common parameters for nppiErodeBorder functions.


Copyright © 2009-2022 NVIDIA CORPORATION AND AFFILIATES