Click or drag to resize
StereoBM Constructor
Create a stereoBM object

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: (
public StereoBM(
	int numberOfDisparities = 0,
	int blockSize = 21


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