struct mp2p_icp_filters::FilterDecimate::Parameters

Overview

#include <FilterDecimate.h>

struct Parameters
{
    // fields

    std::string input_layer = mp2p_icp::metric_map_t::PT_LAYER_RAW;
    std::string output_layer;
    uint32_t decimation = 0;
    uint64_t target_max_size = 0;

    // methods

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

Fields

std::string input_layer = mp2p_icp::metric_map_t::PT_LAYER_RAW

Input layer name (must be a point cloud)

std::string output_layer

Output layer name

uint32_t decimation = 0

Keep one out of every ‘decimation’ points. If > 0, this takes precedence over target_max_size.

uint64_t target_max_size = 0

Target maximum number of points in the output cloud. Used only if decimation == 0.