Library/ManagedCuda/NPP/NPPImage_8uC1.cs
/// <summary>
/// In place image threshold.<para/>
/// If for a comparison operations sourcePixel is greater than 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>
In place image 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.
In place image 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 .
public void ThresholdGT(byte nThreshold, byte nValue)
		{
			status = NPPNativeMethods.NPPi.Threshold.nppiThreshold_GTVal_8u_C1IR(_devPtrRoi, _pitch, _sizeRoi, nThreshold, nValue);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiThreshold_GTVal_8u_C1IR", status));
			NPPException.CheckNppStatus(status, this);
		}
public void ThresholdGT ( byte nThreshold , byte nValue ) { status = NPPNativeMethods . NPPi . Threshold . nppiThreshold_GTVal_8u_C1IR ( _devPtrRoi , _pitch , _sizeRoi , nThreshold , nValue ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
In place image threshold.
In place image threshold .
nThreshold
byte
The threshold value.
The threshold value .
nValue
byte
The threshold replacement value.
The threshold replacement value .