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

Filters the image using a sharpening filter kernel: More...

Functions

NppStatus  nppiFilterSharpen_8u_C1R_Ctx (const Npp8u *pSrc, Npp32s nSrcStep, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Single channel 8-bit unsigned sharpening filter. More...
 
NppStatus  nppiFilterSharpen_8u_C1R (const Npp8u *pSrc, Npp32s nSrcStep, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiFilterSharpen_8u_C3R_Ctx (const Npp8u *pSrc, Npp32s nSrcStep, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Three channel 8-bit unsigned sharpening filter. More...
 
NppStatus  nppiFilterSharpen_8u_C3R (const Npp8u *pSrc, Npp32s nSrcStep, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiFilterSharpen_8u_C4R_Ctx (const Npp8u *pSrc, Npp32s nSrcStep, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Four channel 8-bit unsigned sharpening filter. More...
 
NppStatus  nppiFilterSharpen_8u_C4R (const Npp8u *pSrc, Npp32s nSrcStep, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiFilterSharpen_8u_AC4R_Ctx (const Npp8u *pSrc, Npp32s nSrcStep, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Four channel 8-bit unsigned sharpening filter, ignoring alpha channel. More...
 
NppStatus  nppiFilterSharpen_8u_AC4R (const Npp8u *pSrc, Npp32s nSrcStep, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiFilterSharpen_16u_C1R_Ctx (const Npp16u *pSrc, Npp32s nSrcStep, Npp16u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Single channel 16-bit unsigned sharpening filter. More...
 
NppStatus  nppiFilterSharpen_16u_C1R (const Npp16u *pSrc, Npp32s nSrcStep, Npp16u *pDst, Npp32s nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiFilterSharpen_16u_C3R_Ctx (const Npp16u *pSrc, Npp32s nSrcStep, Npp16u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Three channel 16-bit unsigned sharpening filter. More...
 
NppStatus  nppiFilterSharpen_16u_C3R (const Npp16u *pSrc, Npp32s nSrcStep, Npp16u *pDst, Npp32s nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiFilterSharpen_16u_C4R_Ctx (const Npp16u *pSrc, Npp32s nSrcStep, Npp16u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Four channel 16-bit unsigned sharpening filter. More...
 
NppStatus  nppiFilterSharpen_16u_C4R (const Npp16u *pSrc, Npp32s nSrcStep, Npp16u *pDst, Npp32s nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiFilterSharpen_16u_AC4R_Ctx (const Npp16u *pSrc, Npp32s nSrcStep, Npp16u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Four channel 16-bit unsigned sharpening filter, ignoring alpha channel. More...
 
NppStatus  nppiFilterSharpen_16u_AC4R (const Npp16u *pSrc, Npp32s nSrcStep, Npp16u *pDst, Npp32s nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiFilterSharpen_16s_C1R_Ctx (const Npp16s *pSrc, Npp32s nSrcStep, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Single channel 16-bit signed sharpening filter. More...
 
NppStatus  nppiFilterSharpen_16s_C1R (const Npp16s *pSrc, Npp32s nSrcStep, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiFilterSharpen_16s_C3R_Ctx (const Npp16s *pSrc, Npp32s nSrcStep, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Three channel 16-bit signed sharpening filter. More...
 
NppStatus  nppiFilterSharpen_16s_C3R (const Npp16s *pSrc, Npp32s nSrcStep, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiFilterSharpen_16s_C4R_Ctx (const Npp16s *pSrc, Npp32s nSrcStep, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Four channel 16-bit signed sharpening filter. More...
 
NppStatus  nppiFilterSharpen_16s_C4R (const Npp16s *pSrc, Npp32s nSrcStep, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiFilterSharpen_16s_AC4R_Ctx (const Npp16s *pSrc, Npp32s nSrcStep, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Four channel 16-bit signed sharpening filter, ignoring alpha channel. More...
 
NppStatus  nppiFilterSharpen_16s_AC4R (const Npp16s *pSrc, Npp32s nSrcStep, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiFilterSharpen_32f_C1R_Ctx (const Npp32f *pSrc, Npp32s nSrcStep, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Single channel 32-bit floating-point sharpening filter. More...
 
NppStatus  nppiFilterSharpen_32f_C1R (const Npp32f *pSrc, Npp32s nSrcStep, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiFilterSharpen_32f_C3R_Ctx (const Npp32f *pSrc, Npp32s nSrcStep, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Three channel 32-bit floating-point sharpening filter. More...
 
NppStatus  nppiFilterSharpen_32f_C3R (const Npp32f *pSrc, Npp32s nSrcStep, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiFilterSharpen_32f_C4R_Ctx (const Npp32f *pSrc, Npp32s nSrcStep, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Four channel 32-bit floating-point sharpening filter. More...
 
NppStatus  nppiFilterSharpen_32f_C4R (const Npp32f *pSrc, Npp32s nSrcStep, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiFilterSharpen_32f_AC4R_Ctx (const Npp32f *pSrc, Npp32s nSrcStep, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Four channel 32-bit floating-point sharpening filter, ignoring alpha channel. More...
 
NppStatus  nppiFilterSharpen_32f_AC4R (const Npp32f *pSrc, Npp32s nSrcStep, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI)
 

Detailed Description

Filters the image using a sharpening filter kernel:

Common parameters for nppiFilterSharpen functions include:

Parameters
pSrc Source-Image Pointer.
nSrcStep Source-Image Line Step.
pDst Destination-Image Pointer.
nDstStep Destination-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nppStreamCtx Application Managed Stream Context.
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 nppiFilterSharpen_16s_AC4R ( const Npp16s pSrc,
Npp32s  nSrcStep,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiFilterSharpen_16s_AC4R_Ctx ( const Npp16s pSrc,
Npp32s  nSrcStep,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

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

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

NppStatus nppiFilterSharpen_16s_C1R ( const Npp16s pSrc,
Npp32s  nSrcStep,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiFilterSharpen_16s_C1R_Ctx ( const Npp16s pSrc,
Npp32s  nSrcStep,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Single channel 16-bit signed sharpening filter.

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

NppStatus nppiFilterSharpen_16s_C3R ( const Npp16s pSrc,
Npp32s  nSrcStep,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiFilterSharpen_16s_C3R_Ctx ( const Npp16s pSrc,
Npp32s  nSrcStep,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Three channel 16-bit signed sharpening filter.

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

NppStatus nppiFilterSharpen_16s_C4R ( const Npp16s pSrc,
Npp32s  nSrcStep,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiFilterSharpen_16s_C4R_Ctx ( const Npp16s pSrc,
Npp32s  nSrcStep,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four channel 16-bit signed sharpening filter.

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

NppStatus nppiFilterSharpen_16u_AC4R ( const Npp16u pSrc,
Npp32s  nSrcStep,
Npp16u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiFilterSharpen_16u_AC4R_Ctx ( const Npp16u pSrc,
Npp32s  nSrcStep,
Npp16u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

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

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

NppStatus nppiFilterSharpen_16u_C1R ( const Npp16u pSrc,
Npp32s  nSrcStep,
Npp16u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiFilterSharpen_16u_C1R_Ctx ( const Npp16u pSrc,
Npp32s  nSrcStep,
Npp16u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Single channel 16-bit unsigned sharpening filter.

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

NppStatus nppiFilterSharpen_16u_C3R ( const Npp16u pSrc,
Npp32s  nSrcStep,
Npp16u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiFilterSharpen_16u_C3R_Ctx ( const Npp16u pSrc,
Npp32s  nSrcStep,
Npp16u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Three channel 16-bit unsigned sharpening filter.

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

NppStatus nppiFilterSharpen_16u_C4R ( const Npp16u pSrc,
Npp32s  nSrcStep,
Npp16u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiFilterSharpen_16u_C4R_Ctx ( const Npp16u pSrc,
Npp32s  nSrcStep,
Npp16u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four channel 16-bit unsigned sharpening filter.

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

NppStatus nppiFilterSharpen_32f_AC4R ( const Npp32f pSrc,
Npp32s  nSrcStep,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiFilterSharpen_32f_AC4R_Ctx ( const Npp32f pSrc,
Npp32s  nSrcStep,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

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

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

NppStatus nppiFilterSharpen_32f_C1R ( const Npp32f pSrc,
Npp32s  nSrcStep,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiFilterSharpen_32f_C1R_Ctx ( const Npp32f pSrc,
Npp32s  nSrcStep,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit floating-point sharpening filter.

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

NppStatus nppiFilterSharpen_32f_C3R ( const Npp32f pSrc,
Npp32s  nSrcStep,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiFilterSharpen_32f_C3R_Ctx ( const Npp32f pSrc,
Npp32s  nSrcStep,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Three channel 32-bit floating-point sharpening filter.

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

NppStatus nppiFilterSharpen_32f_C4R ( const Npp32f pSrc,
Npp32s  nSrcStep,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiFilterSharpen_32f_C4R_Ctx ( const Npp32f pSrc,
Npp32s  nSrcStep,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four channel 32-bit floating-point sharpening filter.

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

NppStatus nppiFilterSharpen_8u_AC4R ( const Npp8u pSrc,
Npp32s  nSrcStep,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiFilterSharpen_8u_AC4R_Ctx ( const Npp8u pSrc,
Npp32s  nSrcStep,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

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

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

NppStatus nppiFilterSharpen_8u_C1R ( const Npp8u pSrc,
Npp32s  nSrcStep,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiFilterSharpen_8u_C1R_Ctx ( const Npp8u pSrc,
Npp32s  nSrcStep,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Single channel 8-bit unsigned sharpening filter.

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

NppStatus nppiFilterSharpen_8u_C3R ( const Npp8u pSrc,
Npp32s  nSrcStep,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiFilterSharpen_8u_C3R_Ctx ( const Npp8u pSrc,
Npp32s  nSrcStep,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Three channel 8-bit unsigned sharpening filter.

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

NppStatus nppiFilterSharpen_8u_C4R ( const Npp8u pSrc,
Npp32s  nSrcStep,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiFilterSharpen_8u_C4R_Ctx ( const Npp8u pSrc,
Npp32s  nSrcStep,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four channel 8-bit unsigned sharpening filter.

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