symmetry op• Data kinds: points → matrix
• Call: import shapestats; shapestats.mirror_plane_from_pairs(landmarks, pairs=None, midline=None) (or opsshapestat.get("mirror_plane_from_pairs"))
> This operator's description has not been translated yet. The original text follows as it is.
左右の対応ランドマークから正中面を出す。→ `(2, 3)`(1 行目 = 点、2 行目 = 法線)。
左右の対 `(i, j)` の中点は、どれも正中面の上に乗る。だからその中点集合に
平面を当てればよい —— 変形の量に依らず面が決まるのが要点で、残差を最小に
する面(:func:symmetry3d.detect_reflection_symmetry)とは別物である。
★ 2026-09-06 の実測: 6.4 mm の片側変形を入れると、**残差最適面は真の正中面
から 2.92 mm / 1.72 度ずれ、非対称量の 46 % を消した**(利得 0.54)。この
ランドマーク面なら利得 1.03。見つけるなら残差最適面、量を言うならこちら。
*midline* は正中線上にある(対にならない)ランドマークの添字。与えると
中点集合に足して面の当てはめを安定させる。
`pairs=None は**前半と後半を対にする**規約(i と i + N//2`)。
左のランドマークを全部並べてから右を同じ順で並べる、という保存形式が
形態計測では一般的なので、それに合わせてある。点数が奇数なら拒否する
—— 半分に割れない並びを黙って切り詰めると、対が 1 つずつずれて全部の
符号が入れ替わる。
• 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)
matrix as input)—
symmetry)*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.