NVIDIA 2D Image And Signal Performance Primitives (NPP)  Version 11.7.1.*
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions
Threshold Less Than Value Or Greater Than Value Operations

Replace image pixels less than thresholdLT or greater than thresholdGT with with valueLT or valueGT respectively. More...

Functions

NppStatus nppiThreshold_LTValGTVal_8u_C1R_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u nThresholdLT, const Npp8u nValueLT, const Npp8u nThresholdGT, const Npp8u nValueGT, NppStreamContext nppStreamCtx)
 1 channel 8-bit unsigned char threshold. More...
 
NppStatus nppiThreshold_LTValGTVal_8u_C1R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u nThresholdLT, const Npp8u nValueLT, const Npp8u nThresholdGT, const Npp8u nValueGT)
 
NppStatus nppiThreshold_LTValGTVal_8u_C1IR_Ctx (Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp8u nThresholdLT, const Npp8u nValueLT, const Npp8u nThresholdGT, const Npp8u nValueGT, NppStreamContext nppStreamCtx)
 1 channel 8-bit unsigned char in place threshold. More...
 
NppStatus nppiThreshold_LTValGTVal_8u_C1IR (Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp8u nThresholdLT, const Npp8u nValueLT, const Npp8u nThresholdGT, const Npp8u nValueGT)
 
NppStatus nppiThreshold_LTValGTVal_16u_C1R_Ctx (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp16u nThresholdLT, const Npp16u nValueLT, const Npp16u nThresholdGT, const Npp16u nValueGT, NppStreamContext nppStreamCtx)
 1 channel 16-bit unsigned short threshold. More...
 
NppStatus nppiThreshold_LTValGTVal_16u_C1R (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp16u nThresholdLT, const Npp16u nValueLT, const Npp16u nThresholdGT, const Npp16u nValueGT)
 
NppStatus nppiThreshold_LTValGTVal_16u_C1IR_Ctx (Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp16u nThresholdLT, const Npp16u nValueLT, const Npp16u nThresholdGT, const Npp16u nValueGT, NppStreamContext nppStreamCtx)
 1 channel 16-bit unsigned short in place threshold. More...
 
NppStatus nppiThreshold_LTValGTVal_16u_C1IR (Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp16u nThresholdLT, const Npp16u nValueLT, const Npp16u nThresholdGT, const Npp16u nValueGT)
 
NppStatus nppiThreshold_LTValGTVal_16s_C1R_Ctx (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp16s nThresholdLT, const Npp16s nValueLT, const Npp16s nThresholdGT, const Npp16s nValueGT, NppStreamContext nppStreamCtx)
 1 channel 16-bit signed short threshold. More...
 
NppStatus nppiThreshold_LTValGTVal_16s_C1R (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp16s nThresholdLT, const Npp16s nValueLT, const Npp16s nThresholdGT, const Npp16s nValueGT)
 
NppStatus nppiThreshold_LTValGTVal_16s_C1IR_Ctx (Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp16s nThresholdLT, const Npp16s nValueLT, const Npp16s nThresholdGT, const Npp16s nValueGT, NppStreamContext nppStreamCtx)
 1 channel 16-bit signed short in place threshold. More...
 
NppStatus nppiThreshold_LTValGTVal_16s_C1IR (Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp16s nThresholdLT, const Npp16s nValueLT, const Npp16s nThresholdGT, const Npp16s nValueGT)
 
NppStatus nppiThreshold_LTValGTVal_32f_C1R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f nThresholdLT, const Npp32f nValueLT, const Npp32f nThresholdGT, const Npp32f nValueGT, NppStreamContext nppStreamCtx)
 1 channel 32-bit floating point threshold. More...
 
NppStatus nppiThreshold_LTValGTVal_32f_C1R (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f nThresholdLT, const Npp32f nValueLT, const Npp32f nThresholdGT, const Npp32f nValueGT)
 
NppStatus nppiThreshold_LTValGTVal_32f_C1IR_Ctx (Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp32f nThresholdLT, const Npp32f nValueLT, const Npp32f nThresholdGT, const Npp32f nValueGT, NppStreamContext nppStreamCtx)
 1 channel 32-bit floating point in place threshold. More...
 
NppStatus nppiThreshold_LTValGTVal_32f_C1IR (Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp32f nThresholdLT, const Npp32f nValueLT, const Npp32f nThresholdGT, const Npp32f nValueGT)
 
NppStatus nppiThreshold_LTValGTVal_8u_C3R_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u rThresholdsLT[3], const Npp8u rValuesLT[3], const Npp8u rThresholdsGT[3], const Npp8u rValuesGT[3], NppStreamContext nppStreamCtx)
 3 channel 8-bit unsigned char threshold. More...
 
NppStatus nppiThreshold_LTValGTVal_8u_C3R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u rThresholdsLT[3], const Npp8u rValuesLT[3], const Npp8u rThresholdsGT[3], const Npp8u rValuesGT[3])
 
NppStatus nppiThreshold_LTValGTVal_8u_C3IR_Ctx (Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp8u rThresholdsLT[3], const Npp8u rValuesLT[3], const Npp8u rThresholdsGT[3], const Npp8u rValuesGT[3], NppStreamContext nppStreamCtx)
 3 channel 8-bit unsigned char in place threshold. More...
 
NppStatus nppiThreshold_LTValGTVal_8u_C3IR (Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp8u rThresholdsLT[3], const Npp8u rValuesLT[3], const Npp8u rThresholdsGT[3], const Npp8u rValuesGT[3])
 
NppStatus nppiThreshold_LTValGTVal_16u_C3R_Ctx (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp16u rThresholdsLT[3], const Npp16u rValuesLT[3], const Npp16u rThresholdsGT[3], const Npp16u rValuesGT[3], NppStreamContext nppStreamCtx)
 3 channel 16-bit unsigned short threshold. More...
 
NppStatus nppiThreshold_LTValGTVal_16u_C3R (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp16u rThresholdsLT[3], const Npp16u rValuesLT[3], const Npp16u rThresholdsGT[3], const Npp16u rValuesGT[3])
 
NppStatus nppiThreshold_LTValGTVal_16u_C3IR_Ctx (Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp16u rThresholdsLT[3], const Npp16u rValuesLT[3], const Npp16u rThresholdsGT[3], const Npp16u rValuesGT[3], NppStreamContext nppStreamCtx)
 3 channel 16-bit unsigned short in place threshold. More...
 
NppStatus nppiThreshold_LTValGTVal_16u_C3IR (Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp16u rThresholdsLT[3], const Npp16u rValuesLT[3], const Npp16u rThresholdsGT[3], const Npp16u rValuesGT[3])
 
NppStatus nppiThreshold_LTValGTVal_16s_C3R_Ctx (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp16s rThresholdsLT[3], const Npp16s rValuesLT[3], const Npp16s rThresholdsGT[3], const Npp16s rValuesGT[3], NppStreamContext nppStreamCtx)
 3 channel 16-bit signed short threshold. More...
 
NppStatus nppiThreshold_LTValGTVal_16s_C3R (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp16s rThresholdsLT[3], const Npp16s rValuesLT[3], const Npp16s rThresholdsGT[3], const Npp16s rValuesGT[3])
 
NppStatus nppiThreshold_LTValGTVal_16s_C3IR_Ctx (Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp16s rThresholdsLT[3], const Npp16s rValuesLT[3], const Npp16s rThresholdsGT[3], const Npp16s rValuesGT[3], NppStreamContext nppStreamCtx)
 3 channel 16-bit signed short in place threshold. More...
 
NppStatus nppiThreshold_LTValGTVal_16s_C3IR (Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp16s rThresholdsLT[3], const Npp16s rValuesLT[3], const Npp16s rThresholdsGT[3], const Npp16s rValuesGT[3])
 
NppStatus nppiThreshold_LTValGTVal_32f_C3R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f rThresholdsLT[3], const Npp32f rValuesLT[3], const Npp32f rThresholdsGT[3], const Npp32f rValuesGT[3], NppStreamContext nppStreamCtx)
 3 channel 32-bit floating point threshold. More...
 
