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

The channel copy primitives copy a single color channel from a multi-channel source image to any other color channel in a multi-channel destination image. More...

Functions

NppStatus nppiCopy_8u_C3CR_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Selected channel 8-bit unsigned image copy for three-channel images. More...
 
NppStatus nppiCopy_8u_C3CR (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiCopy_8u_C4CR_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Selected channel 8-bit unsigned image copy for four-channel images. More...
 
NppStatus nppiCopy_8u_C4CR (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiCopy_16s_C3CR_Ctx (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Selected channel 16-bit signed image copy for three-channel images. More...
 
NppStatus nppiCopy_16s_C3CR (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiCopy_16s_C4CR_Ctx (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Selected channel 16-bit signed image copy for four-channel images. More...
 
NppStatus nppiCopy_16s_C4CR (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiCopy_16u_C3CR_Ctx (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Selected channel 16-bit unsigned image copy for three-channel images. More...
 
NppStatus nppiCopy_16u_C3CR (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiCopy_16u_C4CR_Ctx (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Selected channel 16-bit unsigned image copy for four-channel images. More...
 
NppStatus nppiCopy_16u_C4CR (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiCopy_32s_C3CR_Ctx (const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Selected channel 32-bit signed image copy for three-channel images. More...
 
NppStatus nppiCopy_32s_C3CR (const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiCopy_32s_C4CR_Ctx (const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Selected channel 32-bit signed image copy for four-channel images. More...
 
NppStatus nppiCopy_32s_C4CR (const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiCopy_32f_C3CR_Ctx (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Selected channel 32-bit float image copy for three-channel images. More...
 
NppStatus nppiCopy_32f_C3CR (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiCopy_32f_C4CR_Ctx (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Selected channel 32-bit float image copy for four-channel images. More...
 
NppStatus nppiCopy_32f_C4CR (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
 

Detailed Description

The channel copy primitives copy a single color channel from a multi-channel source image to any other color channel in a multi-channel destination image.

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

Common parameters for nppiCopy_CXC functions include:

Parameters
pSrcSelect-Channel Source-Image Pointer.
nSrcStepSource-Image Line Step.
pDstSelect-Channel Destination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes

Function Documentation

NppStatus nppiCopy_16s_C3CR ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiCopy_16s_C3CR_Ctx ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Selected channel 16-bit signed image copy for three-channel images.

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

NppStatus nppiCopy_16s_C4CR ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiCopy_16s_C4CR_Ctx ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Selected channel 16-bit signed image copy for four-channel images.

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

NppStatus nppiCopy_16u_C3CR ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiCopy_16u_C3CR_Ctx ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Selected channel 16-bit unsigned image copy for three-channel images.

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

NppStatus nppiCopy_16u_C4CR ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiCopy_16u_C4CR_Ctx ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Selected channel 16-bit unsigned image copy for four-channel images.

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

NppStatus nppiCopy_32f_C3CR ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiCopy_32f_C3CR_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Selected channel 32-bit float image copy for three-channel images.

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

NppStatus nppiCopy_32f_C4CR ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiCopy_32f_C4CR_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Selected channel 32-bit float image copy for four-channel images.

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

NppStatus nppiCopy_32s_C3CR ( const Npp32s pSrc,
int  nSrcStep,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiCopy_32s_C3CR_Ctx ( const Npp32s pSrc,
int  nSrcStep,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Selected channel 32-bit signed image copy for three-channel images.

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

NppStatus nppiCopy_32s_C4CR ( const Npp32s pSrc,
int  nSrcStep,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiCopy_32s_C4CR_Ctx ( const Npp32s pSrc,
int  nSrcStep,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Selected channel 32-bit signed image copy for four-channel images.

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

NppStatus nppiCopy_8u_C3CR ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiCopy_8u_C3CR_Ctx ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Selected channel 8-bit unsigned image copy for three-channel images.

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

NppStatus nppiCopy_8u_C4CR ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiCopy_8u_C4CR_Ctx ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Selected channel 8-bit unsigned image copy for four-channel images.

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


Copyright © 2009-2022 NVIDIA CORPORATION AND AFFILIATES