mrdja.ransac.coreransac.get_ransac_line_iteration_results
- mrdja.ransac.coreransac.get_ransac_line_iteration_results(points: ndarray, threshold: float, len_points: int | None = None, seed: int | None = None) dict[source]
Returns the results of one iteration of the RANSAC algorithm for line fitting.
- Parameters:
points (np.ndarray) – The collection of points to fit the line to.
threshold (float) – The maximum distance from a point to the line for it to be considered an inlier.
len_points (Optional[int]) – The number of points in the collection of points.
- Returns:
A dictionary containing the current line parameters, number of inliers, and their indices.
- Return type:
dict