concepts.vision.depth_smoother.depth_anything_smoother.fit_spline_ransac#

fit_spline_ransac(depth, predicted_depth, k=3, s=10, ransac_n=10, ransac_init_ratio=0.5, ransac_threshold=0.1, return_sorted_points=False)[source]#

Fit a spline to the depth map using the predicted depth map. In particular, we will fit depth = f(predicted_depth).

Parameters: