Class NPPNativeMethods.NPPi.Threshold
Threshold pixels.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class Threshold
Methods
nppiThreshold_16s_AC4IR(CUdeviceptr, Int32, NppiSize, Int16[], NppCmpOp)
4 channel 16-bit signed short in place image threshold, not affecting Alpha. If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel value is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_16s_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, short[] rThresholds, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_16s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int16[], NppCmpOp)
4 channel 16-bit signed short image threshold, not affecting Alpha. If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel value is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, short[] rThresholds, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_16s_C1IR(CUdeviceptr, Int32, NppiSize, Int16, NppCmpOp)
1 channel 16-bit signed short in place threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_16s_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, short nThreshold, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16 | nThreshold | The threshold value. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_16s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int16, NppCmpOp)
1 channel 16-bit signed short threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_16s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, short nThreshold, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16 | nThreshold | The threshold value. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_16s_C3IR(CUdeviceptr, Int32, NppiSize, Int16[], NppCmpOp)
3 channel 16-bit signed short in place threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_16s_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, short[] rThresholds, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_16s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int16[], NppCmpOp)
3 channel 16-bit signed short threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_16s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, short[] rThresholds, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_16u_AC4IR(CUdeviceptr, Int32, NppiSize, UInt16[], NppCmpOp)
4 channel 16-bit unsigned short in place image threshold, not affecting Alpha. If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel value is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_16u_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, ushort[] rThresholds, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_16u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, UInt16[], NppCmpOp)
4 channel 16-bit unsigned short image threshold, not affecting Alpha. If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel value is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, ushort[] rThresholds, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_16u_C1IR(CUdeviceptr, Int32, NppiSize, UInt16, NppCmpOp)
1 channel 16-bit unsigned short in place threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_16u_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, ushort nThreshold, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16 | nThreshold | The threshold value. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_16u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, UInt16, NppCmpOp)
1 channel 16-bit unsigned short threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_16u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, ushort nThreshold, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16 | nThreshold | The threshold value. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_16u_C3IR(CUdeviceptr, Int32, NppiSize, UInt16[], NppCmpOp)
3 channel 16-bit unsigned short in place threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_16u_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, ushort[] rThresholds, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_16u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, UInt16[], NppCmpOp)
3 channel 16-bit unsigned short threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_16u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, ushort[] rThresholds, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_32f_AC4IR(CUdeviceptr, Int32, NppiSize, Single[], NppCmpOp)
4 channel 32-bit floating point in place image threshold, not affecting Alpha. If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel value is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_32f_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, float[] rThresholds, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single[], NppCmpOp)
4 channel 32-bit floating point image threshold, not affecting Alpha. If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel value is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float[] rThresholds, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_32f_C1IR(CUdeviceptr, Int32, NppiSize, Single, NppCmpOp)
1 channel 32-bit floating point in place threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_32f_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, float nThreshold, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single | nThreshold | The threshold value. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, NppCmpOp)
32-bit floating point threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float nThreshold, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single | nThreshold | The threshold value. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_32f_C3IR(CUdeviceptr, Int32, NppiSize, Single[], NppCmpOp)
3 channel 32-bit floating point in place threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_32f_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, float[] rThresholds, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single[], NppCmpOp)
3 channel 32-bit floating point threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_32f_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float[] rThresholds, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_8u_AC4IR(CUdeviceptr, Int32, NppiSize, Byte[], NppCmpOp)
4 channel 8-bit unsigned char in place image threshold, not affecting Alpha. If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel value is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_8u_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, byte[] rThresholds, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Byte[], NppCmpOp)
4 channel 8-bit unsigned image threshold, not affecting Alpha. If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel value is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte[] aThresholds, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | aThresholds | The threshold values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_8u_C1IR(CUdeviceptr, Int32, NppiSize, Byte, NppCmpOp)
1 channel 8-bit unsigned char in place threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_8u_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, byte nThreshold, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte | nThreshold | The threshold value. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Byte, NppCmpOp)
1 channel 8-bit unsigned char threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_8u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte nThreshold, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte | nThreshold | The threshold value. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_8u_C3IR(CUdeviceptr, Int32, NppiSize, Byte[], NppCmpOp)
3 channel 8-bit unsigned char in place threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_8u_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, byte[] rThresholds, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Byte[], NppCmpOp)
3 channel 8-bit unsigned char threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_8u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte[] rThresholds, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_GT_16s_AC4IR(CUdeviceptr, Int32, NppiSize, Int16[])
4 channel 16-bit signed short in place image threshold, not affecting Alpha. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set value is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_16s_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, short[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_16s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int16[])
4 channel 16-bit signed short image threshold, not affecting Alpha. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set value is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, short[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_16s_C1IR(CUdeviceptr, Int32, NppiSize, Int16)
1 channel 16-bit signed short in place threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_16s_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, short nThreshold)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16 | nThreshold | The threshold value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_16s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int16)
1 channel 16-bit signed short threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_16s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, short nThreshold)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16 | nThreshold | The threshold value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_16s_C3IR(CUdeviceptr, Int32, NppiSize, Int16[])
3 channel 16-bit signed short in place threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_16s_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, short[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_16s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int16[])
3 channel 16-bit signed short threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_16s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, short[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_16u_AC4IR(CUdeviceptr, Int32, NppiSize, UInt16[])
4 channel 16-bit unsigned short in place image threshold, not affecting Alpha. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set value is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_16u_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, ushort[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_16u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, UInt16[])
4 channel 16-bit unsigned short image threshold, not affecting Alpha. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set value is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, ushort[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_16u_C1IR(CUdeviceptr, Int32, NppiSize, UInt16)
1 channel 16-bit unsigned short in place threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_16u_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, ushort nThreshold)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16 | nThreshold | The threshold value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_16u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, UInt16)
1 channel 16-bit unsigned short threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_16u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, ushort nThreshold)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16 | nThreshold | The threshold value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_16u_C3IR(CUdeviceptr, Int32, NppiSize, UInt16[])
3 channel 16-bit unsigned short in place threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_16u_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, ushort[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_16u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, UInt16[])
3 channel 16-bit unsigned short threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_16u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, ushort[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_32f_AC4IR(CUdeviceptr, Int32, NppiSize, Single[])
4 channel 32-bit floating point in place image threshold, not affecting Alpha. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set value is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_32f_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, float[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single[])
4 channel 32-bit floating point image threshold, not affecting Alpha. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set value is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_32f_C1IR(CUdeviceptr, Int32, NppiSize, Single)
1 channel 32-bit floating point in place threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_32f_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, float nThreshold)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single | nThreshold | The threshold value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single)
1 channel 32-bit floating point threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float nThreshold)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single | nThreshold | The threshold value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_32f_C3IR(CUdeviceptr, Int32, NppiSize, Single[])
3 channel 32-bit floating point in place threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_32f_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, float[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single[])
3 channel 32-bit floating point threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_32f_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_8u_AC4IR(CUdeviceptr, Int32, NppiSize, Byte[])
4 channel 8-bit unsigned char in place image threshold, not affecting Alpha. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set value is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_8u_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, byte[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Byte[])
4 channel 8-bit unsigned char image threshold, not affecting Alpha. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set value is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_8u_C1IR(CUdeviceptr, Int32, NppiSize, Byte)
1 channel 8-bit unsigned char in place threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_8u_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, byte nThreshold)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte | nThreshold | The threshold value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Byte)
1 channel 8-bit unsigned char threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_8u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte nThreshold)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte | nThreshold | The threshold value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_8u_C3IR(CUdeviceptr, Int32, NppiSize, Byte[])
3 channel 8-bit unsigned char in place threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_8u_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, byte[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GT_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Byte[])
3 channel 8-bit unsigned char threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GT_8u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_16s_AC4IR(CUdeviceptr, Int32, NppiSize, Int16[], Int16[])
4 channel 16-bit signed short in place image threshold, not affecting Alpha. If for a comparison operations sourcePixel is greater than rThreshold is true, the pixel is set value is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_16s_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, short[] rThresholds, short[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
| System.Int16[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_16s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int16[], Int16[])
4 channel 16-bit signed short image threshold, not affecting Alpha. If for a comparison operations sourcePixel is greater than rThreshold is true, the pixel is set value is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, short[] rThresholds, short[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
| System.Int16[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_16s_C1IR(CUdeviceptr, Int32, NppiSize, Int16, Int16)
1 channel 16-bit signed short in place threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_16s_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, short nThreshold, short nValue)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16 | nThreshold | The threshold value. |
| System.Int16 | nValue | The threshold replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_16s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int16, Int16)
1 channel 16-bit signed short threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_16s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, short nThreshold, short nValue)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16 | nThreshold | The threshold value. |
| System.Int16 | nValue | The threshold replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_16s_C3IR(CUdeviceptr, Int32, NppiSize, Int16[], Int16[])
3 channel 16-bit signed short in place threshold. If for a comparison operations sourcePixel is greater than rThreshold is true, the pixel is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_16s_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, short[] rThresholds, short[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
| System.Int16[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_16s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int16[], Int16[])
3 channel 16-bit signed short threshold. If for a comparison operations sourcePixel is greater than rThreshold is true, the pixel is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_16s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, short[] rThresholds, short[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
| System.Int16[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_16u_AC4IR(CUdeviceptr, Int32, NppiSize, UInt16[], UInt16[])
4 channel 16-bit unsigned short in place image threshold, not affecting Alpha. If for a comparison operations sourcePixel is greater than rThreshold is true, the pixel is set value is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_16u_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, ushort[] rThresholds, ushort[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
| System.UInt16[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_16u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, UInt16[], UInt16[])
4 channel 16-bit unsigned short image threshold, not affecting Alpha. If for a comparison operations sourcePixel is greater than rThreshold is true, the pixel is set value is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, ushort[] rThresholds, ushort[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
| System.UInt16[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_16u_C1IR(CUdeviceptr, Int32, NppiSize, UInt16, UInt16)
1 channel 16-bit unsigned short in place threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_16u_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, ushort nThreshold, ushort nValue)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16 | nThreshold | The threshold value. |
| System.UInt16 | nValue | The threshold replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_16u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, UInt16, UInt16)
1 channel 16-bit unsigned short threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_16u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, ushort nThreshold, ushort nValue)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16 | nThreshold | The threshold value. |
| System.UInt16 | nValue | The threshold replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_16u_C3IR(CUdeviceptr, Int32, NppiSize, UInt16[], UInt16[])
3 channel 16-bit unsigned short in place threshold. If for a comparison operations sourcePixel is greater than rThreshold is true, the pixel is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_16u_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, ushort[] rThresholds, ushort[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
| System.UInt16[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_16u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, UInt16[], UInt16[])
3 channel 16-bit unsigned short threshold. If for a comparison operations sourcePixel is greater than rThreshold is true, the pixel is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_16u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, ushort[] rThresholds, ushort[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
| System.UInt16[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_32f_AC4IR(CUdeviceptr, Int32, NppiSize, Single[], Single[])
4 channel 32-bit floating point in place image threshold, not affecting Alpha. If for a comparison operations sourcePixel is greater than rThreshold is true, the pixel is set value is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_32f_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, float[] rThresholds, float[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
| System.Single[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single[], Single[])
4 channel 32-bit floating point image threshold, not affecting Alpha. If for a comparison operations sourcePixel is greater than rThreshold is true, the pixel is set value is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float[] rThresholds, float[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
| System.Single[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_32f_C1IR(CUdeviceptr, Int32, NppiSize, Single, Single)
1 channel 32-bit floating point in place threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_32f_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, float nThreshold, float nValue)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single | nThreshold | The threshold value. |
| System.Single | nValue | The threshold replacement values. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single)
1 channel 32-bit floating point threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float nThreshold, float nValue)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single | nThreshold | The threshold value. |
| System.Single | nValue | The threshold replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_32f_C3IR(CUdeviceptr, Int32, NppiSize, Single[], Single[])
3 channel 32-bit floating point in place threshold. If for a comparison operations sourcePixel is greater than rThreshold is true, the pixel is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_32f_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, float[] rThresholds, float[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
| System.Single[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single[], Single[])
3 channel 32-bit floating point threshold. If for a comparison operations sourcePixel is greater than rThreshold is true, the pixel is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_32f_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float[] rThresholds, float[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
| System.Single[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_8u_AC4IR(CUdeviceptr, Int32, NppiSize, Byte[], Byte[])
4 channel 8-bit unsigned char in place image threshold, not affecting Alpha. If for a comparison operations sourcePixel is greater than rThreshold is true, the pixel is set value is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_8u_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, byte[] rThresholds, byte[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
| System.Byte[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Byte[], Byte[])
4 channel 8-bit unsigned char image threshold, not affecting Alpha. If for a comparison operations sourcePixel is greater than rThreshold is true, the pixel is set value is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte[] rThresholds, byte[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
| System.Byte[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_8u_C1IR(CUdeviceptr, Int32, NppiSize, Byte, Byte)
1 channel 8-bit unsigned char in place threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_8u_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, byte nThreshold, byte nValue)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte | nThreshold | The threshold value. |
| System.Byte | nValue | The threshold replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Byte, Byte)
1 channel 8-bit unsigned char threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_8u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte nThreshold, byte nValue)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte | nThreshold | The threshold value. |
| System.Byte | nValue | The threshold replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_8u_C3IR(CUdeviceptr, Int32, NppiSize, Byte[], Byte[])
3 channel 8-bit unsigned char in place threshold. If for a comparison operations sourcePixel is greater than rThreshold is true, the pixel is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_8u_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, byte[] rThresholds, byte[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
| System.Byte[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_GTVal_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Byte[], Byte[])
3 channel 8-bit unsigned char threshold. If for a comparison operations sourcePixel is greater than rThreshold is true, the pixel is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_GTVal_8u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte[] rThresholds, byte[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
| System.Byte[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_16s_AC4IR(CUdeviceptr, Int32, NppiSize, Int16[])
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.
Declaration
public static NppStatus nppiThreshold_LT_16s_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, short[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_16s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int16[])
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.
Declaration
public static NppStatus nppiThreshold_LT_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, short[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_16s_C1IR(CUdeviceptr, Int32, NppiSize, Int16)
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.
Declaration
public static NppStatus nppiThreshold_LT_16s_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, short nThreshold)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16 | nThreshold | The threshold value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_16s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int16)
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.
Declaration
public static NppStatus nppiThreshold_LT_16s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, short nThreshold)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16 | nThreshold | The threshold value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_16s_C3IR(CUdeviceptr, Int32, NppiSize, Int16[])
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.
Declaration
public static NppStatus nppiThreshold_LT_16s_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, short[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_16s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int16[])
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.
Declaration
public static NppStatus nppiThreshold_LT_16s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, short[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_16u_AC4IR(CUdeviceptr, Int32, NppiSize, UInt16[])
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.
Declaration
public static NppStatus nppiThreshold_LT_16u_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, ushort[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_16u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, UInt16[])
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.
Declaration
public static NppStatus nppiThreshold_LT_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, ushort[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_16u_C1IR(CUdeviceptr, Int32, NppiSize, UInt16)
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.
Declaration
public static NppStatus nppiThreshold_LT_16u_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, ushort nThreshold)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16 | nThreshold | The threshold value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_16u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, UInt16)
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.
Declaration
public static NppStatus nppiThreshold_LT_16u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, ushort nThreshold)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16 | nThreshold | The threshold value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_16u_C3IR(CUdeviceptr, Int32, NppiSize, UInt16[])
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.
Declaration
public static NppStatus nppiThreshold_LT_16u_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, ushort[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_16u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, UInt16[])
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.
Declaration
public static NppStatus nppiThreshold_LT_16u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, ushort[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_32f_AC4IR(CUdeviceptr, Int32, NppiSize, Single[])
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.
Declaration
public static NppStatus nppiThreshold_LT_32f_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, float[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single[])
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.
Declaration
public static NppStatus nppiThreshold_LT_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_32f_C1IR(CUdeviceptr, Int32, NppiSize, Single)
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.
Declaration
public static NppStatus nppiThreshold_LT_32f_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, float nThreshold)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single | nThreshold | The threshold value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single)
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.
Declaration
public static NppStatus nppiThreshold_LT_32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float nThreshold)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single | nThreshold | The threshold value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_32f_C3IR(CUdeviceptr, Int32, NppiSize, Single[])
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.
Declaration
public static NppStatus nppiThreshold_LT_32f_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, float[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single[])
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.
Declaration
public static NppStatus nppiThreshold_LT_32f_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_8u_AC4IR(CUdeviceptr, Int32, NppiSize, Byte[])
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.
Declaration
public static NppStatus nppiThreshold_LT_8u_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, byte[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Byte[])
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.
Declaration
public static NppStatus nppiThreshold_LT_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_8u_C1IR(CUdeviceptr, Int32, NppiSize, Byte)
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.
Declaration
public static NppStatus nppiThreshold_LT_8u_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, byte nThreshold)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte | nThreshold | The threshold value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Byte)
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.
Declaration
public static NppStatus nppiThreshold_LT_8u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte nThreshold)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte | nThreshold | The threshold value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_8u_C3IR(CUdeviceptr, Int32, NppiSize, Byte[])
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.
Declaration
public static NppStatus nppiThreshold_LT_8u_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, byte[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LT_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Byte[])
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.
Declaration
public static NppStatus nppiThreshold_LT_8u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte[] rThresholds)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_16s_AC4IR(CUdeviceptr, Int32, NppiSize, Int16[], Int16[])
4 channel 16-bit signed short in place image threshold, not affecting Alpha. If for a comparison operations sourcePixel is less than rThreshold is true, the pixel is set value is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_16s_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, short[] rThresholds, short[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
| System.Int16[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_16s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int16[], Int16[])
4 channel 16-bit signed short image threshold, not affecting Alpha. If for a comparison operations sourcePixel is less than rThreshold is true, the pixel is set value is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, short[] rThresholds, short[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
| System.Int16[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_16s_C1IR(CUdeviceptr, Int32, NppiSize, Int16, Int16)
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 nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_16s_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, short nThreshold, short nValue)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16 | nThreshold | The threshold value. |
| System.Int16 | nValue | The threshold replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_16s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int16, Int16)
1 channel 16-bit signed short threshold. If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_16s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, short nThreshold, short nValue)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16 | nThreshold | The threshold value. |
| System.Int16 | nValue | The threshold replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_16s_C3IR(CUdeviceptr, Int32, NppiSize, Int16[], Int16[])
3 channel 16-bit signed short in place threshold. If for a comparison operations sourcePixel is less than rThreshold is true, the pixel is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_16s_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, short[] rThresholds, short[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
| System.Int16[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_16s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int16[], Int16[])
3 channel 16-bit signed short threshold. If for a comparison operations sourcePixel is less than rThreshold is true, the pixel is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_16s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, short[] rThresholds, short[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
| System.Int16[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_16u_AC4IR(CUdeviceptr, Int32, NppiSize, UInt16[], UInt16[])
4 channel 16-bit unsigned short in place image threshold, not affecting Alpha. If for a comparison operations sourcePixel is less than rThreshold is true, the pixel is set value is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_16u_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, ushort[] rThresholds, ushort[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
| System.UInt16[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_16u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, UInt16[], UInt16[])
4 channel 16-bit unsigned short image threshold, not affecting Alpha. If for a comparison operations sourcePixel is less than rThreshold is true, the pixel is set value is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, ushort[] rThresholds, ushort[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
| System.UInt16[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_16u_C1IR(CUdeviceptr, Int32, NppiSize, UInt16, UInt16)
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 nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_16u_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, ushort nThreshold, ushort nValue)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16 | nThreshold | The threshold value. |
| System.UInt16 | nValue | The threshold replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_16u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, UInt16, UInt16)
1 channel 16-bit unsigned short threshold. If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_16u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, ushort nThreshold, ushort nValue)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16 | nThreshold | The threshold value. |
| System.UInt16 | nValue | The threshold replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_16u_C3IR(CUdeviceptr, Int32, NppiSize, UInt16[], UInt16[])
3 channel 16-bit unsigned short in place threshold. If for a comparison operations sourcePixel is less than rThreshold is true, the pixel is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_16u_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, ushort[] rThresholds, ushort[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
| System.UInt16[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_16u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, UInt16[], UInt16[])
3 channel 16-bit unsigned short threshold. If for a comparison operations sourcePixel is less than rThreshold is true, the pixel is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_16u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, ushort[] rThresholds, ushort[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
| System.UInt16[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_32f_AC4IR(CUdeviceptr, Int32, NppiSize, Single[], Single[])
4 channel 32-bit floating point in place image threshold, not affecting Alpha. If for a comparison operations sourcePixel is less than rThreshold is true, the pixel is set value is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_32f_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, float[] rThresholds, float[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
| System.Single[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single[], Single[])
4 channel 32-bit floating point image threshold, not affecting Alpha. If for a comparison operations sourcePixel is less than rThreshold is true, the pixel is set value is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float[] rThresholds, float[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
| System.Single[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_32f_C1IR(CUdeviceptr, Int32, NppiSize, Single, Single)
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 nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_32f_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, float nThreshold, float nValue)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single | nThreshold | The threshold value. |
| System.Single | nValue | The threshold replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single)
1 channel 32-bit floating point threshold. If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float nThreshold, float nValue)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single | nThreshold | The threshold value. |
| System.Single | nValue | The threshold replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_32f_C3IR(CUdeviceptr, Int32, NppiSize, Single[], Single[])
3 channel 32-bit floating point in place threshold. If for a comparison operations sourcePixel is less than rThreshold is true, the pixel is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_32f_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, float[] rThresholds, float[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
| System.Single[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single[], Single[])
3 channel 32-bit floating point threshold. If for a comparison operations sourcePixel is less than rThreshold is true, the pixel is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_32f_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float[] rThresholds, float[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
| System.Single[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_8u_AC4IR(CUdeviceptr, Int32, NppiSize, Byte[], Byte[])
4 channel 8-bit unsigned char in place image threshold, not affecting Alpha. If for a comparison operations sourcePixel is less than rThreshold is true, the pixel is set value is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_8u_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, byte[] rThresholds, byte[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
| System.Byte[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Byte[], Byte[])
4 channel 8-bit unsigned char image threshold, not affecting Alpha. If for a comparison operations sourcePixel is less than rThreshold is true, the pixel is set value is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte[] rThresholds, byte[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
| System.Byte[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_8u_C1IR(CUdeviceptr, Int32, NppiSize, Byte, Byte)
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 nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_8u_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, byte nThreshold, byte nValue)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte | nThreshold | The threshold value. |
| System.Byte | nValue | The threshold replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Byte, Byte)
1 channel 8-bit unsigned char threshold. If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_8u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte nThreshold, byte nValue)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte | nThreshold | The threshold value. |
| System.Byte | nValue | The threshold replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_8u_C3IR(CUdeviceptr, Int32, NppiSize, Byte[], Byte[])
3 channel 8-bit unsigned char in place threshold. If for a comparison operations sourcePixel is less than rThreshold is true, the pixel is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_8u_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, byte[] rThresholds, byte[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
| System.Byte[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTVal_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Byte[], Byte[])
3 channel 8-bit unsigned char threshold. If for a comparison operations sourcePixel is less than rThreshold is true, the pixel is set to rValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_LTVal_8u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte[] rThresholds, byte[] rValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
| System.Byte[] | rValues | The threshold replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_16s_AC4IR(CUdeviceptr, Int32, NppiSize, Int16[], Int16[], Int16[], Int16[])
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_16s_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, short[] rThresholdsLT, short[] rValuesLT, short[] rThresholdsGT, short[] rValuesGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholdsLT | The thresholdLT values, one per color channel. |
| System.Int16[] | rValuesLT | The thresholdLT replacement values, one per color channel. |
| System.Int16[] | rThresholdsGT | The thresholdGT values, one per channel. |
| System.Int16[] | rValuesGT | The thresholdGT replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_16s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int16[], Int16[], Int16[], Int16[])
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, short[] rThresholdsLT, short[] rValuesLT, short[] rThresholdsGT, short[] rValuesGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholdsLT | The thresholdLT values, one per color channel. |
| System.Int16[] | rValuesLT | The thresholdLT replacement values, one per color channel. |
| System.Int16[] | rThresholdsGT | The thresholdGT values, one per channel. |
| System.Int16[] | rValuesGT | The thresholdGT replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_16s_C1IR(CUdeviceptr, Int32, NppiSize, Int16, Int16, Int16, Int16)
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_16s_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, short nThresholdLT, short nValueLT, short nThresholdGT, short nValueGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16 | nThresholdLT | The thresholdLT value. |
| System.Int16 | nValueLT | The thresholdLT replacement value. |
| System.Int16 | nThresholdGT | The thresholdGT value. |
| System.Int16 | nValueGT | The thresholdGT replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_16s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int16, Int16, Int16, Int16)
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_16s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, short nThresholdLT, short nValueLT, short nThresholdGT, short nValueGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16 | nThresholdLT | The thresholdLT value. |
| System.Int16 | nValueLT | The thresholdLT replacement value. |
| System.Int16 | nThresholdGT | The thresholdGT value. |
| System.Int16 | nValueGT | The thresholdGT replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_16s_C3IR(CUdeviceptr, Int32, NppiSize, Int16[], Int16[], Int16[], Int16[])
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_16s_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, short[] rThresholdsLT, short[] rValuesLT, short[] rThresholdsGT, short[] rValuesGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholdsLT | The thresholdLT values, one per color channel. |
| System.Int16[] | rValuesLT | The thresholdLT replacement values, one per color channel. |
| System.Int16[] | rThresholdsGT | The thresholdGT values, one per channel. |
| System.Int16[] | rValuesGT | The thresholdGT replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_16s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int16[], Int16[], Int16[], Int16[])
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_16s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, short[] rThresholdsLT, short[] rValuesLT, short[] rThresholdsGT, short[] rValuesGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholdsLT | The thresholdLT values, one per color channel. |
| System.Int16[] | rValuesLT | The thresholdLT replacement values, one per color channel. |
| System.Int16[] | rThresholdsGT | The thresholdGT values, one per channel. |
| System.Int16[] | rValuesGT | The thresholdGT replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_16u_AC4IR(CUdeviceptr, Int32, NppiSize, UInt16[], UInt16[], UInt16[], UInt16[])
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_16u_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, ushort[] rThresholdsLT, ushort[] rValuesLT, ushort[] rThresholdsGT, ushort[] rValuesGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholdsLT | The thresholdLT values, one per color channel. |
| System.UInt16[] | rValuesLT | The thresholdLT replacement values, one per color channel. |
| System.UInt16[] | rThresholdsGT | The thresholdGT values, one per channel. |
| System.UInt16[] | rValuesGT | The thresholdGT replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_16u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, UInt16[], UInt16[], UInt16[], UInt16[])
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, ushort[] rThresholdsLT, ushort[] rValuesLT, ushort[] rThresholdsGT, ushort[] rValuesGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholdsLT | The thresholdLT values, one per color channel. |
| System.UInt16[] | rValuesLT | The thresholdLT replacement values, one per color channel. |
| System.UInt16[] | rThresholdsGT | The thresholdGT values, one per channel. |
| System.UInt16[] | rValuesGT | The thresholdGT replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_16u_C1IR(CUdeviceptr, Int32, NppiSize, UInt16, UInt16, UInt16, UInt16)
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_16u_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, ushort nThresholdLT, ushort nValueLT, ushort nThresholdGT, ushort nValueGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16 | nThresholdLT | The thresholdLT value. |
| System.UInt16 | nValueLT | The thresholdLT replacement value. |
| System.UInt16 | nThresholdGT | The thresholdGT value. |
| System.UInt16 | nValueGT | The thresholdGT replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_16u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, UInt16, UInt16, UInt16, UInt16)
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_16u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, ushort nThresholdLT, ushort nValueLT, ushort nThresholdGT, ushort nValueGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16 | nThresholdLT | The thresholdLT value. |
| System.UInt16 | nValueLT | The thresholdLT replacement value. |
| System.UInt16 | nThresholdGT | The thresholdGT value. |
| System.UInt16 | nValueGT | The thresholdGT replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_16u_C3IR(CUdeviceptr, Int32, NppiSize, UInt16[], UInt16[], UInt16[], UInt16[])
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_16u_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, ushort[] rThresholdsLT, ushort[] rValuesLT, ushort[] rThresholdsGT, ushort[] rValuesGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholdsLT | The thresholdLT values, one per color channel. |
| System.UInt16[] | rValuesLT | The thresholdLT replacement values, one per color channel. |
| System.UInt16[] | rThresholdsGT | The thresholdGT values, one per channel. |
| System.UInt16[] | rValuesGT | The thresholdGT replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_16u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, UInt16[], UInt16[], UInt16[], UInt16[])
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_16u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, ushort[] rThresholdsLT, ushort[] rValuesLT, ushort[] rThresholdsGT, ushort[] rValuesGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholdsLT | The thresholdLT values, one per color channel. |
| System.UInt16[] | rValuesLT | The thresholdLT replacement values, one per color channel. |
| System.UInt16[] | rThresholdsGT | The thresholdGT values, one per channel. |
| System.UInt16[] | rValuesGT | The thresholdGT replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_32f_AC4IR(CUdeviceptr, Int32, NppiSize, Single[], Single[], Single[], Single[])
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_32f_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, float[] rThresholdsLT, float[] rValuesLT, float[] rThresholdsGT, float[] rValuesGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholdsLT | The thresholdLT values, one per color channel. |
| System.Single[] | rValuesLT | The thresholdLT replacement values, one per color channel. |
| System.Single[] | rThresholdsGT | The thresholdGT values, one per channel. |
| System.Single[] | rValuesGT | The thresholdGT replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single[], Single[], Single[], Single[])
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float[] rThresholdsLT, float[] rValuesLT, float[] rThresholdsGT, float[] rValuesGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholdsLT | The thresholdLT values, one per color channel. |
| System.Single[] | rValuesLT | The thresholdLT replacement values, one per color channel. |
| System.Single[] | rThresholdsGT | The thresholdGT values, one per channel. |
| System.Single[] | rValuesGT | The thresholdGT replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_32f_C1IR(CUdeviceptr, Int32, NppiSize, Single, Single, Single, Single)
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_32f_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, float nThresholdLT, float nValueLT, float nThresholdGT, float nValueGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single | nThresholdLT | The thresholdLT value. |
| System.Single | nValueLT | The thresholdLT replacement value. |
| System.Single | nThresholdGT | The thresholdGT value. |
| System.Single | nValueGT | The thresholdGT replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single, Single, Single)
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float nThresholdLT, float nValueLT, float nThresholdGT, float nValueGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single | nThresholdLT | The thresholdLT value. |
| System.Single | nValueLT | The thresholdLT replacement value. |
| System.Single | nThresholdGT | The thresholdGT value. |
| System.Single | nValueGT | The thresholdGT replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_32f_C3IR(CUdeviceptr, Int32, NppiSize, Single[], Single[], Single[], Single[])
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_32f_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, float[] rThresholdsLT, float[] rValuesLT, float[] rThresholdsGT, float[] rValuesGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholdsLT | The thresholdLT values, one per color channel. |
| System.Single[] | rValuesLT | The thresholdLT replacement values, one per color channel. |
| System.Single[] | rThresholdsGT | The thresholdGT values, one per channel. |
| System.Single[] | rValuesGT | The thresholdGT replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single[], Single[], Single[], Single[])
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_32f_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float[] rThresholdsLT, float[] rValuesLT, float[] rThresholdsGT, float[] rValuesGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholdsLT | The thresholdLT values, one per color channel. |
| System.Single[] | rValuesLT | The thresholdLT replacement values, one per color channel. |
| System.Single[] | rThresholdsGT | The thresholdGT values, one per channel. |
| System.Single[] | rValuesGT | The thresholdGT replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_8u_AC4IR(CUdeviceptr, Int32, NppiSize, Byte[], Byte[], Byte[], Byte[])
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_8u_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, byte[] rThresholdsLT, byte[] rValuesLT, byte[] rThresholdsGT, byte[] rValuesGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholdsLT | The thresholdLT values, one per color channel. |
| System.Byte[] | rValuesLT | The thresholdLT replacement values, one per color channel. |
| System.Byte[] | rThresholdsGT | The thresholdGT values, one per channel. |
| System.Byte[] | rValuesGT | The thresholdGT replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Byte[], Byte[], Byte[], Byte[])
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte[] rThresholdsLT, byte[] rValuesLT, byte[] rThresholdsGT, byte[] rValuesGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholdsLT | The thresholdLT values, one per color channel. |
| System.Byte[] | rValuesLT | The thresholdLT replacement values, one per color channel. |
| System.Byte[] | rThresholdsGT | The thresholdGT values, one per channel. |
| System.Byte[] | rValuesGT | The thresholdGT replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_8u_C1IR(CUdeviceptr, Int32, NppiSize, Byte, Byte, Byte, Byte)
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_8u_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, byte nThresholdLT, byte nValueLT, byte nThresholdGT, byte nValueGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte | nThresholdLT | The thresholdLT value. |
| System.Byte | nValueLT | The thresholdLT replacement value. |
| System.Byte | nThresholdGT | The thresholdGT value. |
| System.Byte | nValueGT | The thresholdGT replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Byte, Byte, Byte, Byte)
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_8u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte nThresholdLT, byte nValueLT, byte nThresholdGT, byte nValueGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte | nThresholdLT | The thresholdLT value. |
| System.Byte | nValueLT | The thresholdLT replacement value. |
| System.Byte | nThresholdGT | The thresholdGT value. |
| System.Byte | nValueGT | The thresholdGT replacement value. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_8u_C3IR(CUdeviceptr, Int32, NppiSize, Byte[], Byte[], Byte[], Byte[])
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_8u_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, byte[] rThresholdsLT, byte[] rValuesLT, byte[] rThresholdsGT, byte[] rValuesGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | Destination-Image Pointer. |
| System.Int32 | nSrcDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholdsLT | The thresholdLT values, one per color channel. |
| System.Byte[] | rValuesLT | The thresholdLT replacement values, one per color channel. |
| System.Byte[] | rThresholdsGT | The thresholdGT values, one per channel. |
| System.Byte[] | rValuesGT | The thresholdGT replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_LTValGTVal_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Byte[], Byte[], Byte[], Byte[])
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.
Declaration
public static NppStatus nppiThreshold_LTValGTVal_8u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte[] rThresholdsLT, byte[] rValuesLT, byte[] rThresholdsGT, byte[] rValuesGT)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholdsLT | The thresholdLT values, one per color channel. |
| System.Byte[] | rValuesLT | The thresholdLT replacement values, one per color channel. |
| System.Byte[] | rThresholdsGT | The thresholdGT values, one per channel. |
| System.Byte[] | rValuesGT | The thresholdGT replacement values, one per color channel. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. |
nppiThreshold_Val_16s_AC4IR(CUdeviceptr, Int32, NppiSize, Int16[], Int16[], NppCmpOp)
4 channel 16-bit signed short in place image threshold, not affecting Alpha. If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel value is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_16s_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, short[] rThresholds, short[] rValues, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
| System.Int16[] | rValues | The threshold replacement values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_16s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int16[], Int16[], NppCmpOp)
4 channel 16-bit signed short image threshold, not affecting Alpha. If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel value is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, short[] rThresholds, short[] rValues, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
| System.Int16[] | rValues | The threshold replacement values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_16s_C1IR(CUdeviceptr, Int32, NppiSize, Int16, Int16, NppCmpOp)
1 channel 16-bit signed short in place threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_16s_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, short nThreshold, short nValue, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16 | nThreshold | The threshold value. |
| System.Int16 | nValue | The threshold replacement value. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_16s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int16, Int16, NppCmpOp)
1 channel 16-bit signed short threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_16s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, short nThreshold, short nValue, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16 | nThreshold | The threshold value. |
| System.Int16 | nValue | The threshold replacement value. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_16s_C3IR(CUdeviceptr, Int32, NppiSize, Int16[], Int16[], NppCmpOp)
3 channel 16-bit signed short in place threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_16s_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, short[] rThresholds, short[] rValues, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
| System.Int16[] | rValues | The threshold replacement values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_16s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int16[], Int16[], NppCmpOp)
3 channel 16-bit signed short threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_16s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, short[] rThresholds, short[] rValues, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Int16[] | rThresholds | The threshold values, one per color channel. |
| System.Int16[] | rValues | The threshold replacement values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_16u_AC4IR(CUdeviceptr, Int32, NppiSize, UInt16[], UInt16[], NppCmpOp)
4 channel 16-bit unsigned short in place image threshold, not affecting Alpha. If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel value is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_16u_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, ushort[] rThresholds, ushort[] rValues, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
| System.UInt16[] | rValues | The threshold replacement values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_16u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, UInt16[], UInt16[], NppCmpOp)
4 channel 16-bit unsigned short image threshold, not affecting Alpha. If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel value is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, ushort[] rThresholds, ushort[] rValues, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
| System.UInt16[] | rValues | The threshold replacement values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_16u_C1IR(CUdeviceptr, Int32, NppiSize, UInt16, UInt16, NppCmpOp)
1 channel 16-bit unsigned short in place threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_16u_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, ushort nThreshold, ushort nValue, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16 | nThreshold | The threshold value. |
| System.UInt16 | nValue | The threshold replacement value. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_16u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, UInt16, UInt16, NppCmpOp)
1 channel 16-bit unsigned short threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_16u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, ushort nThreshold, ushort nValue, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16 | nThreshold | The threshold value. |
| System.UInt16 | nValue | The threshold replacement value. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_16u_C3IR(CUdeviceptr, Int32, NppiSize, UInt16[], UInt16[], NppCmpOp)
3 channel 16-bit unsigned short in place threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_16u_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, ushort[] rThresholds, ushort[] rValues, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
| System.UInt16[] | rValues | The threshold replacement values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_16u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, UInt16[], UInt16[], NppCmpOp)
3 channel 16-bit unsigned short threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_16u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, ushort[] rThresholds, ushort[] rValues, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.UInt16[] | rThresholds | The threshold values, one per color channel. |
| System.UInt16[] | rValues | The threshold replacement values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_32f_AC4IR(CUdeviceptr, Int32, NppiSize, Single[], Single[], NppCmpOp)
4 channel 32-bit floating point in place image threshold, not affecting Alpha. If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel value is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_32f_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, float[] rThresholds, float[] rValues, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
| System.Single[] | rValues | The threshold replacement values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single[], Single[], NppCmpOp)
4 channel 32-bit floating point image threshold, not affecting Alpha. If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel value is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float[] rThresholds, float[] rValues, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
| System.Single[] | rValues | The threshold replacement values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_32f_C1IR(CUdeviceptr, Int32, NppiSize, Single, Single, NppCmpOp)
1 channel 32-bit floating point in place threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_32f_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, float nThreshold, float nValue, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single | nThreshold | The threshold value. |
| System.Single | nValue | The threshold replacement value. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single, NppCmpOp)
1 channel 32-bit floating point threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float nThreshold, float nValue, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single | nThreshold | The threshold value. |
| System.Single | nValue | The threshold replacement value. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_32f_C3IR(CUdeviceptr, Int32, NppiSize, Single[], Single[], NppCmpOp)
3 channel 32-bit floating point in place threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_32f_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, float[] rThresholds, float[] rValues, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
| System.Single[] | rValues | The threshold replacement values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single[], Single[], NppCmpOp)
3 channel 32-bit floating point threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_32f_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float[] rThresholds, float[] rValues, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Single[] | rThresholds | The threshold values, one per color channel. |
| System.Single[] | rValues | The threshold replacement values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_8u_AC4IR(CUdeviceptr, Int32, NppiSize, Byte[], Byte[], NppCmpOp)
4 channel 8-bit unsigned char in place image threshold, not affecting Alpha. If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel value is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_8u_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, byte[] rThresholds, byte[] rValues, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
| System.Byte[] | rValues | The threshold replacement values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Byte[], Byte[], NppCmpOp)
4 channel 8-bit unsigned char image threshold, not affecting Alpha. If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel value is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte[] rThresholds, byte[] rValues, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
| System.Byte[] | rValues | The threshold replacement values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_8u_C1IR(CUdeviceptr, Int32, NppiSize, Byte, Byte, NppCmpOp)
1 channel 8-bit unsigned char in place threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_8u_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, byte nThreshold, byte nValue, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte | nThreshold | The threshold value. |
| System.Byte | nValue | The threshold replacement value. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Byte, Byte, NppCmpOp)
1 channel 8-bit unsigned char threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_8u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte nThreshold, byte nValue, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte | nThreshold | The threshold value. |
| System.Byte | nValue | The threshold replacement value. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_8u_C3IR(CUdeviceptr, Int32, NppiSize, Byte[], Byte[], NppCmpOp)
3 channel 8-bit unsigned char in place threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_8u_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, byte[] rThresholds, byte[] rValues, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrcDst | In-Place Image Pointer. |
| System.Int32 | nSrcDstStep | In-Place Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
| System.Byte[] | rValues | The threshold replacement values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |
nppiThreshold_Val_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Byte[], Byte[], NppCmpOp)
3 channel 8-bit unsigned char threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
Declaration
public static NppStatus nppiThreshold_Val_8u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, byte[] rThresholds, byte[] rValues, NppCmpOp eComparisonOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| CUdeviceptr | pSrc | Source-Image Pointer. |
| System.Int32 | nSrcStep | Source-Image Line Step. |
| CUdeviceptr | pDst | Destination-Image Pointer. |
| System.Int32 | nDstStep | Destination-Image Line Step. |
| NppiSize | oSizeROI | Region-of-Interest (ROI). |
| System.Byte[] | rThresholds | The threshold values, one per color channel. |
| System.Byte[] | rValues | The threshold replacement values, one per color channel. |
| NppCmpOp | eComparisonOperation | The type of comparison operation to be used. The only valid are NPP_CMP_LESS and NPP_CMP_GREATER. |
Returns
| Type | Description |
|---|---|
| NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid comparison operation type is specified. |