Class NPPNativeMethods.NPPs.Threshold
Performs the threshold operation on the samples of a signal by limiting the sample values by a specified constant value.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class Threshold
Methods
nppsThreshold_16s(CUdeviceptr, CUdeviceptr, Int32, Int16, NppCmpOp)
16-bit signed short signal threshold with constant level.
Declaration
public static NppStatus nppsThreshold_16s(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, short nLevel, NppCmpOp nRelOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Int16 | nLevel | Constant threshold value to be used to limit each signal sample |
NppCmpOp | nRelOp | NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only) |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_16s_I(CUdeviceptr, Int32, Int16, NppCmpOp)
16-bit in place signed short signal threshold with constant level.
Declaration
public static NppStatus nppsThreshold_16s_I(CUdeviceptr pSrcDst, int nLength, short nLevel, NppCmpOp nRelOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Int16 | nLevel | Constant threshold value to be used to limit each signal sample |
NppCmpOp | nRelOp | NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only) |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_16sc(CUdeviceptr, CUdeviceptr, Int32, Int16, NppCmpOp)
16-bit signed short complex number signal threshold with constant level.
Declaration
public static NppStatus nppsThreshold_16sc(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, short nLevel, NppCmpOp nRelOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Int16 | nLevel | Constant threshold value to be used to limit each signal sample |
NppCmpOp | nRelOp | NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only) |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_16sc_I(CUdeviceptr, Int32, Int16, NppCmpOp)
16-bit in place signed short complex number signal threshold with constant level.
Declaration
public static NppStatus nppsThreshold_16sc_I(CUdeviceptr pSrcDst, int nLength, short nLevel, NppCmpOp nRelOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Int16 | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
NppCmpOp | nRelOp | NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only) |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_32f(CUdeviceptr, CUdeviceptr, Int32, Single, NppCmpOp)
32-bit floating point signal threshold with constant level.
Declaration
public static NppStatus nppsThreshold_32f(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, float nLevel, NppCmpOp nRelOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Single | nLevel | Constant threshold value to be used to limit each signal sample |
NppCmpOp | nRelOp | NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only) |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_32f_I(CUdeviceptr, Int32, Single, NppCmpOp)
32-bit in place floating point signal threshold with constant level.
Declaration
public static NppStatus nppsThreshold_32f_I(CUdeviceptr pSrcDst, int nLength, float nLevel, NppCmpOp nRelOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Single | nLevel | Constant threshold value to be used to limit each signal sample |
NppCmpOp | nRelOp | NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only) |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_32fc(CUdeviceptr, CUdeviceptr, Int32, Single, NppCmpOp)
32-bit floating point complex number signal threshold with constant level.
Declaration
public static NppStatus nppsThreshold_32fc(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, float nLevel, NppCmpOp nRelOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Single | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
NppCmpOp | nRelOp | NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only) |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_32fc_I(CUdeviceptr, Int32, Single, NppCmpOp)
32-bit in place floating point complex number signal threshold with constant level.
Declaration
public static NppStatus nppsThreshold_32fc_I(CUdeviceptr pSrcDst, int nLength, float nLevel, NppCmpOp nRelOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Single | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
NppCmpOp | nRelOp | NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only) |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_64f(CUdeviceptr, CUdeviceptr, Int32, Double, NppCmpOp)
64-bit floating point signal threshold with constant level.
Declaration
public static NppStatus nppsThreshold_64f(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, double nLevel, NppCmpOp nRelOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Double | nLevel | Constant threshold value to be used to limit each signal sample |
NppCmpOp | nRelOp | NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only) |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_64f_I(CUdeviceptr, Int32, Double, NppCmpOp)
64-bit in place floating point signal threshold with constant level.
Declaration
public static NppStatus nppsThreshold_64f_I(CUdeviceptr pSrcDst, int nLength, double nLevel, NppCmpOp nRelOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Double | nLevel | Constant threshold value to be used to limit each signal sample |
NppCmpOp | nRelOp | NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only) |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_64fc(CUdeviceptr, CUdeviceptr, Int32, Double, NppCmpOp)
64-bit floating point complex number signal threshold with constant level.
Declaration
public static NppStatus nppsThreshold_64fc(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, double nLevel, NppCmpOp nRelOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Double | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
NppCmpOp | nRelOp | NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only) |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_64fc_I(CUdeviceptr, Int32, Double, NppCmpOp)
64-bit in place floating point complex number signal threshold with constant level.
Declaration
public static NppStatus nppsThreshold_64fc_I(CUdeviceptr pSrcDst, int nLength, double nLevel, NppCmpOp nRelOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Double | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
NppCmpOp | nRelOp | NppCmpOp type of thresholding operation (NPP_CMP_LESS or NPP_CMP_GREATER only) |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GT_16s(CUdeviceptr, CUdeviceptr, Int32, Int16)
16-bit signed short signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GT_16s(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, short nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Int16 | nLevel | Constant threshold value to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GT_16s_I(CUdeviceptr, Int32, Int16)
16-bit in place signed short signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GT_16s_I(CUdeviceptr pSrcDst, int nLength, short nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Int16 | nLevel | Constant threshold value to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GT_16sc(CUdeviceptr, CUdeviceptr, Int32, Int16)
16-bit signed short complex number signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GT_16sc(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, short nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Int16 | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GT_16sc_I(CUdeviceptr, Int32, Int16)
16-bit in place signed short complex number signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GT_16sc_I(CUdeviceptr pSrcDst, int nLength, short nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Int16 | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GT_32f(CUdeviceptr, CUdeviceptr, Int32, Single)
32-bit floating point signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GT_32f(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, float nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Single | nLevel | Constant threshold value to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GT_32f_I(CUdeviceptr, Int32, Single)
32-bit in place floating point signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GT_32f_I(CUdeviceptr pSrcDst, int nLength, float nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Single | nLevel | Constant threshold value to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GT_32fc(CUdeviceptr, CUdeviceptr, Int32, Single)
32-bit floating point complex number signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GT_32fc(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, float nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Single | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GT_32fc_I(CUdeviceptr, Int32, Single)
32-bit in place floating point complex number signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GT_32fc_I(CUdeviceptr pSrcDst, int nLength, float nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Single | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GT_64f(CUdeviceptr, CUdeviceptr, Int32, Double)
64-bit floating point signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GT_64f(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, double nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Double | nLevel | Constant threshold value to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GT_64f_I(CUdeviceptr, Int32, Double)
64-bit in place floating point signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GT_64f_I(CUdeviceptr pSrcDst, int nLength, double nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Double | nLevel | Constant threshold value to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GT_64fc(CUdeviceptr, CUdeviceptr, Int32, Double)
64-bit floating point complex number signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GT_64fc(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, double nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Double | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GT_64fc_I(CUdeviceptr, Int32, Double)
64-bit in place floating point complex number signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GT_64fc_I(CUdeviceptr pSrcDst, int nLength, double nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Double | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GTVal_16s(CUdeviceptr, CUdeviceptr, Int32, Int16, Int16)
16-bit signed short signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GTVal_16s(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, short nLevel, short nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Int16 | nLevel | Constant threshold value to be used to limit each signal sample |
System.Int16 | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GTVal_16s_I(CUdeviceptr, Int32, Int16, Int16)
16-bit in place signed short signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GTVal_16s_I(CUdeviceptr pSrcDst, int nLength, short nLevel, short nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Int16 | nLevel | Constant threshold value to be used to limit each signal sample |
System.Int16 | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GTVal_16sc(CUdeviceptr, CUdeviceptr, Int32, Int16, Npp16sc)
16-bit signed short complex number signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GTVal_16sc(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, short nLevel, Npp16sc nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Int16 | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Npp16sc | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GTVal_16sc_I(CUdeviceptr, Int32, Int16, Npp16sc)
16-bit in place signed short complex number signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GTVal_16sc_I(CUdeviceptr pSrcDst, int nLength, short nLevel, Npp16sc nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Int16 | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Npp16sc | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GTVal_32f(CUdeviceptr, CUdeviceptr, Int32, Single, Single)
32-bit floating point signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GTVal_32f(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, float nLevel, float nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Single | nLevel | Constant threshold value to be used to limit each signal sample |
System.Single | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GTVal_32f_I(CUdeviceptr, Int32, Single, Single)
32-bit in place floating point signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GTVal_32f_I(CUdeviceptr pSrcDst, int nLength, float nLevel, float nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Single | nLevel | Constant threshold value to be used to limit each signal sample |
System.Single | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GTVal_32fc(CUdeviceptr, CUdeviceptr, Int32, Single, Npp32fc)
32-bit floating point complex number signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GTVal_32fc(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, float nLevel, Npp32fc nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Single | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Npp32fc | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GTVal_32fc_I(CUdeviceptr, Int32, Single, Npp32fc)
32-bit in place floating point complex number signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GTVal_32fc_I(CUdeviceptr pSrcDst, int nLength, float nLevel, Npp32fc nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Single | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Npp32fc | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GTVal_64f(CUdeviceptr, CUdeviceptr, Int32, Double, Double)
64-bit floating point signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GTVal_64f(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, double nLevel, double nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Double | nLevel | Constant threshold value to be used to limit each signal sample |
System.Double | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GTVal_64f_I(CUdeviceptr, Int32, Double, Double)
64-bit in place floating point signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GTVal_64f_I(CUdeviceptr pSrcDst, int nLength, double nLevel, double nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Double | nLevel | Constant threshold value to be used to limit each signal sample |
System.Double | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GTVal_64fc(CUdeviceptr, CUdeviceptr, Int32, Double, Npp64fc)
64-bit floating point complex number signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GTVal_64fc(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, double nLevel, Npp64fc nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Double | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Npp64fc | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_GTVal_64fc_I(CUdeviceptr, Int32, Double, Npp64fc)
64-bit in place floating point complex number signal NPP_CMP_GREATER threshold with constant level.
Declaration
public static NppStatus nppsThreshold_GTVal_64fc_I(CUdeviceptr pSrcDst, int nLength, double nLevel, Npp64fc nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Double | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Npp64fc | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LT_16s(CUdeviceptr, CUdeviceptr, Int32, Int16)
16-bit signed short signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LT_16s(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, short nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Int16 | nLevel | Constant threshold value to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LT_16s_I(CUdeviceptr, Int32, Int16)
16-bit in place signed short signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LT_16s_I(CUdeviceptr pSrcDst, int nLength, short nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Int16 | nLevel | Constant threshold value to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LT_16sc(CUdeviceptr, CUdeviceptr, Int32, Int16)
16-bit signed short complex number signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LT_16sc(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, short nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Int16 | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LT_16sc_I(CUdeviceptr, Int32, Int16)
16-bit in place signed short complex number signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LT_16sc_I(CUdeviceptr pSrcDst, int nLength, short nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Int16 | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LT_32f(CUdeviceptr, CUdeviceptr, Int32, Single)
32-bit floating point signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LT_32f(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, float nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Single | nLevel | Constant threshold value to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LT_32f_I(CUdeviceptr, Int32, Single)
32-bit in place floating point signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LT_32f_I(CUdeviceptr pSrcDst, int nLength, float nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Single | nLevel | Constant threshold value to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LT_32fc(CUdeviceptr, CUdeviceptr, Int32, Single)
32-bit floating point complex number signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LT_32fc(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, float nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Single | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LT_32fc_I(CUdeviceptr, Int32, Single)
32-bit in place floating point complex number signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LT_32fc_I(CUdeviceptr pSrcDst, int nLength, float nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Single | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LT_64f(CUdeviceptr, CUdeviceptr, Int32, Double)
64-bit floating point signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LT_64f(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, double nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Double | nLevel | Constant threshold value to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LT_64f_I(CUdeviceptr, Int32, Double)
64-bit in place floating point signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LT_64f_I(CUdeviceptr pSrcDst, int nLength, double nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Double | nLevel | Constant threshold value to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LT_64fc(CUdeviceptr, CUdeviceptr, Int32, Double)
64-bit floating point complex number signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LT_64fc(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, double nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Double | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LT_64fc_I(CUdeviceptr, Int32, Double)
64-bit in place floating point complex number signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LT_64fc_I(CUdeviceptr pSrcDst, int nLength, double nLevel)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Double | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LTVal_16s(CUdeviceptr, CUdeviceptr, Int32, Int16, Int16)
16-bit signed short signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LTVal_16s(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, short nLevel, short nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Int16 | nLevel | Constant threshold value to be used to limit each signal sample |
System.Int16 | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LTVal_16s_I(CUdeviceptr, Int32, Int16, Int16)
16-bit in place signed short signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LTVal_16s_I(CUdeviceptr pSrcDst, int nLength, short nLevel, short nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Int16 | nLevel | Constant threshold value to be used to limit each signal sample |
System.Int16 | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LTVal_16sc(CUdeviceptr, CUdeviceptr, Int32, Int16, Npp16sc)
16-bit signed short complex number signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LTVal_16sc(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, short nLevel, Npp16sc nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Int16 | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Npp16sc | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LTVal_16sc_I(CUdeviceptr, Int32, Int16, Npp16sc)
16-bit in place signed short complex number signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LTVal_16sc_I(CUdeviceptr pSrcDst, int nLength, short nLevel, Npp16sc nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Int16 | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Npp16sc | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LTVal_32f(CUdeviceptr, CUdeviceptr, Int32, Single, Single)
32-bit floating point signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LTVal_32f(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, float nLevel, float nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Single | nLevel | Constant threshold value to be used to limit each signal sample |
System.Single | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LTVal_32f_I(CUdeviceptr, Int32, Single, Single)
32-bit in place floating point signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LTVal_32f_I(CUdeviceptr pSrcDst, int nLength, float nLevel, float nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Single | nLevel | Constant threshold value to be used to limit each signal sample |
System.Single | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LTVal_32fc(CUdeviceptr, CUdeviceptr, Int32, Single, Npp32fc)
32-bit floating point complex number signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LTVal_32fc(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, float nLevel, Npp32fc nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Single | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Npp32fc | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LTVal_32fc_I(CUdeviceptr, Int32, Single, Npp32fc)
32-bit in place floating point complex number signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LTVal_32fc_I(CUdeviceptr pSrcDst, int nLength, float nLevel, Npp32fc nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Single | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Npp32fc | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LTVal_64f(CUdeviceptr, CUdeviceptr, Int32, Double, Double)
64-bit floating point signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LTVal_64f(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, double nLevel, double nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Double | nLevel | Constant threshold value to be used to limit each signal sample |
System.Double | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LTVal_64f_I(CUdeviceptr, Int32, Double, Double)
64-bit in place floating point signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LTVal_64f_I(CUdeviceptr pSrcDst, int nLength, double nLevel, double nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Double | nLevel | Constant threshold value to be used to limit each signal sample |
System.Double | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LTVal_64fc(CUdeviceptr, CUdeviceptr, Int32, Double, Npp64fc)
64-bit floating point complex number signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LTVal_64fc(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, double nLevel, Npp64fc nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Double | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Npp64fc | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |
nppsThreshold_LTVal_64fc_I(CUdeviceptr, Int32, Double, Npp64fc)
64-bit in place floating point complex number signal NPP_CMP_LESS threshold with constant level.
Declaration
public static NppStatus nppsThreshold_LTVal_64fc_I(CUdeviceptr pSrcDst, int nLength, double nLevel, Npp64fc nValue)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed. |
System.Double | nLevel | Constant threshold value (real part only and must be greater than 0) to be used to limit each signal sample |
Npp64fc | nValue | Constant value to replace source value when threshold test is true. |
Returns
Type | Description |
---|---|
NppStatus |