Table of Contents

Property BlockSize

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

BlockSize

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 the algorithm to find a wrong correspondence.

public int BlockSize { get; set; }

Property Value

int