Package boofcv.alg.disparity.sgm
Class SgmHelper
java.lang.Object
boofcv.alg.disparity.sgm.SgmHelper
Various helper functions for computing SGM disparities.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(int width, int disparityMin, int disparityRange) final int
localDisparityRangeLeft
(int x) Number of disparity values that can be considered for this x value along the left side of the image.final int
localDisparityRangeRight
(int x) Same aslocalDisparityRangeLeft(int)
but for the right image boundary
-
Field Details
-
width
public int width -
disparityMin
public int disparityMin -
disparityRange
public int disparityRange
-
-
Constructor Details
-
SgmHelper
public SgmHelper()
-
-
Method Details
-
configure
public void configure(int width, int disparityMin, int disparityRange) -
localDisparityRangeLeft
public final int localDisparityRangeLeft(int x) Number of disparity values that can be considered for this x value along the left side of the image. Values greater than this are out of the right image bounds or greater than 'rangeDisparity' -
localDisparityRangeRight
public final int localDisparityRangeRight(int x) Same aslocalDisparityRangeLeft(int)
but for the right image boundary
-