9#include <pcl/markov_clustering.hpp>
10#include <spdmon/spdmon.hpp>
18#include <fmt/format.h>
20#include <spdlog/sinks/stdout_color_sinks.h>
21#include <spdlog/spdlog.h>
22#include <spdlog/stopwatch.h>
24#include <pcl/common/pca.h>
25#include <pcl/correspondence.h>
26#include <pcl/filters/filter.h>
27#include <pcl/filters/uniform_sampling.h>
28#include <pcl/io/auto_io.h>
29#include <pcl/io/pcd_io.h>
30#include <pcl/point_types.h>
31#include <pcl/search/kdtree.h>
32#include <pcl/visualization/pcl_visualizer.h>
34#include <boost/parameter.hpp>
35#include <boost/parameter/keyword.hpp>
36#include <boost/parameter/name.hpp>
38namespace parameter = boost::parameter;
43 const float inflation,
const float expansion,
44 const float pruning_threshold,
45 const float convergence_threshold,
const int max_iter,
48BOOST_PARAMETER_NAME(cloud)
49BOOST_PARAMETER_NAME(normals)
50BOOST_PARAMETER_NAME(planes)
51BOOST_PARAMETER_NAME(grid_size)
52BOOST_PARAMETER_NAME(inflation)
53BOOST_PARAMETER_NAME(expansion)
54BOOST_PARAMETER_NAME(pruning_threshold)
55BOOST_PARAMETER_NAME(convergence_threshold)
56BOOST_PARAMETER_NAME(max_iter)
68 (grid_size, (
double), 0.5)
69 (inflation, (
double), 2.0)
71 (pruning_threshold, (
double), 0.0001)
72 (convergence_threshold, (
double), 1e-8)
73 (max_iter, (
int), 100)
77 expansion, pruning_threshold, convergence_threshold,
auto segment_rooms_impl(CloudConstPtr cloud, CloudNConstPtr normals, CloudLConstPtr planes, const float grid_size, const float inflation, const float expansion, const float pruning_threshold, const float convergence_threshold, const int max_iter, const bool visualize) -> CloudLPtr
BOOST_PARAMETER_FUNCTION((std::tuple< CloudLPtr, CloudLocPtr, CloudNPtr >), segment_planes, tag,(required(cloud,(CloudConstPtr))(normals,(CloudNConstPtr)))(optional(angle_threshold,(float), 25.0)(plane_dist_threshold,(float), 0.07)(min_inliers,(int), 1000)(radius,(float), 0.5)(interval_0,(int), 16)(interval_factor,(float), 1.5)(visualize,(bool), false)))
typename CloudL::ConstPtr CloudLConstPtr
typename CloudN::ConstPtr CloudNConstPtr
typename CloudL::Ptr CloudLPtr
typename Cloud::ConstPtr CloudConstPtr