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

Filters the image using a Scharr filter kernel with border control. More...

FilterScharrHorizBorder

Filters the image using a horizontal Scharr filter kernel with border control:

\[ \left( \begin{array}{rrr} 3 & 10 & 3 \\ 0 & 0 & 0 \\ -3 & -10 & -3 \\ \end{array} \right) \]

NppStatus nppiFilterScharrHorizBorder_8u16s_C1R_Ctx (const Npp8u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType, NppStreamContext nppStreamCtx)
 Single channel 8-bit unsigned to 16-bit signed horizontal Scharr filter kernel with border control. More...
 
NppStatus nppiFilterScharrHorizBorder_8u16s_C1R (const Npp8u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 
NppStatus nppiFilterScharrHorizBorder_8s16s_C1R_Ctx (const Npp8s *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType, NppStreamContext nppStreamCtx)
 Single channel 8-bit signed to 16-bit signed horizontal Scharr filter kernel with border control. More...
 
NppStatus nppiFilterScharrHorizBorder_8s16s_C1R (const Npp8s *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 
NppStatus nppiFilterScharrHorizBorder_32f_C1R_Ctx (const Npp32f *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType, NppStreamContext nppStreamCtx)
 Single channel 32-bit floating-point horizontal Scharr filter kernel with border control. More...
 
NppStatus nppiFilterScharrHorizBorder_32f_C1R (const Npp32f *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 

FilterScharrVertBorder

Filters the image using a vertical Scharr filter kernel kernel with border control:

\[ \left( \begin{array}{rrr} -3 & 0 & 3 \\ -10 & 0 & 10 \\ -3 & 0 & 3 \\ \end{array} \right) \]

NppStatus nppiFilterScharrVertBorder_8u16s_C1R_Ctx (const Npp8u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType, NppStreamContext nppStreamCtx)
 Single channel 8-bit unsigned to 16-bit signed vertical Scharr filter kernel with border control. More...
 
NppStatus nppiFilterScharrVertBorder_8u16s_C1R (const Npp8u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 
NppStatus nppiFilterScharrVertBorder_8s16s_C1R_Ctx (const Npp8s *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType, NppStreamContext nppStreamCtx)
 Single channel 8-bit signed to 16-bit signed vertical Scharr filter kernel with border control. More...
 
NppStatus nppiFilterScharrVertBorder_8s16s_C1R (const Npp8s *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 
NppStatus nppiFilterScharrVertBorder_32f_C1R_Ctx (const Npp32f *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType, NppStreamContext nppStreamCtx)
 Single channel 32-bit floating-point vertical Scharr filter kernel with border control. More...
 
NppStatus nppiFilterScharrVertBorder_32f_C1R (const Npp32f *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 

Detailed Description

Filters the image using a Scharr filter kernel with border control.

Common parameters for nppiFilterScharrBorder functions include:

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
oSrcSizeSource image width and height in pixels relative to pSrc.
oSrcOffsetThe pixel offset that pSrc points to relative to the origin of the source image.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
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 nppiFilterScharrHorizBorder_32f_C1R ( const Npp32f pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType 
)
NppStatus nppiFilterScharrHorizBorder_32f_C1R_Ctx ( const Npp32f pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit floating-point horizontal Scharr filter kernel with border control.

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

NppStatus nppiFilterScharrHorizBorder_8s16s_C1R ( const Npp8s pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType 
)
NppStatus nppiFilterScharrHorizBorder_8s16s_C1R_Ctx ( const Npp8s pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType,
NppStreamContext  nppStreamCtx 
)

Single channel 8-bit signed to 16-bit signed horizontal Scharr filter kernel with border control.

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

NppStatus nppiFilterScharrHorizBorder_8u16s_C1R ( const Npp8u pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType 
)
NppStatus nppiFilterScharrHorizBorder_8u16s_C1R_Ctx ( const Npp8u pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType,
NppStreamContext  nppStreamCtx 
)

Single channel 8-bit unsigned to 16-bit signed horizontal Scharr filter kernel with border control.

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

NppStatus nppiFilterScharrVertBorder_32f_C1R ( const Npp32f pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType 
)
NppStatus nppiFilterScharrVertBorder_32f_C1R_Ctx ( const Npp32f pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit floating-point vertical Scharr filter kernel with border control.

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

NppStatus nppiFilterScharrVertBorder_8s16s_C1R ( const Npp8s pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType 
)
NppStatus nppiFilterScharrVertBorder_8s16s_C1R_Ctx ( const Npp8s pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType,
NppStreamContext  nppStreamCtx 
)

Single channel 8-bit signed to 16-bit signed vertical Scharr filter kernel with border control.

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

NppStatus nppiFilterScharrVertBorder_8u16s_C1R ( const Npp8u pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType 
)
NppStatus nppiFilterScharrVertBorder_8u16s_C1R_Ctx ( const Npp8u pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType,
NppStreamContext  nppStreamCtx 
)

Single channel 8-bit unsigned to 16-bit signed vertical Scharr filter kernel with border control.

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


Copyright © 2009-2020 NVIDIA Corporation