Lines Matching refs:Point3d
176 MeanshiftGrouping(const Point3d& densKer, const std::vector<Point3d>& posV, in MeanshiftGrouping()
196 void getModes(std::vector<Point3d>& modesV, std::vector<double>& resWeightsV, const double eps) in getModes()
224 std::vector<Point3d> positionsV;
227 Point3d densityKernel;
230 std::vector<Point3d> meanshiftV;
231 std::vector<Point3d> distanceV;
235 Point3d getNewValue(const Point3d& inPt) const in getNewValue()
237 Point3d resPoint(.0); in getNewValue()
238 Point3d ratPoint(.0); in getNewValue()
241 Point3d aPt= positionsV[i]; in getNewValue()
242 Point3d bPt = inPt; in getNewValue()
243 Point3d sPt = densityKernel; in getNewValue()
256 … double w = (weightsV[i])*std::exp(-((aPt-bPt).dot(aPt-bPt))/2)/std::sqrt(sPt.dot(Point3d(1,1,1))); in getNewValue()
270 double getResultWeight(const Point3d& inPt) const in getResultWeight()
275 Point3d aPt = positionsV[i]; in getResultWeight()
276 Point3d sPt = densityKernel; in getResultWeight()
287 sumW+=(weightsV[i])*std::exp(-(aPt.dot(aPt))/2)/std::sqrt(sPt.dot(Point3d(1,1,1))); in getResultWeight()
292 Point3d moveToMode(Point3d aPt) const in moveToMode()
294 Point3d bPt; in moveToMode()
307 double getDistance(Point3d p1, Point3d p2) const in getDistance()
309 Point3d ns = densityKernel; in getDistance()
324 std::vector<Point3d> hits(detectionCount), resultHits; in groupRectangles_meanshift()
332 hits[i] = Point3d(hitCenter.x, hitCenter.y, std::log(scales[i])); in groupRectangles_meanshift()
340 Point3d smothing(8, 16, logZ); in groupRectangles_meanshift()