public class PointCloudUtils
extends java.lang.Object
| Constructor and Description |
|---|
PointCloudUtils() |
| Modifier and Type | Method and Description |
|---|---|
static double |
autoScale(java.util.List<georegression.struct.point.Point3D_F64> cloud,
double target)
Automatically rescales the point cloud based so that it has a standard deviation of 'target'
|
static void |
prune(java.util.List<georegression.struct.point.Point3D_F64> cloud,
org.ddogleg.struct.GrowQueue_I32 colors,
int minNeighbors,
double radius)
Prunes points from the point cloud if they have very few neighbors
|
static void |
prune(java.util.List<georegression.struct.point.Point3D_F64> cloud,
int minNeighbors,
double radius)
Prunes points from the point cloud if they have very few neighbors
|
static void |
statistics(java.util.List<georegression.struct.point.Point3D_F64> cloud,
georegression.struct.point.Point3D_F64 mean,
georegression.struct.point.Point3D_F64 stdev)
Computes the mean and standard deviation of each axis in the point cloud computed in dependently
|
public static double autoScale(java.util.List<georegression.struct.point.Point3D_F64> cloud,
double target)
cloud - The point cloudtarget - The desired standard deviation of the cloud. Try 100public static void statistics(java.util.List<georegression.struct.point.Point3D_F64> cloud,
georegression.struct.point.Point3D_F64 mean,
georegression.struct.point.Point3D_F64 stdev)
cloud - (Input) Cloudmean - (Output) mean of each axisstdev - (Output) standard deviation of each axispublic static void prune(java.util.List<georegression.struct.point.Point3D_F64> cloud,
int minNeighbors,
double radius)
cloud - Point cloudminNeighbors - Minimum number of neighbors for it to not be prunedradius - search distance for neighborspublic static void prune(java.util.List<georegression.struct.point.Point3D_F64> cloud,
org.ddogleg.struct.GrowQueue_I32 colors,
int minNeighbors,
double radius)
cloud - Point cloudcolors - Color of each point.minNeighbors - Minimum number of neighbors for it to not be prunedradius - search distance for neighbors