Library/ManagedCuda/NPP/NPPImage_16sC1.cs
/// <summary>
/// In place image threshold.<para/>
/// 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.
/// </summary>
/// <param name="nThresholdLT">The thresholdLT value.</param>
/// <param name="nValueLT">The thresholdLT replacement value.</param>
/// <param name="nThresholdGT">The thresholdGT value.</param>
/// <param name="nValueGT">The thresholdGT replacement value.</param>
In place image 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.
In place image 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 .
public void ThresholdLTGT(short nThresholdLT, short nValueLT, short nThresholdGT, short nValueGT)
		{
			status = NPPNativeMethods.NPPi.Threshold.nppiThreshold_LTValGTVal_16s_C1IR(_devPtrRoi, _pitch, _sizeRoi, nThresholdLT, nValueLT, nThresholdGT, nValueGT);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiThreshold_LTValGTVal_16s_C1IR", status));
			NPPException.CheckNppStatus(status, this);
		}
public void ThresholdLTGT ( short nThresholdLT , short nValueLT , short nThresholdGT , short nValueGT ) { status = NPPNativeMethods . NPPi . Threshold . nppiThreshold_LTValGTVal_16s_C1IR ( _devPtrRoi , _pitch , _sizeRoi , nThresholdLT , nValueLT , nThresholdGT , nValueGT ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
In place image threshold.
In place image threshold .
nThresholdLT
short
The thresholdLT value.
The thresholdLT value .
nValueLT
short
The thresholdLT replacement value.
The thresholdLT replacement value .
nThresholdGT
short
The thresholdGT value.
The thresholdGT value .
nValueGT
short
The thresholdGT replacement value.
The thresholdGT replacement value .