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)
Syntaxpublic static void Filter(
this IDisparityFilter filter,
IInputArray disparityMapLeft,
IOutputArray leftView,
IOutputArray filteredDisparityMap,
IInputArray disparityMapRight = null,
Rectangle roi = null,
IInputArray rightView = null
)
<ExtensionAttribute>
Public Shared Sub Filter (
filter As IDisparityFilter,
disparityMapLeft As IInputArray,
leftView As IOutputArray,
filteredDisparityMap As IOutputArray,
Optional disparityMapRight As IInputArray = Nothing,
Optional roi As Rectangle = Nothing,
Optional rightView As IInputArray = Nothing
)
public:
[ExtensionAttribute]
static void Filter(
IDisparityFilter^ filter,
IInputArray^ disparityMapLeft,
IOutputArray^ leftView,
IOutputArray^ filteredDisparityMap,
IInputArray^ disparityMapRight = nullptr,
Rectangle roi = nullptr,
IInputArray^ rightView = nullptr
)
[<ExtensionAttribute>]
static member Filter :
filter : IDisparityFilter *
disparityMapLeft : IInputArray *
leftView : IOutputArray *
filteredDisparityMap : IOutputArray *
?disparityMapRight : IInputArray *
?roi : Rectangle *
?rightView : IInputArray
(* Defaults:
let _disparityMapRight = defaultArg disparityMapRight null
let _roi = defaultArg roi null
let _rightView = defaultArg rightView null
*)
-> unit
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