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

Dilation computes the output pixel as the maximum pixel value of the pixels under the mask. More...

Functions

NppStatus nppiDilate_8u_C1R_Ctx (const Npp8u *pSrc, Npp32s nSrcStep, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppStreamContext nppStreamCtx)
 Single-channel 8-bit unsigned integer dilation. More...
 
NppStatus nppiDilate_8u_C1R (const Npp8u *pSrc, Npp32s nSrcStep, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor)
 
NppStatus nppiDilate_8u_C3R_Ctx (const Npp8u *pSrc, Npp32s nSrcStep, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppStreamContext nppStreamCtx)
 Three-channel 8-bit unsigned integer dilation. More...
 
NppStatus nppiDilate_8u_C3R (const Npp8u *pSrc, Npp32s nSrcStep, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor)
 
NppStatus nppiDilate_8u_C4R_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppStreamContext nppStreamCtx)
 Four-channel 8-bit unsigned integer dilation. More...
 
NppStatus nppiDilate_8u_C4R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor)
 
NppStatus nppiDilate_8u_AC4R_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppStreamContext nppStreamCtx)
 Four-channel 8-bit unsigned integer dilation, ignoring alpha-channel. More...
 
NppStatus nppiDilate_8u_AC4R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor)
 
NppStatus nppiDilate_16u_C1R_Ctx (const Npp16u *pSrc, Npp32s nSrcStep, Npp16u *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppStreamContext nppStreamCtx)
 Single-channel 16-bit unsigned integer dilation. More...
 
NppStatus nppiDilate_16u_C1R (const Npp16u *pSrc, Npp32s nSrcStep, Npp16u *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor)
 
NppStatus nppiDilate_16u_C3R_Ctx (const Npp16u *pSrc, Npp32s nSrcStep, Npp16u *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppStreamContext nppStreamCtx)
 Three-channel 16-bit unsigned integer dilation. More...
 
NppStatus nppiDilate_16u_C3R (const Npp16u *pSrc, Npp32s nSrcStep, Npp16u *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor)
 
NppStatus nppiDilate_16u_C4R_Ctx (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppStreamContext nppStreamCtx)
 Four-channel 16-bit unsigned integer dilation. More...
 
NppStatus nppiDilate_16u_C4R (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor)
 
NppStatus nppiDilate_16u_AC4R_Ctx (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppStreamContext nppStreamCtx)
 Four-channel 16-bit unsigned integer dilation, ignoring alpha-channel. More...
 
NppStatus nppiDilate_16u_AC4R (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor)
 
NppStatus nppiDilate_32f_C1R_Ctx (const Npp32f *pSrc, Npp32s nSrcStep, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppStreamContext nppStreamCtx)
 Single-channel 32-bit floating-point dilation. More...
 
NppStatus nppiDilate_32f_C1R (const Npp32f *pSrc, Npp32s nSrcStep, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor)
 
NppStatus nppiDilate_32f_C3R_Ctx (const Npp32f *pSrc, Npp32s nSrcStep, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppStreamContext nppStreamCtx)
 Three-channel 32-bit floating-point dilation. More...
 
NppStatus nppiDilate_32f_C3R (const Npp32f *pSrc, Npp32s nSrcStep, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor)
 
NppStatus nppiDilate_32f_C4R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppStreamContext nppStreamCtx)
 Four-channel 32-bit floating-point dilation. More...
 
NppStatus nppiDilate_32f_C4R (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor)
 
NppStatus nppiDilate_32f_AC4R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppStreamContext nppStreamCtx)
 Four-channel 32-bit floating-point dilation, ignoring alpha-channel. More...
 
NppStatus nppiDilate_32f_AC4R (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, NppiSize oMaskSize, NppiPoint oAnchor)
 

Detailed Description

Dilation computes the output pixel as the maximum pixel value of the pixels under the mask.

Pixels who's corresponding mask values are zero do not participate in the maximum search.

It is the user's responsibility to avoid Sampling Beyond Image Boundaries.

