deviation op• Data kinds: points × points → signal
• Call: import shapestats; shapestats.signed_surface_distance(query, surface, surface_normals=None, k: 'int' = 1) (or opsshapestat.get("signed_surface_distance"))
> This operator's description has not been translated yet. The original text follows as it is.
問い合わせ点から面までの符号つき距離。→ `(N,)`。
符号は面の法線から決める(外側が正)。1-D の輪郭には
`profileops.profile_deviation` があるのに 3-D に相当が無かった、というのが
2026-09-06 に PoC が出した穴。
法線を省くと :func:normals_orient.estimate_oriented_normals で推定する
—— 向き付きでなければ符号が点ごとにばらつく(素の PCA 法線は符号が任意で、
回転すると 4 割が裏返る。`pointcloud.fpfh` が踏んだのと同じ穴)。
`k` は符号を決めるときに使う最近傍の数。1 だと最近傍 1 点の法線に賭ける
ことになり、雑音のある面では符号が飛ぶ。2 以上にすると距離で重みを付けた
平均の向きで決める(距離そのものは最近傍のまま)。
• shape_statistics family guide
• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).
• Operator provenance and references — the sources of the research/methods this op family came from.
• The canonical algorithm (author, year) and its uses are named in the family usage guide above.
• (none yet)
signal as input)deviation)—
*Provenance: shapestats.py — SHAPESTAT operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.