NppStatus nppiThreshold_LTValGTVal_32f_C3R (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f rThresholdsLT[3], const Npp32f rValuesLT[3], const Npp32f rThresholdsGT[3], const Npp32f rValuesGT[3])
 
NppStatus nppiThreshold_LTValGTVal_32f_C3IR_Ctx (Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp32f rThresholdsLT[3], const Npp32f rValuesLT[3], const Npp32f rThresholdsGT[3], const Npp32f rValuesGT[3], NppStreamContext nppStreamCtx)
 3 channel 32-bit floating point in place threshold. More...
 
NppStatus nppiThreshold_LTValGTVal_32f_C3IR (Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp32f rThresholdsLT[3], const Npp32f rValuesLT[3], const Npp32f rThresholdsGT[3], const Npp32f rValuesGT[3])
 
NppStatus nppiThreshold_LTValGTVal_8u_AC4R_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u rThresholdsLT[3], const Npp8u rValuesLT[3], const Npp8u rThresholdsGT[3], const Npp8u rValuesGT[3], NppStreamContext nppStreamCtx)
 4 channel 8-bit unsigned char image threshold, not affecting Alpha. More...
 
NppStatus nppiThreshold_LTValGTVal_8u_AC4R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u rThresholdsLT[3], const Npp8u rValuesLT[3], const Npp8u rThresholdsGT[3], const Npp8u rValuesGT[3])
 
NppStatus nppiThreshold_LTValGTVal_8u_AC4IR_Ctx (Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp8u rThresholdsLT[3], const Npp8u rValuesLT[3], const Npp8u rThresholdsGT[3], const Npp8u rValuesGT[3], NppStreamContext nppStreamCtx)
 4 channel 8-bit unsigned char in place image threshold, not affecting Alpha. More...
 
NppStatus nppiThreshold_LTValGTVal_8u_AC4IR (Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp8u rThresholdsLT[3], const Npp8u rValuesLT[3], const Npp8u rThresholdsGT[3], const Npp8u rValuesGT[3])
 
NppStatus nppiThreshold_LTValGTVal_16u_AC4R_Ctx (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp16u rThresholdsLT[3], const Npp16u rValuesLT[3], const Npp16u rThresholdsGT[3], const Npp16u rValuesGT[3], NppStreamContext nppStreamCtx)
 4 channel 16-bit unsigned short image threshold, not affecting Alpha. More...
 
NppStatus nppiThreshold_LTValGTVal_16u_AC4R (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp16u rThresholdsLT[3], const Npp16u rValuesLT[3], const Npp16u rThresholdsGT[3], const Npp16u rValuesGT[3])
 
NppStatus nppiThreshold_LTValGTVal_16u_AC4IR_Ctx (Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp16u rThresholdsLT[3], const Npp16u rValuesLT[3], const Npp16u rThresholdsGT[3], const Npp16u rValuesGT[3], NppStreamContext nppStreamCtx)
 4 channel 16-bit unsigned short in place image threshold, not affecting Alpha. More...
 
NppStatus nppiThreshold_LTValGTVal_16u_AC4IR (Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp16u rThresholdsLT[3], const Npp16u rValuesLT[3], const Npp16u rThresholdsGT[3], const Npp16u rValuesGT[3])
 
NppStatus nppiThreshold_LTValGTVal_16s_AC4R_Ctx (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp16s rThresholdsLT[3], const Npp16s rValuesLT[3], const Npp16s rThresholdsGT[3], const Npp16s rValuesGT[3], NppStreamContext nppStreamCtx)
 4 channel 16-bit signed short image threshold, not affecting Alpha. More...
 
NppStatus nppiThreshold_LTValGTVal_16s_AC4R (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp16s rThresholdsLT[3], const Npp16s rValuesLT[3], const Npp16s rThresholdsGT[3], const Npp16s rValuesGT[3])
 
NppStatus nppiThreshold_LTValGTVal_16s_AC4IR_Ctx (Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp16s rThresholdsLT[3], const Npp16s rValuesLT[3], const Npp16s rThresholdsGT[3], const Npp16s rValuesGT[3], NppStreamContext nppStreamCtx)
 4 channel 16-bit signed short in place image threshold, not affecting Alpha. More...
 
NppStatus nppiThreshold_LTValGTVal_16s_AC4IR (Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp16s rThresholdsLT[3], const Npp16s rValuesLT[3], const Npp16s rThresholdsGT[3], const Npp16s rValuesGT[3])
 
NppStatus nppiThreshold_LTValGTVal_32f_AC4R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f rThresholdsLT[3], const Npp32f rValuesLT[3], const Npp32f rThresholdsGT[3], const Npp32f rValuesGT[3], NppStreamContext nppStreamCtx)
 4 channel 32-bit floating point image threshold, not affecting Alpha. More...
 
NppStatus nppiThreshold_LTValGTVal_32f_AC4R (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f rThresholdsLT[3], const Npp32f rValuesLT[3], const Npp32f rThresholdsGT[3], const Npp32f rValuesGT[3])
 
NppStatus nppiThreshold_LTValGTVal_32f_AC4IR_Ctx (Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp32f rThresholdsLT[3], const Npp32f rValuesLT[3], const Npp32f rThresholdsGT[3], const Npp32f rValuesGT[3], NppStreamContext nppStreamCtx)
 4 channel 32-bit floating point in place image threshold, not affecting Alpha. More...
 
NppStatus nppiThreshold_LTValGTVal_32f_AC4IR (Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp32f rThresholdsLT[3], const Npp32f rValuesLT[3], const Npp32f rThresholdsGT[3], const Npp32f rValuesGT[3])
 

Detailed Description

Replace image pixels less than thresholdLT or greater than thresholdGT with with valueLT or valueGT respectively.

Common parameters for nppiThreshold_LTValGTVal non-inplace and inplace functions include:

Parameters
pSrcDstIn-Place Image Pointer for inplace functions.
nSrcDstStepIn-Place-Image Line Step for inplace functions.
pSrcSource-Image Pointer for non-inplace functions.
nSrcStepSource-Image Line Step for non-inplace functions.
pDstDestination-Image Pointer for non-inplace functions.
nDstStepDestination-Image Line Step for non-inplace functions.
oSizeROIRegion-of-Interest (ROI).
nThresholdLTThe thresholdLT value.
nValueLTThe thresholdLT replacement value.
nThresholdGTThe thresholdGT value.
nValueGTThe thresholdGT replacement value.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes.

Function Documentation

NppStatus nppiThreshold_LTValGTVal_16s_AC4IR ( Npp16s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp16s  rThresholdsLT[3],
const Npp16s  rValuesLT[3],
const Npp16s  rThresholdsGT[3],
const Npp16s  rValuesGT[3] 
)
NppStatus nppiThreshold_LTValGTVal_16s_AC4IR_Ctx ( Npp16s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp16s  rThresholdsLT[3],
const Npp16s  rValuesLT[3],
const Npp16s  rThresholdsGT[3],
const Npp16s  rValuesGT[3],
NppStreamContext  nppStreamCtx 
)

4 channel 16-bit signed short in place image threshold, not affecting Alpha.

If for a comparison operations sourcePixel is less than rThresholdLT is true, the pixel is set value is set to rValueLT, else if sourcePixel is greater than rThresholdGT the pixel is set to rValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_16s_AC4R ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp16s  rThresholdsLT[3],
const Npp16s  rValuesLT[3],
const Npp16s  rThresholdsGT[3],
const Npp16s  rValuesGT[3] 
)
NppStatus nppiThreshold_LTValGTVal_16s_AC4R_Ctx ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp16s  rThresholdsLT[3],
const Npp16s  rValuesLT[3],
const Npp16s  rThresholdsGT[3],
const Npp16s  rValuesGT[3],
NppStreamContext  nppStreamCtx 
)

4 channel 16-bit signed short image threshold, not affecting Alpha.

