struct mp2p_icp_filters::FilterDecimateAdaptive::Parameters

Overview

#include <FilterDecimateAdaptive.h>

struct Parameters
{
    // fields

    bool enabled = true;
    std::string input_pointcloud_layer =             mp2p_icp::metric_map_t::PT_LAYER_RAW;
    std::string output_pointcloud_layer;
    unsigned int desired_output_point_count = 1000;
    unsigned int minimum_input_points_per_voxel = 1;
    double assumed_minimum_pointcloud_bbox = 10.0;
    unsigned int maximum_voxel_count_per_dimension = 100;

    // methods

    void load_from_yaml(const mrpt::containers::yaml& c);
};

Fields

unsigned int minimum_input_points_per_voxel = 1

Voxels with less points will not generate anything at the output layer