Class PointCloudUtils_F64

java.lang.Object
boofcv.alg.cloud.PointCloudUtils_F64

public class PointCloudUtils_F64 extends Object
Various utility functions for working with point clouds with a float type of double.
  • Constructor Details

    • PointCloudUtils_F64

      public PointCloudUtils_F64()
  • Method Details

    • filter

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

      public static double autoScale(List<Point3D_F64> cloud, double 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_F64> cloud, Point3D_F64 mean, Point3D_F64 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_F64> cloud, int minNeighbors, double 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_F64> cloud, DogArray_I32 colors, int minNeighbors, double 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