ManagedCuda.NPP.NPPImage_8uC3.ThresholdLTGT C# (CSharp) Method

ThresholdLTGT() public method

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

Same methods

NPPImage_8uC3::ThresholdLTGT ( NPPImage_8uC3 dest, byte nThresholdLT, byte nValueLT, byte nThresholdGT, byte nValueGT ) : void
NPPImage_8uC3