mrdja.ransac.coreransaccuda.get_how_many_below_threshold_kernel

mrdja.ransac.coreransaccuda.get_how_many_below_threshold_kernel(points_x: ndarray, points_y: ndarray, points_z: ndarray, a: float, b: float, c: float, d: float, optimized_threshold: float, result: int) None[source]

Computes the number of points that are below a threshold distance from a plane using CUDA parallel processing.

Parameters:
  • points_x (np.ndarray) – The x-coordinates of the points.

  • points_y (np.ndarray) – The y-coordinates of the points.

  • points_z (np.ndarray) – The z-coordinates of the points.

  • a (float) – The first coefficient of the plane equation.

  • b (float) – The second coefficient of the plane equation.

  • c (float) – The third coefficient of the plane equation.

  • d (float) – The fourth coefficient of the plane equation.

  • optimized_threshold (float) – The threshold distance from the plane.

  • point_indices (np.ndarray) – The array of indices representing the points that are below the threshold.