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

Filters the image using a Laplacian filter kernel. More...

Functions

NppStatus  nppiFilterLaplace_8u_C1R_Ctx (const Npp8u *pSrc, Npp32s nSrcStep, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize, NppStreamContext nppStreamCtx)
  Single channel 8-bit unsigned Laplace filter. More...
 
NppStatus  nppiFilterLaplace_8u_C1R (const Npp8u *pSrc, Npp32s nSrcStep, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize)
 
NppStatus  nppiFilterLaplace_8u_C3R_Ctx (const Npp8u *pSrc, Npp32s nSrcStep, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize, NppStreamContext nppStreamCtx)
  Three channel 8-bit unsigned Laplace filter. More...
 
NppStatus  nppiFilterLaplace_8u_C3R (const Npp8u *pSrc, Npp32s nSrcStep, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize)
 
NppStatus  nppiFilterLaplace_8u_C4R_Ctx (const Npp8u *pSrc, Npp32s nSrcStep, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize, NppStreamContext nppStreamCtx)
  Four channel 8-bit unsigned Laplace filter. More...
 
NppStatus  nppiFilterLaplace_8u_C4R (const Npp8u *pSrc, Npp32s nSrcStep, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize)
 
NppStatus  nppiFilterLaplace_8u_AC4R_Ctx (const Npp8u *pSrc, Npp32s nSrcStep, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize, NppStreamContext nppStreamCtx)
  Four channel 8-bit unsigned Laplace filter, ignoring alpha channel. More...
 
NppStatus  nppiFilterLaplace_8u_AC4R (const Npp8u *pSrc, Npp32s nSrcStep, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize)
 
NppStatus  nppiFilterLaplace_16s_C1R_Ctx (const Npp16s *pSrc, Npp32s nSrcStep, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize, NppStreamContext nppStreamCtx)
  Single channel 16-bit signed Laplace filter. More...
 
NppStatus  nppiFilterLaplace_16s_C1R (const Npp16s *pSrc, Npp32s nSrcStep, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize)
 
NppStatus  nppiFilterLaplace_16s_C3R_Ctx (const Npp16s *pSrc, Npp32s nSrcStep, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize, NppStreamContext nppStreamCtx)
  Three channel 16-bit signed Laplace filter. More...
 
NppStatus  nppiFilterLaplace_16s_C3R (const Npp16s *pSrc, Npp32s nSrcStep, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize)
 
NppStatus  nppiFilterLaplace_16s_C4R_Ctx (const Npp16s *pSrc, Npp32s nSrcStep, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize, NppStreamContext nppStreamCtx)
  Four channel 16-bit signed Laplace filter. More...
 
NppStatus  nppiFilterLaplace_16s_C4R (const Npp16s *pSrc, Npp32s nSrcStep, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize)
 
NppStatus  nppiFilterLaplace_16s_AC4R_Ctx (const Npp16s *pSrc, Npp32s nSrcStep, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize, NppStreamContext nppStreamCtx)
  Four channel 16-bit signed Laplace filter, ignoring alpha channel. More...
 
NppStatus  nppiFilterLaplace_16s_AC4R (const Npp16s *pSrc, Npp32s nSrcStep, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize)
 
NppStatus  nppiFilterLaplace_32f_C1R_Ctx (const Npp32f *pSrc, Npp32s nSrcStep, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize, NppStreamContext nppStreamCtx)
  Single channel 32-bit floating-point Laplace filter. More...
 
NppStatus  nppiFilterLaplace_32f_C1R (const Npp32f *pSrc, Npp32s nSrcStep, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize)
 
NppStatus  nppiFilterLaplace_32f_C3R_Ctx (const Npp32f *pSrc, Npp32s nSrcStep, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize, NppStreamContext nppStreamCtx)
  Three channel 32-bit floating-point Laplace filter. More...
 
NppStatus  nppiFilterLaplace_32f_C3R (const Npp32f *pSrc, Npp32s nSrcStep, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize)
 
