vertex_normals — 3D mesh_process op

データ種: meshnormals

呼び出し: import fullseye as fs; fs.ledger.vertex_normals(mesh) -> 'np.ndarray' (実装を直接呼ぶなら import mesh_props; mesh_props.vertex_normals(mesh) -> 'np.ndarray'、台帳から引くなら ops3d.get("vertex_normals"))

使い方

三角形メッシュの頂点法線(面積重み付きで集約した単位法線)。→ (N,3)。

各三角形の外積ベクトル(=面法線×2·面積)を、その 3 頂点へ散布加算し、頂点ごとに正規化する。

大きい(重要な)面ほど寄与が大きい面積重み付き平均になり、向きは面の巻き順から一貫する。

`normals_orient.estimate_normals`(点群 PCA・符号未定)と違い、追加の向き付け工程は不要。

Args:

mesh: (vertices (N,3), faces (M,3)) のタプル。

Returns:

(N,3) の単位頂点法線。

Raises:

ValueError: 形状不正・範囲外 index、または法線が定義できない頂点(入射面が無い/

寄与が相殺してゼロ)があるとき。

背景知識ガイド(この op の手前にある物理・規約)

blender_interop — Blender との併用 — 形を作って fullseye で測る(軸・単位・正解データの罠)

参考(サンプルデータ・文献)

• サンプルデータ カタログ(DL URL / ライセンス) — 2-D は skimage.data(BSD/public)+ 合成、3-D は実データ源(Stanford/PDS 等)の DL URL。

• 演算子の来歴・参考文献 — この op 族の元になった研究/手法の出典。

実行できる例(この op を実際に呼ぶ検証済みサンプル)

mesh_propspy -3.11 examples_3d/mesh_props.py

型が繋がる次の op(normals を入力に取れる)

icp_point2plane · compute_fpfh · shot_descriptor · fuse_to_voxel · reflect · refract · normal_consistency · ransac_cylinder

同カテゴリ(mesh_process)

laplacian_smooth · taubin_smooth · decimate_qem · face_normals · mesh_area · vertex_curvature · face_areas · mesh_volume


*Provenance: mesh_props.py — 3D operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.