DepthChangeCost

<< Click to Display Table of Contents >>

Navigation:  NxLib API > Tree > Cameras > BySerialNo > 120001 (a stereo camera) > Parameters > DisparityMap > StereoMatching >

DepthChangeCost

The penalty for changes of +/- 1 disparity along an optimization path. This value must be smaller than DepthStepCost. Setting a larger value for DepthChangeCost will result in smoother surfaces, but some details might get lost when setting this value too large.

Format

Number

A positive integer specifying the cost of disparity changes in the disparity map.

Default Value

5