Ejemplo n.º 1
0
 /// <summary>
 /// A Constant-Space Belief Propagation Algorithm for Stereo Matching
 /// </summary>
 /// <param name="ndisp">The number of disparities. Use 128 as default</param>
 /// <param name="iters">The number of BP iterations on each level. Use 8 as default.</param>
 /// <param name="levels">The number of levels. Use 4 as default</param>
 /// <param name="nrPlane">The number of active disparity on the first level. Use 4 as default.</param>
 public GpuStereoConstantSpaceBP(int ndisp, int iters, int levels, int nrPlane)
 {
     _ptr = GpuInvoke.GpuStereoConstantSpaceBPCreate(ndisp, iters, levels, nrPlane);
 }