If for a comparison operations sourcePixel is less than rThresholdLT is true, the pixel is set value is set to rValueLT, else if sourcePixel is greater than rThresholdGT the pixel is set to rValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_16s_C1IR ( Npp16s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp16s  nThresholdLT,
const Npp16s  nValueLT,
const Npp16s  nThresholdGT,
const Npp16s  nValueGT 
)
NppStatus nppiThreshold_LTValGTVal_16s_C1IR_Ctx ( Npp16s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp16s  nThresholdLT,
const Npp16s  nValueLT,
const Npp16s  nThresholdGT,
const Npp16s  nValueGT,
NppStreamContext  nppStreamCtx 
)

1 channel 16-bit signed short in place threshold.

If for a comparison operations sourcePixel is less than nThresholdLT is true, the pixel is set to nValueLT, else if sourcePixel is greater than nThresholdGT the pixel is set to nValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_16s_C1R ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp16s  nThresholdLT,
const Npp16s  nValueLT,
const Npp16s  nThresholdGT,
const Npp16s  nValueGT 
)
NppStatus nppiThreshold_LTValGTVal_16s_C1R_Ctx ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp16s  nThresholdLT,
const Npp16s  nValueLT,
const Npp16s  nThresholdGT,
const Npp16s  nValueGT,
NppStreamContext  nppStreamCtx 
)

1 channel 16-bit signed short threshold.

If for a comparison operations sourcePixel is less than nThresholdLT is true, the pixel is set to nValueLT, else if sourcePixel is greater than nThresholdGT the pixel is set to nValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_16s_C3IR ( Npp16s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp16s  rThresholdsLT[3],
const Npp16s  rValuesLT[3],
const Npp16s  rThresholdsGT[3],
const Npp16s  rValuesGT[3] 
)
NppStatus nppiThreshold_LTValGTVal_16s_C3IR_Ctx ( Npp16s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp16s  rThresholdsLT[3],
const Npp16s  rValuesLT[3],
const Npp16s  rThresholdsGT[3],
const Npp16s  rValuesGT[3],
NppStreamContext  nppStreamCtx 
)

3 channel 16-bit signed short in place threshold.

If for a comparison operations sourcePixel is less than rThresholdLT is true, the pixel is set to rValueLT, else if sourcePixel is greater than rThresholdGT the pixel is set to rValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_16s_C3R ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp16s  rThresholdsLT[3],
const Npp16s  rValuesLT[3],
const Npp16s  rThresholdsGT[3],
const Npp16s  rValuesGT[3] 
)
NppStatus nppiThreshold_LTValGTVal_16s_C3R_Ctx ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp16s  rThresholdsLT[3],
const Npp16s  rValuesLT[3],
const Npp16s  rThresholdsGT[3],
const Npp16s  rValuesGT[3],
NppStreamContext  nppStreamCtx 
)

3 channel 16-bit signed short threshold.

If for a comparison operations sourcePixel is less than rThresholdLT is true, the pixel is set to rValueLT, else if sourcePixel is greater than rThresholdGT the pixel is set to rValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_16u_AC4IR ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp16u  rThresholdsLT[3],
const Npp16u  rValuesLT[3],
const Npp16u  rThresholdsGT[3],
const Npp16u  rValuesGT[3] 
)
NppStatus nppiThreshold_LTValGTVal_16u_AC4IR_Ctx ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp16u  rThresholdsLT[3],
const Npp16u  rValuesLT[3],
const Npp16u  rThresholdsGT[3],
const Npp16u  rValuesGT[3],
NppStreamContext  nppStreamCtx 
)

4 channel 16-bit unsigned short in place image threshold, not affecting Alpha.

If for a comparison operations sourcePixel is less than rThresholdLT is true, the pixel is set value is set to rValueLT, else if sourcePixel is greater than rThresholdGT the pixel is set to rValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_16u_AC4R ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp16u  rThresholdsLT[3],
const Npp16u  rValuesLT[3],
const Npp16u  rThresholdsGT[3],
const Npp16u  rValuesGT[3] 
)
NppStatus nppiThreshold_LTValGTVal_16u_AC4R_Ctx ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp16u  rThresholdsLT[3],
const Npp16u  rValuesLT[3],
const Npp16u  rThresholdsGT[3],
const Npp16u  rValuesGT[3],
NppStreamContext  nppStreamCtx 
)

