Click or drag to resize

XImgprocInvokeFilter Method

http://www.emgu.com
Apply filtering to the disparity map.

Namespace:  Emgu.CV.XImgproc
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntax
public static void Filter(
	this IDisparityFilter filter,
	IInputArray disparityMapLeft,
	IOutputArray leftView,
	IOutputArray filteredDisparityMap,
	IInputArray disparityMapRight = null,
	Rectangle roi = null,
	IInputArray rightView = null
)

Parameters

filter
Type: Emgu.CV.XImgprocIDisparityFilter
The disparity filter
disparityMapLeft
Type: Emgu.CVIInputArray
Disparity map of the left view, 1 channel, CV_16S type. Implicitly assumes that disparity values are scaled by 16 (one-pixel disparity corresponds to the value of 16 in the disparity map). Disparity map can have any resolution, it will be automatically resized to fit left_view resolution.
leftView
Type: Emgu.CVIOutputArray
Left view of the original stereo-pair to guide the filtering process, 8-bit single-channel or three-channel image.
filteredDisparityMap
Type: Emgu.CVIOutputArray
Output disparity map.
disparityMapRight (Optional)
Type: Emgu.CVIInputArray
Optional argument, some implementations might also use the disparity map of the right view to compute confidence maps, for instance.
roi (Optional)
Type: System.DrawingRectangle
Region of the disparity map to filter. Optional, usually it should be set automatically.
rightView (Optional)
Type: Emgu.CVIInputArray
Optional argument, some implementations might also use the right view of the original stereo-pair.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDisparityFilter. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also