/** * Constructor where default algorithms are used for motion estimation and nearest-neighbor search * @param maxDistance Maximum distance two points can be apart for them to be associated * @param maxIterations Maximum number of iterations. Try 20 * @param convergenceTol Tolerance for convergence. Try 1e-12 */ public IcpCloud3D(double maxDistance, int maxIterations, double convergenceTol ) { this.maxDistance = maxDistance; this.maxIterations = maxIterations; this.convergenceTol = convergenceTol; motionAlg = new MotionSe3PointSVD_F64(); nn = FactoryNearestNeighbor.kdtree(); nn.init(3); }
/** * Constructor where default algorithms are used for motion estimation and nearest-neighbor search * @param maxDistance Maximum distance two points can be apart for them to be associated * @param maxIterations Maximum number of iterations. Try 20 * @param convergenceTol Tolerance for convergence. Try 1e-12 */ public IcpCloud3D(double maxDistance, int maxIterations, double convergenceTol ) { this.maxDistance = maxDistance; this.maxIterations = maxIterations; this.convergenceTol = convergenceTol; motionAlg = new MotionSe3PointSVD_F64(); nn = FactoryNearestNeighbor.kdtree(); nn.init(3); }
/** * Constructor where default algorithms are used for motion estimation and nearest-neighbor search * @param maxDistance Maximum distance two points can be apart for them to be associated * @param maxIterations Maximum number of iterations. Try 20 * @param convergenceTol Tolerance for convergence. Try 1e-12 */ public IcpCloud3D(double maxDistance, int maxIterations, double convergenceTol ) { this.maxDistance = maxDistance; this.maxIterations = maxIterations; this.convergenceTol = convergenceTol; motionAlg = new MotionSe3PointSVD_F64(); nn = FactoryNearestNeighbor.kdtree(); nn.init(3); }