http://www.emgu.com
Applies fixed-level thresholding to single-channel array. The function is typically used to get bi-level (binary) image out of grayscale image or for removing a noise, i.e. filtering out pixels with too small or too large values. There are several types of thresholding the function supports that are determined by thresholdType

Namespace: Emgu.CV.GPU
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static double Threshold(
	IntPtr src,
	IntPtr dst,
	double threshold,
	double maxValue,
	THRESH thresholdType,
	IntPtr stream
)
Visual Basic
Public Shared Function Threshold ( 
	src As IntPtr,
	dst As IntPtr,
	threshold As Double,
	maxValue As Double,
	thresholdType As THRESH,
	stream As IntPtr
) As Double
Visual C++
public:
static double Threshold(
	IntPtr src, 
	IntPtr dst, 
	double threshold, 
	double maxValue, 
	THRESH thresholdType, 
	IntPtr stream
)
F#
static member Threshold : 
        src : IntPtr * 
        dst : IntPtr * 
        threshold : float * 
        maxValue : float * 
        thresholdType : THRESH * 
        stream : IntPtr -> float 

Parameters

src
Type: System..::..IntPtr
Source array (single-channel, 8-bit of 32-bit floating point).
dst
Type: System..::..IntPtr
Destination array; must be either the same type as src or 8-bit.
threshold
Type: System..::..Double
Threshold value
maxValue
Type: System..::..Double
Maximum value to use with CV_THRESH_BINARY and CV_THRESH_BINARY_INV thresholding types
thresholdType
Type: Emgu.CV.CvEnum..::..THRESH
Thresholding type
stream
Type: System..::..IntPtr
Use a Stream to call the function asynchronously (non-blocking) or IntPtr.Zero to call the function synchronously (blocking).

Return Value

Type: Double

[Missing <returns> documentation for "M:Emgu.CV.GPU.GpuInvoke.Threshold(System.IntPtr,System.IntPtr,System.Double,System.Double,Emgu.CV.CvEnum.THRESH,System.IntPtr)"]

See Also