Class PointCloudUtils_F32

java.lang.Object
boofcv.alg.cloud.PointCloudUtils_F32

@Generated("boofcv.alg.cloud.PointCloudUtils_F64") public class PointCloudUtils_F32 extends Object
Various utility functions for working with point clouds with a float type of float.
  • Constructor Details

    • PointCloudUtils_F32

      public PointCloudUtils_F32()
  • Method Details

    • filter

      public static DogArray<Point3dRgbI_F32> filter(AccessPointIndex<Point3D_F32> accessPoint, AccessColorIndex accessColor, int size, BoofLambdas.FilterInt filter, @Nullable @Nullable DogArray<Point3dRgbI_F32> output)
      Creates a new list of points while filtering out points
    • autoScale

      public static float autoScale(List<Point3D_F32> cloud, float target)
      Automatically rescales the point cloud based so that it has a standard deviation of 'target'
      Parameters:
      cloud - The point cloud
      target - The desired standard deviation of the cloud. Try 100
      Returns:
      The selected scale factor
    • statistics

      public static void statistics(List<Point3D_F32> cloud, Point3D_F32 mean, Point3D_F32 stdev)
      Computes the mean and standard deviation of each axis in the point cloud computed in dependently
      Parameters:
      cloud - (Input) Cloud
      mean - (Output) mean of each axis
      stdev - (Output) standard deviation of each axis
    • prune

      public static void prune(List<Point3D_F32> cloud, int minNeighbors, float radius)
      Prunes points from the point cloud if they have very few neighbors
      Parameters:
      cloud - Point cloud
      minNeighbors - Minimum number of neighbors for it to not be pruned
      radius - search distance for neighbors
    • prune

      public static void prune(List<Point3D_F32> cloud, DogArray_I32 colors, int minNeighbors, float radius)
      Prunes points from the point cloud if they have very few neighbors
      Parameters:
      cloud - Point cloud
      colors - Color of each point.
      minNeighbors - Minimum number of neighbors for it to not be pruned
      radius - search distance for neighbors