NVIDIA Performance Primitives (NPP)  Version 9.1
Functions
Filter32f

General purpose 2D convolution filter using floating point weights. More...

Functions

NppStatus nppiFilter32f_8u_C1R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Single channel 8-bit unsigned convolution filter. More...
 
NppStatus nppiFilter32f_8u_C2R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Two channel 8-bit unsigned convolution filter. More...
 
NppStatus nppiFilter32f_8u_C3R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Three channel 8-bit unsigned convolution filter. More...
 
NppStatus nppiFilter32f_8u_C4R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Four channel 8-bit unsigned convolution filter. More...
 
NppStatus nppiFilter32f_8u_AC4R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Four channel 8-bit unsigned convolution filter, ignorint alpha channel. More...
 
NppStatus nppiFilter32f_8s_C1R (const Npp8s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Single channel 8-bit signed convolution filter. More...
 
NppStatus nppiFilter32f_8s_C2R (const Npp8s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Two channel 8-bit signed convolution filter. More...
 
NppStatus nppiFilter32f_8s_C3R (const Npp8s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Three channel 8-bit signed convolution filter. More...
 
NppStatus nppiFilter32f_8s_C4R (const Npp8s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Four channel 8-bit signed convolution filter. More...
 
NppStatus nppiFilter32f_8s_AC4R (const Npp8s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Four channel 8-bit signed convolution filter, ignoring alpha channel. More...
 
NppStatus nppiFilter32f_16u_C1R (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Single channel 16-bit unsigned convolution filter. More...
 
NppStatus nppiFilter32f_16u_C3R (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Three channel 16-bit unsigned convolution filter. More...
 
NppStatus nppiFilter32f_16u_C4R (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Four channel 16-bit unsigned convolution filter. More...
 
NppStatus nppiFilter32f_16u_AC4R (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Four channel 16-bit unsigned convolution filter, ignoring alpha channel. More...
 
NppStatus nppiFilter32f_16s_C1R (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Single channel 16-bit convolution filter. More...
 
NppStatus nppiFilter32f_16s_C3R (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Three channel 16-bit convolution filter. More...
 
NppStatus nppiFilter32f_16s_C4R (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Four channel 16-bit convolution filter. More...
 
NppStatus nppiFilter32f_16s_AC4R (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Four channel 16-bit convolution filter, ignoring alpha channel. More...
 
NppStatus nppiFilter32f_32s_C1R (const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Single channel 32-bit convolution filter. More...
 
NppStatus nppiFilter32f_32s_C3R (const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Three channel 32-bit convolution filter. More...
 
NppStatus nppiFilter32f_32s_C4R (const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Four channel 32-bit convolution filter. More...
 
NppStatus nppiFilter32f_32s_AC4R (const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Four channel 32-bit convolution filter, ignoring alpha channel. More...
 
NppStatus nppiFilter32f_8u16s_C1R (const Npp8u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Single channel 8-bit unsigned to 16-bit signed convolution filter. More...
 
NppStatus nppiFilter32f_8u16s_C3R (const Npp8u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Three channel 8-bit unsigned to 16-bit signed convolution filter. More...
 
NppStatus nppiFilter32f_8u16s_C4R (const Npp8u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Four channel 8-bit unsigned to 16-bit signed convolution filter. More...
 
NppStatus nppiFilter32f_8u16s_AC4R (const Npp8u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Four channel 8-bit unsigned to 16-bit signed convolution filter, ignoring alpha channel. More...
 
NppStatus nppiFilter32f_8s16s_C1R (const Npp8s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Single channel 8-bit to 16-bit signed convolution filter. More...
 
NppStatus nppiFilter32f_8s16s_C3R (const Npp8s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Three channel 8-bit to 16-bit signed convolution filter. More...
 
NppStatus nppiFilter32f_8s16s_C4R (const Npp8s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Four channel 8-bit to 16-bit signed convolution filter. More...
 
NppStatus nppiFilter32f_8s16s_AC4R (const Npp8s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f *pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
 Four channel 8-bit to 16-bit signed convolution filter, ignoring alpha channel. More...
 

Detailed Description

General purpose 2D convolution filter using floating point weights.

Pixels under the mask are multiplied by the respective weights in the mask and the results are summed.

Common parameters for nppiFilter32f functions include:

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
pKernelPointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order.
oKernelSizeWidth and Height of the rectangular kernel.
oAnchorX and Y offsets of the kernel origin frame of reference relative to the source pixel.
Returns
Image Data Related Error Codes, ROI Related Error Codes

Function Documentation

NppStatus nppiFilter32f_16s_AC4R ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Four channel 16-bit convolution filter, ignoring alpha channel.

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

NppStatus nppiFilter32f_16s_C1R ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Single channel 16-bit convolution filter.

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

NppStatus nppiFilter32f_16s_C3R ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Three channel 16-bit convolution filter.

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

NppStatus nppiFilter32f_16s_C4R ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Four channel 16-bit convolution filter.

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

NppStatus nppiFilter32f_16u_AC4R ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

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

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

NppStatus nppiFilter32f_16u_C1R ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Single channel 16-bit unsigned convolution filter.

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

NppStatus nppiFilter32f_16u_C3R ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Three channel 16-bit unsigned convolution filter.

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

NppStatus nppiFilter32f_16u_C4R ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Four channel 16-bit unsigned convolution filter.

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

NppStatus nppiFilter32f_32s_AC4R ( const Npp32s pSrc,
int  nSrcStep,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Four channel 32-bit convolution filter, ignoring alpha channel.

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

NppStatus nppiFilter32f_32s_C1R ( const Npp32s pSrc,
int  nSrcStep,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Single channel 32-bit convolution filter.

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

NppStatus nppiFilter32f_32s_C3R ( const Npp32s pSrc,
int  nSrcStep,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Three channel 32-bit convolution filter.

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

NppStatus nppiFilter32f_32s_C4R ( const Npp32s pSrc,
int  nSrcStep,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Four channel 32-bit convolution filter.

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

NppStatus nppiFilter32f_8s16s_AC4R ( const Npp8s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Four channel 8-bit to 16-bit signed convolution filter, ignoring alpha channel.

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

NppStatus nppiFilter32f_8s16s_C1R ( const Npp8s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

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

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

NppStatus nppiFilter32f_8s16s_C3R ( const Npp8s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Three channel 8-bit to 16-bit signed convolution filter.

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

NppStatus nppiFilter32f_8s16s_C4R ( const Npp8s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Four channel 8-bit to 16-bit signed convolution filter.

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

NppStatus nppiFilter32f_8s_AC4R ( const Npp8s pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Four channel 8-bit signed convolution filter, ignoring alpha channel.

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

NppStatus nppiFilter32f_8s_C1R ( const Npp8s pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Single channel 8-bit signed convolution filter.

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

NppStatus nppiFilter32f_8s_C2R ( const Npp8s pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Two channel 8-bit signed convolution filter.

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

NppStatus nppiFilter32f_8s_C3R ( const Npp8s pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Three channel 8-bit signed convolution filter.

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

NppStatus nppiFilter32f_8s_C4R ( const Npp8s pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Four channel 8-bit signed convolution filter.

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

NppStatus nppiFilter32f_8u16s_AC4R ( const Npp8u pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Four channel 8-bit unsigned to 16-bit signed convolution filter, ignoring alpha channel.

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

NppStatus nppiFilter32f_8u16s_C1R ( const Npp8u pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

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

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

NppStatus nppiFilter32f_8u16s_C3R ( const Npp8u pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Three channel 8-bit unsigned to 16-bit signed convolution filter.

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

NppStatus nppiFilter32f_8u16s_C4R ( const Npp8u pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Four channel 8-bit unsigned to 16-bit signed convolution filter.

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

NppStatus nppiFilter32f_8u_AC4R ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Four channel 8-bit unsigned convolution filter, ignorint alpha channel.

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

NppStatus nppiFilter32f_8u_C1R ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Single channel 8-bit unsigned convolution filter.

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

NppStatus nppiFilter32f_8u_C2R ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Two channel 8-bit unsigned convolution filter.

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

NppStatus nppiFilter32f_8u_C3R ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Three channel 8-bit unsigned convolution filter.

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

NppStatus nppiFilter32f_8u_C4R ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f pKernel,
NppiSize  oKernelSize,
NppiPoint  oAnchor 
)

Four channel 8-bit unsigned convolution filter.

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


Copyright © 2009-2017 NVIDIA Corporation