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

ThresholdGT() public method

Image threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
public ThresholdGT ( NPPImage_8uC3 dest, byte nThreshold ) : void
dest NPPImage_8uC3 Destination image
nThreshold byte The threshold value.
return void
        public void ThresholdGT(NPPImage_8uC3 dest, byte[] nThreshold)
        {
            status = NPPNativeMethods.NPPi.Threshold.nppiThreshold_GT_8u_C3R(_devPtrRoi, _pitch, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, nThreshold);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiThreshold_GT_8u_C3R", status));
            NPPException.CheckNppStatus(status, this);
        }

Same methods

NPPImage_8uC3::ThresholdGT ( NPPImage_8uC3 dest, byte nThreshold, byte nValue ) : void
NPPImage_8uC3::ThresholdGT ( byte nThreshold ) : void
NPPImage_8uC3::ThresholdGT ( byte nThreshold, byte nValue ) : void
NPPImage_8uC3