public class SelectRectSubpixel
extends java.lang.Object
Implementation of ImplSelectRectStandardBase_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.
| Modifier and Type | Class and Description |
|---|---|
static class |
SelectRectSubpixel.F32_F32
For scores of type float[]
|
static class |
SelectRectSubpixel.S32_F32
For scores of type int[]
|
| Constructor and Description |
|---|
SelectRectSubpixel() |