NVIDIA Performance Primitives (NPP)  Version 9.1
Functions
Extract Channel Copy

The channel extract primitives copy a single color channel from a multi-channel source image to singl-channel destination image. More...

Functions

NppStatus nppiCopy_8u_C3C1R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 Three-channel to single-channel 8-bit unsigned image copy. More...
 
NppStatus nppiCopy_8u_C4C1R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 Four-channel to single-channel 8-bit unsigned image copy. More...
 
NppStatus nppiCopy_16s_C3C1R (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)
 Three-channel to single-channel 16-bit signed image copy. More...
 
NppStatus nppiCopy_16s_C4C1R (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)
 Four-channel to single-channel 16-bit signed image copy. More...
 
NppStatus nppiCopy_16u_C3C1R (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)
 Three-channel to single-channel 16-bit unsigned image copy. More...
 
NppStatus nppiCopy_16u_C4C1R (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)
 Four-channel to single-channel 16-bit unsigned image copy. More...
 
NppStatus nppiCopy_32s_C3C1R (const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)
 Three-channel to single-channel 32-bit signed image copy. More...
 
NppStatus nppiCopy_32s_C4C1R (const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)
 Four-channel to single-channel 32-bit signed image copy. More...
 
NppStatus nppiCopy_32f_C3C1R (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
 Three-channel to single-channel 32-bit float image copy. More...
 
NppStatus nppiCopy_32f_C4C1R (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
 Four-channel to single-channel 32-bit float image copy. More...
 

Detailed Description

The channel extract primitives copy a single color channel from a multi-channel source image to singl-channel destination image.

The channel is selected by adjusting the source image pointer to point to the desired color channel (see Channel-of-Interest API).

Common parameters for nppiCopy_CXC1 functions include:

Parameters
pSrcSelect-Channel Source-Image Pointer.
nSrcStepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes

Function Documentation

NppStatus nppiCopy_16s_C3C1R ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Three-channel to single-channel 16-bit signed image copy.

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

NppStatus nppiCopy_16s_C4C1R ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Four-channel to single-channel 16-bit signed image copy.

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

NppStatus nppiCopy_16u_C3C1R ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Three-channel to single-channel 16-bit unsigned image copy.

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

NppStatus nppiCopy_16u_C4C1R ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Four-channel to single-channel 16-bit unsigned image copy.

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

NppStatus nppiCopy_32f_C3C1R ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Three-channel to single-channel 32-bit float image copy.

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

NppStatus nppiCopy_32f_C4C1R ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Four-channel to single-channel 32-bit float image copy.

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

NppStatus nppiCopy_32s_C3C1R ( const Npp32s pSrc,
int  nSrcStep,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Three-channel to single-channel 32-bit signed image copy.

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

NppStatus nppiCopy_32s_C4C1R ( const Npp32s pSrc,
int  nSrcStep,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Four-channel to single-channel 32-bit signed image copy.

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

NppStatus nppiCopy_8u_C3C1R ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Three-channel to single-channel 8-bit unsigned image copy.

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

NppStatus nppiCopy_8u_C4C1R ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Four-channel to single-channel 8-bit unsigned image copy.

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


Copyright © 2009-2017 NVIDIA Corporation