NVIDIA Performance Primitives (NPP)  Version 9.1
Functions
FilterSharpenBorder

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

Functions

NppStatus nppiFilterSharpenBorder_8u_C1R (const Npp8u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Single channel 8-bit unsigned sharpening filter with border control. More...
 
NppStatus nppiFilterSharpenBorder_8u_C3R (const Npp8u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Three channel 8-bit unsigned sharpening filter with border control. More...
 
NppStatus nppiFilterSharpenBorder_8u_C4R (const Npp8u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Four channel 8-bit unsigned sharpening filter with border control. More...
 
NppStatus nppiFilterSharpenBorder_8u_AC4R (const Npp8u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Four channel 8-bit unsigned sharpening filter with border control, ignoring alpha channel. More...
 
NppStatus nppiFilterSharpenBorder_16u_C1R (const Npp16u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Single channel 16-bit unsigned sharpening filter with border control. More...
 
NppStatus nppiFilterSharpenBorder_16u_C3R (const Npp16u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Three channel 16-bit unsigned sharpening filter with border control. More...
 
NppStatus nppiFilterSharpenBorder_16u_C4R (const Npp16u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Four channel 16-bit unsigned sharpening filter with border control. More...
 
NppStatus nppiFilterSharpenBorder_16u_AC4R (const Npp16u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Four channel 16-bit unsigned sharpening filter with border control, ignoring alpha channel. More...
 
NppStatus nppiFilterSharpenBorder_16s_C1R (const Npp16s *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Single channel 16-bit signed sharpening filter with border control. More...
 
NppStatus nppiFilterSharpenBorder_16s_C3R (const Npp16s *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Three channel 16-bit signed sharpening filter with border control. More...
 
NppStatus nppiFilterSharpenBorder_16s_C4R (const Npp16s *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Four channel 16-bit signed sharpening filter with border control. More...
 
NppStatus nppiFilterSharpenBorder_16s_AC4R (const Npp16s *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Four channel 16-bit signed sharpening filter with border control, ignoring alpha channel. More...
 
NppStatus nppiFilterSharpenBorder_32f_C1R (const Npp32f *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Single channel 32-bit floating-point sharpening filter with border control. More...
 
NppStatus nppiFilterSharpenBorder_32f_C3R (const Npp32f *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Three channel 32-bit floating-point sharpening filter with border control. More...
 
NppStatus nppiFilterSharpenBorder_32f_C4R (const Npp32f *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Four channel 32-bit floating-point sharpening filter with border control. More...
 
NppStatus nppiFilterSharpenBorder_32f_AC4R (const Npp32f *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Four channel 32-bit floating-point sharpening filter with border control, ignoring alpha channel. More...
 

Detailed Description

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

If any portion of the 3x3 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 nppiFilterSharpenBorder 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.
Returns
Image Data Related Error Codes, ROI Related Error Codes

\[ \left( \begin{array}{rrr} -1/8 & -1/8 & -1/8 \\ -1/8 & 16/8 & -1/8 \\ -1/8 & -1/8 & -1/8 \\ \end{array} \right) \]

Function Documentation

NppStatus nppiFilterSharpenBorder_16s_AC4R ( const Npp16s pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType 
)

Four channel 16-bit signed sharpening filter with border control, ignoring alpha channel.

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

NppStatus nppiFilterSharpenBorder_16s_C1R ( const Npp16s pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType 
)

Single channel 16-bit signed sharpening filter with border control.

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

NppStatus nppiFilterSharpenBorder_16s_C3R ( const Npp16s pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType 
)

Three channel 16-bit signed sharpening filter with border control.

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

NppStatus nppiFilterSharpenBorder_16s_C4R ( const Npp16s pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType 
)

Four channel 16-bit signed sharpening filter with border control.

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

NppStatus nppiFilterSharpenBorder_16u_AC4R ( const Npp16u pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType 
)

Four channel 16-bit unsigned sharpening filter with border control, ignoring alpha channel.

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

NppStatus nppiFilterSharpenBorder_16u_C1R ( const Npp16u pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType 
)

Single channel 16-bit unsigned sharpening filter with border control.

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

NppStatus nppiFilterSharpenBorder_16u_C3R ( const Npp16u pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType 
)

Three channel 16-bit unsigned sharpening filter with border control.

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

NppStatus nppiFilterSharpenBorder_16u_C4R ( const Npp16u pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp16u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType 
)

Four channel 16-bit unsigned sharpening filter with border control.

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

NppStatus nppiFilterSharpenBorder_32f_AC4R ( const Npp32f pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType 
)

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

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

NppStatus nppiFilterSharpenBorder_32f_C1R ( const Npp32f pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType 
)

Single channel 32-bit floating-point sharpening filter with border control.

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

NppStatus nppiFilterSharpenBorder_32f_C3R ( const Npp32f pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType 
)

Three channel 32-bit floating-point sharpening filter with border control.

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

NppStatus nppiFilterSharpenBorder_32f_C4R ( const Npp32f pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType 
)

Four channel 32-bit floating-point sharpening filter with border control.

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

NppStatus nppiFilterSharpenBorder_8u_AC4R ( const Npp8u pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType 
)

Four channel 8-bit unsigned sharpening filter with border control, ignoring alpha channel.

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

NppStatus nppiFilterSharpenBorder_8u_C1R ( const Npp8u pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType 
)

Single channel 8-bit unsigned sharpening filter with border control.

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

NppStatus nppiFilterSharpenBorder_8u_C3R ( const Npp8u pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType 
)

Three channel 8-bit unsigned sharpening filter with border control.

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

NppStatus nppiFilterSharpenBorder_8u_C4R ( const Npp8u pSrc,
Npp32s  nSrcStep,
NppiSize  oSrcSize,
NppiPoint  oSrcOffset,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiBorderType  eBorderType 
)

Four channel 8-bit unsigned sharpening filter with border control.

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


Copyright © 2009-2017 NVIDIA Corporation