NppStatus  nppiFilterLaplace_32f_C4R_Ctx (const Npp32f *pSrc, Npp32s nSrcStep, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize, NppStreamContext nppStreamCtx)
  Four channel 32-bit floating-point Laplace filter. More...
 
NppStatus  nppiFilterLaplace_32f_C4R (const Npp32f *pSrc, Npp32s nSrcStep, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize)
 
NppStatus  nppiFilterLaplace_32f_AC4R_Ctx (const Npp32f *pSrc, Npp32s nSrcStep, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize, NppStreamContext nppStreamCtx)
  Four channel 32-bit floating-point Laplace filter, ignoring alpha channel. More...
 
NppStatus  nppiFilterLaplace_32f_AC4R (const Npp32f *pSrc, Npp32s nSrcStep, Npp32f *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize)
 
NppStatus  nppiFilterLaplace_8u16s_C1R_Ctx (const Npp8u *pSrc, Npp32s nSrcStep, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize, NppStreamContext nppStreamCtx)
  Single channel 8-bit unsigned to 16-bit signed Laplace filter. More...
 
NppStatus  nppiFilterLaplace_8u16s_C1R (const Npp8u *pSrc, Npp32s nSrcStep, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize)
 
NppStatus  nppiFilterLaplace_8s16s_C1R_Ctx (const Npp8s *pSrc, Npp32s nSrcStep, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize, NppStreamContext nppStreamCtx)
  Single channel 8-bit signed to 16-bit signed Laplace filter. More...
 
NppStatus  nppiFilterLaplace_8s16s_C1R (const Npp8s *pSrc, Npp32s nSrcStep, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiMaskSize eMaskSize)
 

Detailed Description

Filters the image using a Laplacian filter kernel.

Common parameters for nppiFilterLaplace 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).
eMaskSize Enumeration value specifying the mask size.
nppStreamCtx Application Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes

\[ \left( \begin{array}{rrr} -1 & -1 & -1 \\ -1 & 8 & -1 \\ -1 & -1 & -1 \\ \end{array} \right) \left( \begin{array}{rrrrr} -1 & -3 & -4 & -3 & -1 \\ -3 & 0 & 6 & 0 & -3 \\ -4 & 6 & 20 & 6 & -4 \\ -3 & 0 & 6 & 0 & -3 \\ -1 & -3 & -4 & -3 & -1 \\ \end{array} \right) \]

Function Documentation

NppStatus nppiFilterLaplace_16s_AC4R ( const Npp16s pSrc,
Npp32s  nSrcStep,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize 
)
NppStatus nppiFilterLaplace_16s_AC4R_Ctx ( const Npp16s pSrc,
Npp32s  nSrcStep,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize,
NppStreamContext  nppStreamCtx 
)

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

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

NppStatus nppiFilterLaplace_16s_C1R ( const Npp16s pSrc,
Npp32s  nSrcStep,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize 
)
NppStatus nppiFilterLaplace_16s_C1R_Ctx ( const Npp16s pSrc,
Npp32s  nSrcStep,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize,
NppStreamContext  nppStreamCtx 
)

Single channel 16-bit signed Laplace filter.

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

NppStatus nppiFilterLaplace_16s_C3R ( const Npp16s pSrc,
Npp32s  nSrcStep,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize 
)
NppStatus nppiFilterLaplace_16s_C3R_Ctx ( const Npp16s pSrc,
Npp32s  nSrcStep,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize,
NppStreamContext  nppStreamCtx 
)

Three channel 16-bit signed Laplace filter.

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

NppStatus nppiFilterLaplace_16s_C4R ( const Npp16s pSrc,
Npp32s  nSrcStep,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize 
)
NppStatus nppiFilterLaplace_16s_C4R_Ctx ( const Npp16s pSrc,
Npp32s  nSrcStep,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize,
NppStreamContext  nppStreamCtx 
)

Four channel 16-bit signed Laplace filter.

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

