struct mp2p_icp_filters::FilterPointCovariances::Parameters

Overview

#include <FilterPointCovariances.h>

struct Parameters
{
    // fields

    std::string pointcloud_layer = mp2p_icp::metric_map_t::PT_LAYER_RAW;
    uint32_t knn = 20;
    float max_search_distance = 2.0f;
    uint32_t min_neighbors = 5;
    double eigenvalue_floor = 1e-4;
    size_t parallelization_grain_size = 256UL;

    // methods

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

Fields

std::string pointcloud_layer = mp2p_icp::metric_map_t::PT_LAYER_RAW

The layer to which the covariances are added.

uint32_t knn = 20

Number of neighbors (including the point itself).

float max_search_distance = 2.0f

Neighbors farther than this [m] are ignored.

uint32_t min_neighbors = 5

Fewer neighbors than this give a zero covariance.

double eigenvalue_floor = 1e-4

Lower bound of every eigenvalue [m^2].

size_t parallelization_grain_size = 256UL

When TBB is enabled, the grainsize for parallel processing.