Skip to content

Parameter (libSGM)

Seiya Shimizu edited this page Sep 23, 2019 · 3 revisions

libsgm

  • min_disparity: Disparity to begin search at [pixels] (may be negative).
  • disparity_range: Number of disparities to search [pixels].
  • uniqueness_ratio: Filter out if best match does not sufficiently exceed the next-best match.
  • path_type: Scan line directions used during cost aggregation step.
  • P1: The first parameter controlling the disparity smoothness. See below.
  • P2: The second parameter controlling the disparity smoothness. The larger the values are, the smoother the disparity is. P1 is the penalty on the disparity change by plus or minus 1 between neighbor pixels. P2 is the penalty on the disparity change by more than 1 between neighbor pixels.
Clone this wiki locally