Common parameters for nppiDilate functions include:

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
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.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes

Function Documentation

NppStatus nppiDilate_16u_AC4R ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor 
)
NppStatus nppiDilate_16u_AC4R_Ctx ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppStreamContext  nppStreamCtx 
)

Four-channel 16-bit unsigned integer dilation, ignoring alpha-channel.

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

NppStatus nppiDilate_16u_C1R ( const Npp16u pSrc,
Npp32s  nSrcStep,
Npp16u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor 
)
NppStatus nppiDilate_16u_C1R_Ctx ( const Npp16u pSrc,
Npp32s  nSrcStep,
Npp16u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppStreamContext  nppStreamCtx 
)

Single-channel 16-bit unsigned integer dilation.

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

NppStatus nppiDilate_16u_C3R ( const Npp16u pSrc,
Npp32s  nSrcStep,
Npp16u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor 
)
NppStatus nppiDilate_16u_C3R_Ctx ( const Npp16u pSrc,
Npp32s  nSrcStep,
Npp16u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppStreamContext  nppStreamCtx 
)

Three-channel 16-bit unsigned integer dilation.

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

NppStatus nppiDilate_16u_C4R ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor 
)
NppStatus nppiDilate_16u_C4R_Ctx ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppStreamContext  nppStreamCtx 
)

Four-channel 16-bit unsigned integer dilation.

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

NppStatus nppiDilate_32f_AC4R ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor 
)
NppStatus nppiDilate_32f_AC4R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppStreamContext  nppStreamCtx 
)

Four-channel 32-bit floating-point dilation, ignoring alpha-channel.

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

NppStatus nppiDilate_32f_C1R ( const Npp32f pSrc,
Npp32s  nSrcStep,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor 
)
NppStatus nppiDilate_32f_C1R_Ctx ( const Npp32f pSrc,
Npp32s  nSrcStep,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppStreamContext  nppStreamCtx 
)

Single-channel 32-bit floating-point dilation.

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

NppStatus nppiDilate_32f_C3R ( const Npp32f pSrc,
Npp32s  nSrcStep,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor 
)
NppStatus nppiDilate_32f_C3R_Ctx ( const Npp32f pSrc,
Npp32s  nSrcStep,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppStreamContext  nppStreamCtx 
)

Three-channel 32-bit floating-point dilation.

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

NppStatus nppiDilate_32f_C4R ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor 
)
NppStatus nppiDilate_32f_C4R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppStreamContext  nppStreamCtx 
)

Four-channel 32-bit floating-point dilation.

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

NppStatus nppiDilate_8u_AC4R ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor 
)
NppStatus nppiDilate_8u_AC4R_Ctx ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppStreamContext  nppStreamCtx 
)

Four-channel 8-bit unsigned integer dilation, ignoring alpha-channel.

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

NppStatus nppiDilate_8u_C1R ( const Npp8u pSrc,
Npp32s  nSrcStep,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor 
)
NppStatus nppiDilate_8u_C1R_Ctx ( const Npp8u pSrc,
Npp32s  nSrcStep,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppStreamContext  nppStreamCtx 
)

Single-channel 8-bit unsigned integer dilation.

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

NppStatus nppiDilate_8u_C3R ( const Npp8u pSrc,
Npp32s  nSrcStep,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor 
)
NppStatus nppiDilate_8u_C3R_Ctx ( const Npp8u pSrc,
Npp32s  nSrcStep,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppStreamContext  nppStreamCtx 
)

Three-channel 8-bit unsigned integer dilation.

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

NppStatus nppiDilate_8u_C4R ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor 
)
NppStatus nppiDilate_8u_C4R_Ctx ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
NppiSize  oMaskSize,
NppiPoint  oAnchor,
NppStreamContext  nppStreamCtx 
)

Four-channel 8-bit unsigned integer dilation.

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


Copyright © 2009-2022 NVIDIA CORPORATION AND AFFILIATES