Lines Matching defs:median
62 double Median(std::vector<double>* data) {
216 // Compute the marginal median of the geometry.
218 Eigen::Vector3d median;
224 median(i) = Median(&tmp);
229 tmp[i] = (point - median).lpNorm<1>();
232 const double median_absolute_deviation = Median(&tmp);
234 // Scale so that the median absolute deviation of the resulting
238 VLOG(2) << "median: " << median.transpose();
239 VLOG(2) << "median absolute deviation: " << median_absolute_deviation;
242 // X = scale * (X - median)
245 point = scale * (point - median);
254 // center = scale * (center - median)
255 VectorRef(center, 3) = scale * (VectorRef(center, 3) - median);