NppStatus nppiFilterLaplace_32f_AC4R ( const Npp32f pSrc,
Npp32s  nSrcStep,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize 
)
NppStatus nppiFilterLaplace_32f_AC4R_Ctx ( const Npp32f pSrc,
Npp32s  nSrcStep,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize,
NppStreamContext  nppStreamCtx 
)

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

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

NppStatus nppiFilterLaplace_32f_C1R ( const Npp32f pSrc,
Npp32s  nSrcStep,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize 
)
NppStatus nppiFilterLaplace_32f_C1R_Ctx ( const Npp32f pSrc,
Npp32s  nSrcStep,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit floating-point Laplace filter.

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

NppStatus nppiFilterLaplace_32f_C3R ( const Npp32f pSrc,
Npp32s  nSrcStep,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize 
)
NppStatus nppiFilterLaplace_32f_C3R_Ctx ( const Npp32f pSrc,
Npp32s  nSrcStep,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize,
NppStreamContext  nppStreamCtx 
)

Three channel 32-bit floating-point Laplace filter.

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

NppStatus nppiFilterLaplace_32f_C4R ( const Npp32f pSrc,
Npp32s  nSrcStep,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize 
)
NppStatus nppiFilterLaplace_32f_C4R_Ctx ( const Npp32f pSrc,
Npp32s  nSrcStep,
Npp32f pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize,
NppStreamContext  nppStreamCtx 
)

Four channel 32-bit floating-point Laplace filter.

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

NppStatus nppiFilterLaplace_8s16s_C1R ( const Npp8s pSrc,
Npp32s  nSrcStep,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize 
)
NppStatus nppiFilterLaplace_8s16s_C1R_Ctx ( const Npp8s pSrc,
Npp32s  nSrcStep,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize,
NppStreamContext  nppStreamCtx 
)

Single channel 8-bit signed to 16-bit signed Laplace filter.

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

NppStatus nppiFilterLaplace_8u16s_C1R ( const Npp8u pSrc,
Npp32s  nSrcStep,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize 
)
NppStatus nppiFilterLaplace_8u16s_C1R_Ctx ( const Npp8u pSrc,
Npp32s  nSrcStep,
Npp16s pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize,
NppStreamContext  nppStreamCtx 
)

Single channel 8-bit unsigned to 16-bit signed Laplace filter.

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

NppStatus nppiFilterLaplace_8u_AC4R ( const Npp8u pSrc,
Npp32s  nSrcStep,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize 
)
NppStatus nppiFilterLaplace_8u_AC4R_Ctx ( const Npp8u pSrc,
Npp32s  nSrcStep,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize,
NppStreamContext  nppStreamCtx 
)

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

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

NppStatus nppiFilterLaplace_8u_C1R ( const Npp8u pSrc,
Npp32s  nSrcStep,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize 
)
NppStatus nppiFilterLaplace_8u_C1R_Ctx ( const Npp8u pSrc,
Npp32s  nSrcStep,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize,
NppStreamContext  nppStreamCtx 
)

Single channel 8-bit unsigned Laplace filter.

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

NppStatus nppiFilterLaplace_8u_C3R ( const Npp8u pSrc,
Npp32s  nSrcStep,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize 
)
NppStatus nppiFilterLaplace_8u_C3R_Ctx ( const Npp8u pSrc,
Npp32s  nSrcStep,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize,
NppStreamContext  nppStreamCtx 
)

Three channel 8-bit unsigned Laplace filter.

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

NppStatus nppiFilterLaplace_8u_C4R ( const Npp8u pSrc,
Npp32s  nSrcStep,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize 
)
NppStatus nppiFilterLaplace_8u_C4R_Ctx ( const Npp8u pSrc,
Npp32s  nSrcStep,
Npp8u pDst,
Npp32s  nDstStep,
NppiSize  oSizeROI,
NppiMaskSize  eMaskSize,
NppStreamContext  nppStreamCtx 
)

Four channel 8-bit unsigned Laplace filter.

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