UniquenessRatio

Filters the pixels depending on the uniqueness of the found correspondence. The value indicates the percentage, by which the cost of the next best correspondence must be larger (compared to the best correspondence), such that the pixel is accepted.

UniquenessRatio

Format

Number

An integer specifying the uniqueness margin in percent.

Note

Setting this parameter to 0 disables the uniqueness filter.

Default

Devices which support FlexView

1

see also defaults for matching Method

others

10

Example

Let r be the uniqueness ratio, and C1st and C2nd be the cost of the best and second best correspondence for a pixel. The depth value of this pixel is only accepted if

C1st<(100r)100C2nd

If a pixel doesn’t fulfill the uniqueness threshold, it is discarded and set invalid. If UniquenessRatio is 10 percent: C1st must be <0.9C2nd for each pixel, otherwise the pixel’s depth value will be discarded.