Home
last modified time | relevance | path

Searched refs:sPt (Results 1 – 2 of 2) sorted by relevance

/external/skia/tests/
DPathOpsDPointTest.cpp36 SkPoint sPt = pt.asSkPoint(); in DEF_TEST() local
37 p.set(sPt); in DEF_TEST()
39 REPORTER_ASSERT(reporter, p.approximatelyEqual(sPt)); in DEF_TEST()
/external/opencv3/modules/objdetect/src/
Dcascadedetect.cpp243 Point3d sPt = densityKernel; in getNewValue() local
245 sPt.x *= std::exp(aPt.z); in getNewValue()
246 sPt.y *= std::exp(aPt.z); in getNewValue()
248 aPt.x /= sPt.x; in getNewValue()
249 aPt.y /= sPt.y; in getNewValue()
250 aPt.z /= sPt.z; in getNewValue()
252 bPt.x /= sPt.x; in getNewValue()
253 bPt.y /= sPt.y; in getNewValue()
254 bPt.z /= sPt.z; 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()
[all …]