NVIDIA Performance Primitives (NPP)  Version 9.1
FilterPrewittBorder

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

FilterPrewittHorizBorder

Filters the image using a horizontal Prewitt filter kernel with border control.

If any portion of the 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.

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

NppStatus nppiFilterPrewittHorizBorder_8u_C1R (const Npp8u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Single channel 8-bit unsigned horizontal Prewitt filter with border control. More...
 
NppStatus nppiFilterPrewittHorizBorder_8u_C3R (const Npp8u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Three channel 8-bit unsigned horizontal Prewitt filter with border control. More...
 
NppStatus nppiFilterPrewittHorizBorder_8u_C4R (const Npp8u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Four channel 8-bit unsigned horizontal Prewitt filter with border control. More...
 
NppStatus nppiFilterPrewittHorizBorder_8u_AC4R (const Npp8u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Four channel 8-bit unsigned horizontal Prewitt filter with border control, ignoring alpha channel. More...
 
NppStatus nppiFilterPrewittHorizBorder_16s_C1R (const Npp16s *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Single channel 16-bit signed horizontal Prewitt filter with border control. More...
 
NppStatus nppiFilterPrewittHorizBorder_16s_C3R (const Npp16s *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Three channel 16-bit signed horizontal Prewitt filter with border control. More...
 
NppStatus nppiFilterPrewittHorizBorder_16s_C4R (const Npp16s *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Four channel 16-bit signed horizontal Prewitt filter with border control. More...
 
NppStatus nppiFilterPrewittHorizBorder_16s_AC4R (const Npp16s *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Four channel 16-bit signed horizontal Prewitt filter with border control, ignoring alpha channel. More...
 
NppStatus nppiFilterPrewittHorizBorder_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 horizontal Prewitt filter with border control. More...
 
NppStatus nppiFilterPrewittHorizBorder_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 horizontal Prewitt filter with border control. More...
 
NppStatus nppiFilterPrewittHorizBorder_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 horizontal Prewitt filter with border control. More...
 
NppStatus nppiFilterPrewittHorizBorder_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 horizontal Prewitt filter with border control, ignoring alpha channel. More...
 

FilterPrewittVertBorder

Filters the image using a vertical Prewitt filter kernel with border control.

If any portion of the 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.

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

NppStatus nppiFilterPrewittVertBorder_8u_C1R (const Npp8u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Single channel 8-bit unsigned vertical Prewitt filter with border control. More...
 
NppStatus nppiFilterPrewittVertBorder_8u_C3R (const Npp8u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Three channel 8-bit unsigned vertical Prewitt filter with border control. More...
 
NppStatus nppiFilterPrewittVertBorder_8u_C4R (const Npp8u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Four channel 8-bit unsigned vertical Prewitt filter with border control. More...
 
NppStatus nppiFilterPrewittVertBorder_8u_AC4R (const Npp8u *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp8u *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Four channel 8-bit unsigned vertical Prewitt filter with border control, ignoring alpha channel. More...
 
NppStatus nppiFilterPrewittVertBorder_16s_C1R (const Npp16s *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Single channel 16-bit signed vertical Prewitt filter with border control. More...
 
NppStatus nppiFilterPrewittVertBorder_16s_C3R (const Npp16s *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Three channel 16-bit signed vertical Prewitt filter with border control. More...
 
NppStatus nppiFilterPrewittVertBorder_16s_C4R (const Npp16s *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Four channel 16-bit signed vertical Prewitt filter with border control. More...
 
NppStatus nppiFilterPrewittVertBorder_16s_AC4R (const Npp16s *pSrc, Npp32s nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, Npp16s *pDst, Npp32s nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
 Four channel 16-bit signed vertical Prewitt filter with border control, ignoring alpha channel. More...
 
NppStatus nppiFilterPrewittVertBorder_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 vertical Prewitt filter with border control. More...
 
NppStatus nppiFilterPrewittVertBorder_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 vertical Prewitt filter with border control. More...
 
NppStatus nppiFilterPrewittVertBorder_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 vertical Prewitt filter with border control. More...
 
NppStatus nppiFilterPrewittVertBorder_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 vertical Prewitt filter with border control, ignoring alpha channel. More...
 

Detailed Description

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

Common parameters for nppiFilterPrewittBorder 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

Function Documentation

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

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

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

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

Single channel 16-bit signed horizontal Prewitt filter with border control.

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

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

Three channel 16-bit signed horizontal Prewitt filter with border control.

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

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

Four channel 16-bit signed horizontal Prewitt filter with border control.

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

NppStatus nppiFilterPrewittHorizBorder_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 horizontal Prewitt filter with border control, ignoring alpha channel.

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

NppStatus nppiFilterPrewittHorizBorder_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 horizontal Prewitt filter with border control.

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

NppStatus nppiFilterPrewittHorizBorder_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 horizontal Prewitt filter with border control.

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

NppStatus nppiFilterPrewittHorizBorder_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 horizontal Prewitt filter with border control.

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

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

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

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

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

Single channel 8-bit unsigned horizontal Prewitt filter with border control.

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

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

Three channel 8-bit unsigned horizontal Prewitt filter with border control.

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

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

Four channel 8-bit unsigned horizontal Prewitt filter with border control.

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

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

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

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

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

Single channel 16-bit signed vertical Prewitt filter with border control.

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

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

Three channel 16-bit signed vertical Prewitt filter with border control.

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

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

Four channel 16-bit signed vertical Prewitt filter with border control.

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

NppStatus nppiFilterPrewittVertBorder_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 vertical Prewitt filter with border control, ignoring alpha channel.

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

NppStatus nppiFilterPrewittVertBorder_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 vertical Prewitt filter with border control.

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

NppStatus nppiFilterPrewittVertBorder_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 vertical Prewitt filter with border control.

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

NppStatus nppiFilterPrewittVertBorder_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 vertical Prewitt filter with border control.

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

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

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

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

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

Single channel 8-bit unsigned vertical Prewitt filter with border control.

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

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

Three channel 8-bit unsigned vertical Prewitt filter with border control.

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

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

Four channel 8-bit unsigned vertical Prewitt filter with border control.

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


Copyright © 2009-2017 NVIDIA Corporation