DepthStepCostΒΆ

The penalty for steps (changes of more than one disparity) along an optimization path. This value must be larger than DepthChangeCost. Setting a larger value for DepthStepCost will yield better detection of planar surfaces in low contrast areas, but too large values will lead to a loss of geometry details and precise object boundaries.

Format

Number

A positive integer, strictly larger than DepthChangeCost, specifying the cost of disparity steps (discontinuities) in the disparity map.

Default

30