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

ThresholdLTGT() public method

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 ( NPPImage_8uC3 dest, byte nThresholdLT, byte nValueLT, byte nThresholdGT, byte nValueGT ) : void
dest NPPImage_8uC3 Destination image
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(NPPImage_8uC3 dest, byte[] nThresholdLT, byte[] nValueLT, byte[] nThresholdGT, byte[] nValueGT)
        {
            status = NPPNativeMethods.NPPi.Threshold.nppiThreshold_LTValGTVal_8u_C3R(_devPtrRoi, _pitch, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, nThresholdLT, nValueLT, nThresholdGT, nValueGT);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiThreshold_LTValGTVal_8u_C3R", status));
            NPPException.CheckNppStatus(status, this);
        }

Same methods

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