Go to the documentation of this file.
55 dists(
Dists(knn, pointsCount)),
56 ids(
Ids(knn, pointsCount))
65 values.reserve(dists.rows() * dists.cols());
66 for (
int x = 0;
x < dists.cols(); ++
x)
68 for (
int y = 0; y < dists.rows(); ++y)
70 if (dists(y,
x) != numeric_limits<T>::infinity())
79 if (quantile < 0.0 || quantile > 1.0)
94 values.reserve(dists.rows() * dists.cols());
95 const long cols = dists.cols();
96 const long rows = dists.rows();
97 for (
int x = 0;
x < cols; ++
x)
99 for (
int y = 0; y < rows; ++y)
101 if (dists(y,
x) != numeric_limits<T>::infinity())
114 const unsigned size =
values.size();
115 for (
unsigned i = 0; i < size; ++i)
127 auto d = dists.array();
128 return std::sqrt((
d -
d.mean()).square().sum()/(
d.size()-1));
Matrix Dists
Squared distances to closest points, dense matrix of ScalarType.
T getMedianAbsDeviation() const
Calculate the Median of Absolute Deviation(MAD), which is median(|x-median(x)|), a kind of robust sta...
Functions and classes that are dependant on scalar type are defined in this templatized class.
Point matcher did not converge.
Matches()
In case of too few matches the dists are filled with InvalidDist.
IntMatrix Ids
Identifiers of closest points, dense matrix of integers.
Result of the data-association step (Matcher::findClosests), before outlier rejection.
std::vector< double > values
T getStandardDeviation() const
T getDistsQuantile(const T quantile) const
Get the distance at the T-ratio closest point.
mp2p_icp
Author(s):
autogenerated on Fri Dec 20 2024 03:45:59