4 channel 16-bit unsigned short image threshold, not affecting Alpha.

If for a comparison operations sourcePixel is less than rThresholdLT is true, the pixel is set value is set to rValueLT, else if sourcePixel is greater than rThresholdGT the pixel is set to rValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_16u_C1IR ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp16u  nThresholdLT,
const Npp16u  nValueLT,
const Npp16u  nThresholdGT,
const Npp16u  nValueGT 
)
NppStatus nppiThreshold_LTValGTVal_16u_C1IR_Ctx ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp16u  nThresholdLT,
const Npp16u  nValueLT,
const Npp16u  nThresholdGT,
const Npp16u  nValueGT,
NppStreamContext  nppStreamCtx 
)

1 channel 16-bit unsigned short in place threshold.

If for a comparison operations sourcePixel is less than nThresholdLT is true, the pixel is set to nValueLT, else if sourcePixel is greater than nThresholdGT the pixel is set to nValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_16u_C1R ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp16u  nThresholdLT,
const Npp16u  nValueLT,
const Npp16u  nThresholdGT,
const Npp16u  nValueGT 
)
NppStatus nppiThreshold_LTValGTVal_16u_C1R_Ctx ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp16u  nThresholdLT,
const Npp16u  nValueLT,
const Npp16u  nThresholdGT,
const Npp16u  nValueGT,
NppStreamContext  nppStreamCtx 
)

1 channel 16-bit unsigned short threshold.

If for a comparison operations sourcePixel is less than nThresholdLT is true, the pixel is set to nValueLT, else if sourcePixel is greater than nThresholdGT the pixel is set to nValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_16u_C3IR ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp16u  rThresholdsLT[3],
const Npp16u  rValuesLT[3],
const Npp16u  rThresholdsGT[3],
const Npp16u  rValuesGT[3] 
)
NppStatus nppiThreshold_LTValGTVal_16u_C3IR_Ctx ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp16u  rThresholdsLT[3],
const Npp16u  rValuesLT[3],
const Npp16u  rThresholdsGT[3],
const Npp16u  rValuesGT[3],
NppStreamContext  nppStreamCtx 
)

3 channel 16-bit unsigned short in place threshold.

If for a comparison operations sourcePixel is less than rThresholdLT is true, the pixel is set to rValueLT, else if sourcePixel is greater than rThresholdGT the pixel is set to rValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_16u_C3R ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp16u  rThresholdsLT[3],
const Npp16u  rValuesLT[3],
const Npp16u  rThresholdsGT[3],
const Npp16u  rValuesGT[3] 
)
NppStatus nppiThreshold_LTValGTVal_16u_C3R_Ctx ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp16u  rThresholdsLT[3],
const Npp16u  rValuesLT[3],
const Npp16u  rThresholdsGT[3],
const Npp16u  rValuesGT[3],
NppStreamContext  nppStreamCtx 
)

3 channel 16-bit unsigned short threshold.

If for a comparison operations sourcePixel is less than rThresholdLT is true, the pixel is set to rValueLT, else if sourcePixel is greater than rThresholdGT the pixel is set to rValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_32f_AC4IR ( Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp32f  rThresholdsLT[3],
const Npp32f  rValuesLT[3],
const Npp32f  rThresholdsGT[3],
const Npp32f  rValuesGT[3] 
)
NppStatus nppiThreshold_LTValGTVal_32f_AC4IR_Ctx ( Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp32f  rThresholdsLT[3],
const Npp32f  rValuesLT[3],
const Npp32f  rThresholdsGT[3],
const Npp32f  rValuesGT[3],
NppStreamContext  nppStreamCtx 
)

4 channel 32-bit floating point in place image threshold, not affecting Alpha.

