Library/ManagedCuda/NPP/NPPImage_8uC3.cs
/// <summary>
/// Image threshold.<para/>
/// If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set
/// to nValue, otherwise it is set to sourcePixel.
/// </summary>
/// <param name="dest">Destination image</param>
/// <param name="nThreshold">The threshold value.</param>
/// <param name="nValue">The threshold replacement value.</param>
Image 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.
Image 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 .
public void ThresholdLT(NPPImage_8uC3 dest, byte[] nThreshold, byte[] nValue)
		{
			status = NPPNativeMethods.NPPi.Threshold.nppiThreshold_LTVal_8u_C3R(_devPtrRoi, _pitch, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, nThreshold, nValue);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiThreshold_LTVal_8u_C3R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void ThresholdLT ( NPPImage_8uC3 dest , byte [ ] nThreshold , byte [ ] nValue ) { status = NPPNativeMethods . NPPi . Threshold . nppiThreshold_LTVal_8u_C3R ( _devPtrRoi , _pitch , dest . DevicePointerRoi , dest . Pitch , _sizeRoi , nThreshold , nValue ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
Image threshold.
Image threshold .
dest
NPPImage_8uC3
None
nThreshold
byte[]
The threshold value.
The threshold value .
nValue
byte[]
The threshold replacement value.
The threshold replacement value .