MCPcopy Create free account
hub / github.com/cping/LGame / calculateSimilarity

Method calculateSimilarity

Java/Loon-Neo/src/loon/component/LGesture.java:604–620  ·  view source on GitHub ↗

计算两个手势点序列的相似度(0~1) 使用简单的欧氏距离归一化方法

(TArray<PointF> template, int targetSize)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

matchTemplateMethod · 0.95
classifyGestureMethod · 0.95

Calls 5

getNormalizedPointsMethod · 0.95
minMethod · 0.95
sqrtMethod · 0.95
isEmptyMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected