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

The masked set primitives have an additional "mask image" input. More...

Functions

NppStatus nppiSet_8u_C1MR_Ctx (Npp8u nValue, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)
 Masked 8-bit unsigned image set. More...
 
NppStatus nppiSet_8u_C1MR (Npp8u nValue, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)
 
NppStatus nppiSet_8u_C3MR_Ctx (const Npp8u aValue[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)
 Masked 3 channel 8-bit unsigned image set. More...
 
NppStatus nppiSet_8u_C3MR (const Npp8u aValue[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)
 
NppStatus nppiSet_8u_C4MR_Ctx (const Npp8u aValue[4], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)
 Masked 4 channel 8-bit unsigned image set. More...
 
NppStatus nppiSet_8u_C4MR (const Npp8u aValue[4], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)
 
NppStatus nppiSet_8u_AC4MR_Ctx (const Npp8u aValue[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)
 Masked 4 channel 8-bit unsigned image set method, not affecting Alpha channel. More...
 
NppStatus nppiSet_8u_AC4MR (const Npp8u aValue[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)
 
NppStatus nppiSet_16u_C1MR_Ctx (Npp16u nValue, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)
 Masked 16-bit unsigned image set. More...
 
NppStatus nppiSet_16u_C1MR (Npp16u nValue, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)
 
NppStatus nppiSet_16u_C3MR_Ctx (const Npp16u aValue[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)
 Masked 3 channel 16-bit unsigned image set. More...
 
NppStatus nppiSet_16u_C3MR (const Npp16u aValue[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)
 
NppStatus nppiSet_16u_C4MR_Ctx (const Npp16u aValue[4], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)
 Masked 4 channel 16-bit unsigned image set. More...
 
NppStatus nppiSet_16u_C4MR (const Npp16u aValue[4], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)
 
NppStatus nppiSet_16u_AC4MR_Ctx (const Npp16u aValue[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)
 Masked 4 channel 16-bit unsigned image set method, not affecting Alpha channel. More...
 
NppStatus nppiSet_16u_AC4MR (const Npp16u aValue[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)
 
NppStatus nppiSet_16s_C1MR_Ctx (Npp16s nValue, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)
 Masked 16-bit image set. More...
 
NppStatus nppiSet_16s_C1MR (Npp16s nValue, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)
 
NppStatus nppiSet_16s_C3MR_Ctx (const Npp16s aValue[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)
 Masked 3 channel 16-bit image set. More...
 
NppStatus nppiSet_16s_C3MR (const Npp16s aValue[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)
 
NppStatus nppiSet_16s_C4MR_Ctx (const Npp16s aValue[4], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)
 Masked 4 channel 16-bit image set. More...
 
NppStatus nppiSet_16s_C4MR (const Npp16s aValue[4], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)
 
NppStatus nppiSet_16s_AC4MR_Ctx (const Npp16s aValue[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)
 Masked 4 channel 16-bit image set method, not affecting Alpha channel. More...
 
NppStatus nppiSet_16s_AC4MR (const Npp16s aValue[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)
 
NppStatus nppiSet_32s_C1MR_Ctx (Npp32s nValue, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)
 Masked 32-bit image set. More...
 
NppStatus nppiSet_32s_C1MR (Npp32s nValue, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)
 
NppStatus nppiSet_32s_C3MR_Ctx (const Npp32s aValue[3], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)
 Masked 3 channel 32-bit image set. More...
 
NppStatus nppiSet_32s_C3MR (const Npp32s aValue[3], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)
 
NppStatus nppiSet_32s_C4MR_Ctx (const Npp32s aValue[4], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)
 Masked 4 channel 32-bit image set. More...
 
NppStatus nppiSet_32s_C4MR (const Npp32s aValue[4], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)
 
NppStatus nppiSet_32s_AC4MR_Ctx (const Npp32s aValue[3], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)
 Masked 4 channel 16-bit image set method, not affecting Alpha channel. More...
 
NppStatus nppiSet_32s_AC4MR (const Npp32s aValue[3], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)
 
NppStatus nppiSet_32f_C1MR_Ctx (Npp32f nValue, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)
 Masked 32-bit floating point image set. More...
 
NppStatus nppiSet_32f_C1MR (Npp32f nValue, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)
 
NppStatus nppiSet_32f_C3MR_Ctx (const Npp32f aValue[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)
 Masked 3 channel 32-bit floating point image set. More...
 
NppStatus nppiSet_32f_C3MR (const Npp32f aValue[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)
 
NppStatus nppiSet_32f_C4MR_Ctx (const Npp32f aValue[4], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)
 Masked 4 channel 32-bit floating point image set. More...
 
NppStatus nppiSet_32f_C4MR (const Npp32f aValue[4], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)
 
NppStatus nppiSet_32f_AC4MR_Ctx (const Npp32f aValue[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)
 Masked 4 channel 32-bit floating point image set method, not affecting Alpha channel. More...
 
NppStatus nppiSet_32f_AC4MR (const Npp32f aValue[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)
 

Detailed Description

The masked set primitives have an additional "mask image" input.

The mask controls which pixels within the ROI are set. For details see Masked Operation.

Common parameters for nppiSet_CXM functions include:

Parameters
nValueThe pixel value to be set for single channel functions.
aValueThe pixel-value to be set for multi-channel functions.
pDstPointer Destination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
pMaskMask-Image Pointer.
nMaskStepMask-Image Line Step.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes

Function Documentation

NppStatus nppiSet_16s_AC4MR ( const Npp16s  aValue[3],
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep 
)
NppStatus nppiSet_16s_AC4MR_Ctx ( const Npp16s  aValue[3],
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep,
NppStreamContext  nppStreamCtx 
)

Masked 4 channel 16-bit image set method, not affecting Alpha channel.

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

NppStatus nppiSet_16s_C1MR ( Npp16s  nValue,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep 
)
NppStatus nppiSet_16s_C1MR_Ctx ( Npp16s  nValue,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep,
NppStreamContext  nppStreamCtx 
)

Masked 16-bit image set.

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

NppStatus nppiSet_16s_C3MR ( const Npp16s  aValue[3],
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep 
)
NppStatus nppiSet_16s_C3MR_Ctx ( const Npp16s  aValue[3],
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep,
NppStreamContext  nppStreamCtx 
)

Masked 3 channel 16-bit image set.

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

NppStatus nppiSet_16s_C4MR ( const Npp16s  aValue[4],
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep 
)
NppStatus nppiSet_16s_C4MR_Ctx ( const Npp16s  aValue[4],
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep,
NppStreamContext  nppStreamCtx 
)

Masked 4 channel 16-bit image set.

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

NppStatus nppiSet_16u_AC4MR ( const Npp16u  aValue[3],
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep 
)
NppStatus nppiSet_16u_AC4MR_Ctx ( const Npp16u  aValue[3],
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep,
NppStreamContext  nppStreamCtx 
)

Masked 4 channel 16-bit unsigned image set method, not affecting Alpha channel.

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

NppStatus nppiSet_16u_C1MR ( Npp16u  nValue,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep 
)
NppStatus nppiSet_16u_C1MR_Ctx ( Npp16u  nValue,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep,
NppStreamContext  nppStreamCtx 
)

Masked 16-bit unsigned image set.

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

NppStatus nppiSet_16u_C3MR ( const Npp16u  aValue[3],
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep 
)
NppStatus nppiSet_16u_C3MR_Ctx ( const Npp16u  aValue[3],
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep,
NppStreamContext  nppStreamCtx 
)

Masked 3 channel 16-bit unsigned image set.

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

NppStatus nppiSet_16u_C4MR ( const Npp16u  aValue[4],
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep 
)
NppStatus nppiSet_16u_C4MR_Ctx ( const Npp16u  aValue[4],
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep,
NppStreamContext  nppStreamCtx 
)

Masked 4 channel 16-bit unsigned image set.

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

NppStatus nppiSet_32f_AC4MR ( const Npp32f  aValue[3],
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep 
)
NppStatus nppiSet_32f_AC4MR_Ctx ( const Npp32f  aValue[3],
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep,
NppStreamContext  nppStreamCtx 
)

Masked 4 channel 32-bit floating point image set method, not affecting Alpha channel.

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

NppStatus nppiSet_32f_C1MR ( Npp32f  nValue,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep 
)
NppStatus nppiSet_32f_C1MR_Ctx ( Npp32f  nValue,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep,
NppStreamContext  nppStreamCtx 
)

Masked 32-bit floating point image set.

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

NppStatus nppiSet_32f_C3MR ( const Npp32f  aValue[3],
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep 
)
NppStatus nppiSet_32f_C3MR_Ctx ( const Npp32f  aValue[3],
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep,
NppStreamContext  nppStreamCtx 
)

Masked 3 channel 32-bit floating point image set.

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

NppStatus nppiSet_32f_C4MR ( const Npp32f  aValue[4],
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep 
)
NppStatus nppiSet_32f_C4MR_Ctx ( const Npp32f  aValue[4],
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep,
NppStreamContext  nppStreamCtx 
)

Masked 4 channel 32-bit floating point image set.

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

NppStatus nppiSet_32s_AC4MR ( const Npp32s  aValue[3],
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep 
)
NppStatus nppiSet_32s_AC4MR_Ctx ( const Npp32s  aValue[3],
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep,
NppStreamContext  nppStreamCtx 
)

Masked 4 channel 16-bit image set method, not affecting Alpha channel.

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

NppStatus nppiSet_32s_C1MR ( Npp32s  nValue,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep 
)
NppStatus nppiSet_32s_C1MR_Ctx ( Npp32s  nValue,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep,
NppStreamContext  nppStreamCtx 
)

Masked 32-bit image set.

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

NppStatus nppiSet_32s_C3MR ( const Npp32s  aValue[3],
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep 
)
NppStatus nppiSet_32s_C3MR_Ctx ( const Npp32s  aValue[3],
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep,
NppStreamContext  nppStreamCtx 
)

Masked 3 channel 32-bit image set.

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

NppStatus nppiSet_32s_C4MR ( const Npp32s  aValue[4],
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep 
)
NppStatus nppiSet_32s_C4MR_Ctx ( const Npp32s  aValue[4],
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep,
NppStreamContext  nppStreamCtx 
)

Masked 4 channel 32-bit image set.

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

NppStatus nppiSet_8u_AC4MR ( const Npp8u  aValue[3],
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep 
)
NppStatus nppiSet_8u_AC4MR_Ctx ( const Npp8u  aValue[3],
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep,
NppStreamContext  nppStreamCtx 
)

Masked 4 channel 8-bit unsigned image set method, not affecting Alpha channel.

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

NppStatus nppiSet_8u_C1MR ( Npp8u  nValue,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep 
)
NppStatus nppiSet_8u_C1MR_Ctx ( Npp8u  nValue,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep,
NppStreamContext  nppStreamCtx 
)

Masked 8-bit unsigned image set.

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

NppStatus nppiSet_8u_C3MR ( const Npp8u  aValue[3],
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep 
)
NppStatus nppiSet_8u_C3MR_Ctx ( const Npp8u  aValue[3],
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep,
NppStreamContext  nppStreamCtx 
)

Masked 3 channel 8-bit unsigned image set.

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

NppStatus nppiSet_8u_C4MR ( const Npp8u  aValue[4],
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep 
)
NppStatus nppiSet_8u_C4MR_Ctx ( const Npp8u  aValue[4],
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u pMask,
int  nMaskStep,
NppStreamContext  nppStreamCtx 
)

Masked 4 channel 8-bit unsigned image set.

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


Copyright © 2009-2022 NVIDIA CORPORATION AND AFFILIATES