NVIDIA Performance Primitives (NPP)  Version 9.1
FilterRobertsBorder

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

FilterRobertsDownBorder

Filters the image using a horizontal Roberts 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} 0 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & -1 \\ \end{array} \right) \]

NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control. More...
 
NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control. More...
 
NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control. More...
 
NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control, ignoring alpha-channel. More...
 
NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control. More...
 
NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control. More...
 
NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control. More...
 
NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control, ignoring alpha-channel. More...
 
NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control. More...
 
NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control. More...
 
NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control. More...
 
NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control, ignoring alpha-channel. More...
 

FilterRobertsUpBorder

Filters the image using a vertical Roberts 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} 0 & 0 & 0 \\ 0 & 1 & 0 \\ -1 & 0 & 0 \\ \end{array} \right) \]

NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control. More...
 
NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control. More...
 
NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control. More...
 
NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control, ignoring alpha-channel. More...
 
NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control. More...
 
NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control. More...
 
NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control. More...
 
NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control, ignoring alpha-channel. More...
 
NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control. More...
 
NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control. More...
 
NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control. More...
 
NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control, ignoring alpha-channel. More...
 

Detailed Description

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

Common parameters for nppiFilterRobertsBorder 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 nppiFilterRobertsDownBorder_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 Roberts filter with border control, ignoring alpha-channel.

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

NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control.

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

NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control.

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

NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control.

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

NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control, ignoring alpha-channel.

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

NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control.

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

NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control.

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

NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control.

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

NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control, ignoring alpha-channel.

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

NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control.

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

NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control.

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

NppStatus nppiFilterRobertsDownBorder_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 Roberts filter with border control.

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

NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control, ignoring alpha-channel.

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

NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control.

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

NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control.

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

NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control.

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

NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control, ignoring alpha-channel.

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

NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control.

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

NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control.

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

NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control.

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

NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control, ignoring alpha-channel.

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

NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control.

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

NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control.

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

NppStatus nppiFilterRobertsUpBorder_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 Roberts filter with border control.

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


Copyright © 2009-2017 NVIDIA Corporation