If for a comparison operations sourcePixel is less than rThresholdLT is true, the pixel is set value is set to rValueLT, else if sourcePixel is greater than rThresholdGT the pixel is set to rValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_32f_AC4R ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f  rThresholdsLT[3],
const Npp32f  rValuesLT[3],
const Npp32f  rThresholdsGT[3],
const Npp32f  rValuesGT[3] 
)
NppStatus nppiThreshold_LTValGTVal_32f_AC4R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f  rThresholdsLT[3],
const Npp32f  rValuesLT[3],
const Npp32f  rThresholdsGT[3],
const Npp32f  rValuesGT[3],
NppStreamContext  nppStreamCtx 
)

4 channel 32-bit floating point image threshold, not affecting Alpha.

If for a comparison operations sourcePixel is less than rThresholdLT is true, the pixel is set value is set to rValueLT, else if sourcePixel is greater than rThresholdGT the pixel is set to rValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_32f_C1IR ( Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp32f  nThresholdLT,
const Npp32f  nValueLT,
const Npp32f  nThresholdGT,
const Npp32f  nValueGT 
)
NppStatus nppiThreshold_LTValGTVal_32f_C1IR_Ctx ( Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp32f  nThresholdLT,
const Npp32f  nValueLT,
const Npp32f  nThresholdGT,
const Npp32f  nValueGT,
NppStreamContext  nppStreamCtx 
)

1 channel 32-bit floating point in place threshold.

If for a comparison operations sourcePixel is less than nThresholdLT is true, the pixel is set to nValueLT, else if sourcePixel is greater than nThresholdGT the pixel is set to nValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_32f_C1R ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f  nThresholdLT,
const Npp32f  nValueLT,
const Npp32f  nThresholdGT,
const Npp32f  nValueGT 
)
NppStatus nppiThreshold_LTValGTVal_32f_C1R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f  nThresholdLT,
const Npp32f  nValueLT,
const Npp32f  nThresholdGT,
const Npp32f  nValueGT,
NppStreamContext  nppStreamCtx 
)

1 channel 32-bit floating point threshold.

If for a comparison operations sourcePixel is less than nThresholdLT is true, the pixel is set to nValueLT, else if sourcePixel is greater than nThresholdGT the pixel is set to nValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_32f_C3IR ( Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp32f  rThresholdsLT[3],
const Npp32f  rValuesLT[3],
const Npp32f  rThresholdsGT[3],
const Npp32f  rValuesGT[3] 
)
NppStatus nppiThreshold_LTValGTVal_32f_C3IR_Ctx ( Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp32f  rThresholdsLT[3],
const Npp32f  rValuesLT[3],
const Npp32f  rThresholdsGT[3],
const Npp32f  rValuesGT[3],
NppStreamContext  nppStreamCtx 
)

3 channel 32-bit floating point in place threshold.

If for a comparison operations sourcePixel is less than rThresholdLT is true, the pixel is set to rValueLT, else if sourcePixel is greater than rThresholdGT the pixel is set to rValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_32f_C3R ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f  rThresholdsLT[3],
const Npp32f  rValuesLT[3],
const Npp32f  rThresholdsGT[3],
const Npp32f  rValuesGT[3] 
)
NppStatus nppiThreshold_LTValGTVal_32f_C3R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f  rThresholdsLT[3],
const Npp32f  rValuesLT[3],
const Npp32f  rThresholdsGT[3],
const Npp32f  rValuesGT[3],
NppStreamContext  nppStreamCtx 
)

3 channel 32-bit floating point threshold.

If for a comparison operations sourcePixel is less than rThresholdLT is true, the pixel is set to rValueLT, else if sourcePixel is greater than rThresholdGT the pixel is set to rValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_8u_AC4IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp8u  rThresholdsLT[3],
const Npp8u  rValuesLT[3],
const Npp8u  rThresholdsGT[3],
const Npp8u  rValuesGT[3] 
)
NppStatus nppiThreshold_LTValGTVal_8u_AC4IR_Ctx ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp8u  rThresholdsLT[3],
const Npp8u  rValuesLT[3],
const Npp8u  rThresholdsGT[3],
const Npp8u  rValuesGT[3],
NppStreamContext  nppStreamCtx 
)

