Class SelectErrorSubpixel
java.lang.Object
boofcv.alg.disparity.block.select.SelectErrorSubpixel
Implementation of SelectErrorWithChecks_S32
that adds sub-pixel accuracy. Using
equation (3) from [1]:
d_sub = d + (C0 - C2)/(2*(C0 - 2*C1 + C2)
where C0,C1,C2 is the cost value, before, at, and after the selected disparity.
[1] Wannes van der Mark and Dariu M. Gavrila, "Real-Time Dense Stereo for Intelligent Vehicles" IEEE Trans. Intelligent Transportation Systems, Vol 7., No 1. March 2006.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
For scores of type float[]static class
For scores of type int[] -
Constructor Summary
-
Method Summary
-
Constructor Details
-
SelectErrorSubpixel
public SelectErrorSubpixel()
-