/// <summary> /// Create a GpuDisparityBilateralFilter /// </summary> /// <param name="ndisp">Number of disparities. Use 64 as default</param> /// <param name="radius">Filter radius, use 3 as default</param> /// <param name="iters">Number of iterations, use 1 as default</param> /* * /// <param name="edgeThreshold">Truncation of data continuity, use 0.1 as default</param> * /// <param name="maxDiscThreshold">Truncation of disparity continuity, use 0.2 as default</param> * /// <param name="sigmaRange">Filter range sigma, use 10.0 as default</param>*/ public GpuDisparityBilateralFilter(int ndisp, int radius, int iters) { _ptr = GpuInvoke.GpuDisparityBilateralFilterCreate(ndisp, radius, iters); }
/// <summary> /// Create a GpuDisparityBilateralFilter /// </summary> /// <param name="ndisp">Number of disparities. Use 64 as default</param> /// <param name="radius">Filter radius, use 3 as default</param> /// <param name="iters">Number of iterations, use 1 as default</param> /// <param name="edgeThreshold">Truncation of data continuity, use 0.1 as default</param> /// <param name="maxDiscThreshold">Truncation of disparity continuity, use 0.2 as default</param> /// <param name="sigmaRange">Filter range sigma, use 10.0 as default</param> public GpuDisparityBilateralFilter(int ndisp, int radius, int iters, float edgeThreshold, float maxDiscThreshold, float sigmaRange) { _ptr = GpuInvoke.GpuDisparityBilateralFilterCreate(ndisp, radius, iters, edgeThreshold, maxDiscThreshold, sigmaRange); }