Library/ManagedCuda/NPP/NPPImage_16uC3.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(ushort[] nThresholdLT, ushort[] nValueLT, ushort[] nThresholdGT, ushort[] nValueGT)
		{
			status = NPPNativeMethods.NPPi.Threshold.nppiThreshold_LTValGTVal_16u_C3IR(_devPtrRoi, _pitch, _sizeRoi, nThresholdLT, nValueLT, nThresholdGT, nValueGT);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiThreshold_LTValGTVal_16u_C3IR", status));
			NPPException.CheckNppStatus(status, this);
		}
public void ThresholdLTGT ( ushort [ ] nThresholdLT , ushort [ ] nValueLT , ushort [ ] nThresholdGT , ushort [ ] nValueGT ) { status = NPPNativeMethods . NPPi . Threshold . nppiThreshold_LTValGTVal_16u_C3IR ( _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
ushort[]
The thresholdLT value.
The thresholdLT value .
nValueLT
ushort[]
The thresholdLT replacement value.
The thresholdLT replacement value .
nThresholdGT
ushort[]
The thresholdGT value.
The thresholdGT value .
nValueGT
ushort[]
The thresholdGT replacement value.
The thresholdGT replacement value .