http://www.emgu.com
Create a stereoBM object
Namespace: Emgu.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntaxpublic StereoBM(
int numberOfDisparities = 0,
int blockSize = 21
)
Public Sub New (
Optional numberOfDisparities As Integer = 0,
Optional blockSize As Integer = 21
)
public:
StereoBM(
int numberOfDisparities = 0,
int blockSize = 21
)
new :
?numberOfDisparities : int *
?blockSize : int
(* Defaults:
let _numberOfDisparities = defaultArg numberOfDisparities 0
let _blockSize = defaultArg blockSize 21
*)
-> StereoBM
Parameters
- numberOfDisparities (Optional)
- Type: SystemInt32
the disparity search range. For each pixel algorithm will find the best disparity from 0 (default minimum disparity) to numberOfDisparities. The search range can then be shifted by changing the minimum disparity. - blockSize (Optional)
- Type: SystemInt32
the linear size of the blocks compared by the algorithm. The size should be odd (as the block is centered at the current pixel). Larger block size implies smoother, though less accurate disparity map. Smaller block size gives more detailed disparity map, but there is higher chance for algorithm to find a wrong correspondence.
See Also