Home
last modified time | relevance | path

Searched refs:SqDistance (Results 1 – 3 of 3) sorted by relevance

/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
Dscreen_finder.py267 if cv_util.SqDistance(self._prev_corners[0], point) <= max_dist or \
268 cv_util.SqDistance(self._prev_corners[1], point) <= max_dist or \
269 cv_util.SqDistance(self._prev_corners[2], point) <= max_dist or \
270 cv_util.SqDistance(self._prev_corners[3], point) <= max_dist:
596 sqdist = cv_util.SqDistance(corner, point)
732 dist = cv_util.SqDistance(isection[0], self._prev_corners[i])
786 w = np.sqrt(cv_util.SqDistance(corners[1], corners[0]))
787 h = np.sqrt(cv_util.SqDistance(corners[1], corners[2]))
Dcv_util_unittest.py107 dists = self.cv_util.SqDistance(p1, p2)
114 self.assertEqual(self.cv_util.SqDistance(p1, p2), 8)
Dcv_util.py87 def SqDistance(point1, point2): function