4 channel 8-bit unsigned char in place image threshold, not affecting Alpha.

If for a comparison operations sourcePixel is less than rThresholdLT is true, the pixel is set value is set to rValueLT, else if sourcePixel is greater than rThresholdGT the pixel is set to rValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_8u_AC4R ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u  rThresholdsLT[3],
const Npp8u  rValuesLT[3],
const Npp8u  rThresholdsGT[3],
const Npp8u  rValuesGT[3] 
)
NppStatus nppiThreshold_LTValGTVal_8u_AC4R_Ctx ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u  rThresholdsLT[3],
const Npp8u  rValuesLT[3],
const Npp8u  rThresholdsGT[3],
const Npp8u  rValuesGT[3],
NppStreamContext  nppStreamCtx 
)

4 channel 8-bit unsigned char image threshold, not affecting Alpha.

If for a comparison operations sourcePixel is less than rThresholdLT is true, the pixel is set value is set to rValueLT, else if sourcePixel is greater than rThresholdGT the pixel is set to rValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_8u_C1IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp8u  nThresholdLT,
const Npp8u  nValueLT,
const Npp8u  nThresholdGT,
const Npp8u  nValueGT 
)
NppStatus nppiThreshold_LTValGTVal_8u_C1IR_Ctx ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp8u  nThresholdLT,
const Npp8u  nValueLT,
const Npp8u  nThresholdGT,
const Npp8u  nValueGT,
NppStreamContext  nppStreamCtx 
)

1 channel 8-bit unsigned char in place threshold.

If for a comparison operations sourcePixel is less than nThresholdLT is true, the pixel is set to nValueLT, else if sourcePixel is greater than nThresholdGT the pixel is set to nValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_8u_C1R ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u  nThresholdLT,
const Npp8u  nValueLT,
const Npp8u  nThresholdGT,
const Npp8u  nValueGT 
)
NppStatus nppiThreshold_LTValGTVal_8u_C1R_Ctx ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u  nThresholdLT,
const Npp8u  nValueLT,
const Npp8u  nThresholdGT,
const Npp8u  nValueGT,
NppStreamContext  nppStreamCtx 
)

1 channel 8-bit unsigned char threshold.

If for a comparison operations sourcePixel is less than nThresholdLT is true, the pixel is set to nValueLT, else if sourcePixel is greater than nThresholdGT the pixel is set to nValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_8u_C3IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp8u  rThresholdsLT[3],
const Npp8u  rValuesLT[3],
const Npp8u  rThresholdsGT[3],
const Npp8u  rValuesGT[3] 
)
NppStatus nppiThreshold_LTValGTVal_8u_C3IR_Ctx ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp8u  rThresholdsLT[3],
const Npp8u  rValuesLT[3],
const Npp8u  rThresholdsGT[3],
const Npp8u  rValuesGT[3],
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned char in place threshold.

If for a comparison operations sourcePixel is less than rThresholdLT is true, the pixel is set to rValueLT, else if sourcePixel is greater than rThresholdGT the pixel is set to rValueGT, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LTValGTVal_8u_C3R ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u  rThresholdsLT[3],
const Npp8u  rValuesLT[3],
const Npp8u  rThresholdsGT[3],
const Npp8u  rValuesGT[3] 
)
NppStatus nppiThreshold_LTValGTVal_8u_C3R_Ctx ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u  rThresholdsLT[3],
const Npp8u  rValuesLT[3],
const Npp8u  rThresholdsGT[3],
const Npp8u  rValuesGT[3],
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned char threshold.

If for a comparison operations sourcePixel is less than rThresholdLT is true, the pixel is set to rValueLT, else if sourcePixel is greater than rThresholdGT the pixel is set to rValueGT, otherwise it is set to sourcePixel.

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


Copyright © 2009-2022 NVIDIA CORPORATION AND AFFILIATES