vertex_normals — 3D mesh_process op

• 資料種類:mesh → normals

• 呼叫: 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 越界,或存在無法定義法線的頂點(沒有入射面/

貢獻相互抵消為零)時。

背景知識指南(該運算子背後的物理與規範)

• blender_interop — 與 Blender 搭配使用 —— 在 Blender 中建形、用 fullseye 量測(座標軸、單位、真值資料的陷阱)

參考(範例資料、文獻)

• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。

• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。

可執行的範例(實際呼叫該運算子並已驗證的樣例)

• mesh_props — py -3.11 examples_3d/mesh_props.py

型別可銜接的下一個運算子(可接受 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 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

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