NVIDIA Performance Primitives (NPP)  Version 9.1
Functions
Threshold Less Than Operations

Threshold less than image pixels. More...

Functions

NppStatus nppiThreshold_LT_8u_C1R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u nThreshold)
 1 channel 8-bit unsigned char threshold. More...
 
NppStatus nppiThreshold_LT_8u_C1IR (Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp8u nThreshold)
 1 channel 8-bit unsigned char in place threshold. More...
 
NppStatus nppiThreshold_LT_16u_C1R (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp16u nThreshold)
 1 channel 16-bit unsigned short threshold. More...
 
NppStatus nppiThreshold_LT_16u_C1IR (Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp16u nThreshold)
 1 channel 16-bit unsigned short in place threshold. More...
 
NppStatus nppiThreshold_LT_16s_C1R (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp16s nThreshold)
 1 channel 16-bit signed short threshold. More...
 
NppStatus nppiThreshold_LT_16s_C1IR (Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp16s nThreshold)
 1 channel 16-bit signed short in place threshold. More...
 
NppStatus nppiThreshold_LT_32f_C1R (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f nThreshold)
 1 channel 32-bit floating point threshold. More...
 
NppStatus nppiThreshold_LT_32f_C1IR (Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp32f nThreshold)
 1 channel 32-bit floating point in place threshold. More...
 
NppStatus nppiThreshold_LT_8u_C3R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u rThresholds[3])
 3 channel 8-bit unsigned char threshold. More...
 
NppStatus nppiThreshold_LT_8u_C3IR (Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp8u rThresholds[3])
 3 channel 8-bit unsigned char in place threshold. More...
 
NppStatus nppiThreshold_LT_16u_C3R (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp16u rThresholds[3])
 3 channel 16-bit unsigned short threshold. More...
 
NppStatus nppiThreshold_LT_16u_C3IR (Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp16u rThresholds[3])
 3 channel 16-bit unsigned short in place threshold. More...
 
NppStatus nppiThreshold_LT_16s_C3R (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp16s rThresholds[3])
 3 channel 16-bit signed short threshold. More...
 
NppStatus nppiThreshold_LT_16s_C3IR (Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp16s rThresholds[3])
 3 channel 16-bit signed short in place threshold. More...
 
NppStatus nppiThreshold_LT_32f_C3R (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f rThresholds[3])
 3 channel 32-bit floating point threshold. More...
 
NppStatus nppiThreshold_LT_32f_C3IR (Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp32f rThresholds[3])
 3 channel 32-bit floating point in place threshold. More...
 
NppStatus nppiThreshold_LT_8u_AC4R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u rThresholds[3])
 4 channel 8-bit unsigned char image threshold, not affecting Alpha. More...
 
NppStatus nppiThreshold_LT_8u_AC4IR (Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp8u rThresholds[3])
 4 channel 8-bit unsigned char in place image threshold, not affecting Alpha. More...
 
NppStatus nppiThreshold_LT_16u_AC4R (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp16u rThresholds[3])
 4 channel 16-bit unsigned short image threshold, not affecting Alpha. More...
 
NppStatus nppiThreshold_LT_16u_AC4IR (Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp16u rThresholds[3])
 4 channel 16-bit unsigned short in place image threshold, not affecting Alpha. More...
 
NppStatus nppiThreshold_LT_16s_AC4R (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp16s rThresholds[3])
 4 channel 16-bit signed short image threshold, not affecting Alpha. More...
 
NppStatus nppiThreshold_LT_16s_AC4IR (Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp16s rThresholds[3])
 4 channel 16-bit signed short in place image threshold, not affecting Alpha. More...
 
NppStatus nppiThreshold_LT_32f_AC4R (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f rThresholds[3])
 4 channel 32-bit floating point image threshold, not affecting Alpha. More...
 
NppStatus nppiThreshold_LT_32f_AC4IR (Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const Npp32f rThresholds[3])
 4 channel 32-bit floating point in place image threshold, not affecting Alpha. More...
 

Detailed Description

Threshold less than image pixels.

Common parameters for nppiThreshold_LT 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).
nThresholdThe threshold value.
Returns
Image Data Related Error Codes, ROI Related Error Codes.

Function Documentation

NppStatus nppiThreshold_LT_16s_AC4IR ( Npp16s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp16s  rThresholds[3] 
)

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

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set value is set to nThreshold, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LT_16s_AC4R ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp16s  rThresholds[3] 
)

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

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set value is set to nThreshold, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LT_16s_C1IR ( Npp16s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp16s  nThreshold 
)

1 channel 16-bit signed short in place threshold.

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.

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

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

1 channel 16-bit signed short threshold.

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LT_16s_C3IR ( Npp16s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp16s  rThresholds[3] 
)

3 channel 16-bit signed short in place threshold.

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LT_16s_C3R ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp16s  rThresholds[3] 
)

3 channel 16-bit signed short threshold.

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LT_16u_AC4IR ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp16u  rThresholds[3] 
)

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

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set value is set to nThreshold, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LT_16u_AC4R ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp16u  rThresholds[3] 
)

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

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set value is set to nThreshold, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LT_16u_C1IR ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp16u  nThreshold 
)

1 channel 16-bit unsigned short in place threshold.

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.

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

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

1 channel 16-bit unsigned short threshold.

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LT_16u_C3IR ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp16u  rThresholds[3] 
)

3 channel 16-bit unsigned short in place threshold.

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LT_16u_C3R ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp16u  rThresholds[3] 
)

3 channel 16-bit unsigned short threshold.

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LT_32f_AC4IR ( Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp32f  rThresholds[3] 
)

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

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set value is set to nThreshold, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LT_32f_AC4R ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f  rThresholds[3] 
)

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

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set value is set to nThreshold, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LT_32f_C1IR ( Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp32f  nThreshold 
)

1 channel 32-bit floating point in place threshold.

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.

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

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

1 channel 32-bit floating point threshold.

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LT_32f_C3IR ( Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp32f  rThresholds[3] 
)

3 channel 32-bit floating point in place threshold.

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LT_32f_C3R ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp32f  rThresholds[3] 
)

3 channel 32-bit floating point threshold.

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LT_8u_AC4IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp8u  rThresholds[3] 
)

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

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set value is set to nThreshold, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LT_8u_AC4R ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u  rThresholds[3] 
)

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

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set value is set to nThreshold, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LT_8u_C1IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp8u  nThreshold 
)

1 channel 8-bit unsigned char in place threshold.

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.

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

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

1 channel 8-bit unsigned char threshold.

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LT_8u_C3IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
const Npp8u  rThresholds[3] 
)

3 channel 8-bit unsigned char in place threshold.

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.

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

NppStatus nppiThreshold_LT_8u_C3R ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
const Npp8u  rThresholds[3] 
)

3 channel 8-bit unsigned char threshold.

If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.

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


Copyright © 2009-2017 NVIDIA Corporation