Library/ManagedCuda/NPP/NPPImage_16sC3.cs
/// <summary>
/// In place image threshold.<para/>
/// 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.
/// </summary>
/// <param name="nThreshold">The threshold value.</param>
/// <param name="nValue">The threshold replacement value.</param>
/// <param name="eComparisonOperation">eComparisonOperation. Only allowed values are <see cref="NppCmpOp.Less"/> and <see cref="NppCmpOp.Greater"/></param>
In place image 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.
In place image 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 .
public void Threshold(short[] nThreshold, short[] nValue, NppCmpOp eComparisonOperation)
		{
			status = NPPNativeMethods.NPPi.Threshold.nppiThreshold_Val_16s_C3IR(_devPtrRoi, _pitch, _sizeRoi, nThreshold, nValue, eComparisonOperation);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiThreshold_Val_16s_C3IR", status));
			NPPException.CheckNppStatus(status, this);
		}
public void Threshold ( short [ ] nThreshold , short [ ] nValue , NppCmpOp eComparisonOperation ) { status = NPPNativeMethods . NPPi . Threshold . nppiThreshold_Val_16s_C3IR ( _devPtrRoi , _pitch , _sizeRoi , nThreshold , nValue , eComparisonOperation ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
In place image threshold.
In place image threshold .
nThreshold
short[]
The threshold value.
The threshold value .
nValue
short[]
The threshold replacement value.
The threshold replacement value .
eComparisonOperation
NppCmpOp
eComparisonOperation. Only allowed values are  and
eComparisonOperation . Only allowed values are and