render op• 資料種類:normalmap → image2d
• 呼叫: import fullseye as fs; fs.ledger.render_shaded(normals_img, light=(0, 0, 1), ambient=0.1)(要直接呼叫實作,import match3d; match3d.render_shaded(normals_img, light=(0, 0, 1), ambient=0.1);從台帳取用則 ops3d.get("render_shaded"))
法線圖 (H,W,3) + 光源方向 → Lambert 著色影像(外觀樣本生成,與光學銜接)。
以 (H, W) float64、值域 [0, 1] 回傳 I = ambient + (1 − ambient)·clip(n·L̂, 0, 1)。light 在內部單位化(零向量會因除以 0 變為 NaN),但法線不做單位化(請傳入單位法線。estimate_point_normals / normals_from_depth 的輸出為單位法線)。法線的分量順序與 light 的分量順序要一致(預設 (0,0,1) 遵循以第 3 分量=朝向相機為正面光的約定)。背向光源的面取 ambient 的值。將最後一個軸視為法線,因此 (N,3) 的逐點法線也能運作。沒有鏡面高光(另行以 fresnel_reflectance / reflect)。
用途: photometric_stereo 的驗算(法線 → 影像的正向),外觀檢測的合成樣本。
• blender_interop — 與 Blender 搭配使用 —— 在 Blender 中建形、用 fullseye 量測(座標軸、單位、真值資料的陷阱)
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• render_ao — py -3.11 examples_3d/render_ao.py
image2d 作為輸入)fuse_to_voxel · fit_poly_surface · eval_poly_surface · surface_form_error · background_flatten · polar_unwrap · fit_zernike · matcap_shade
render)project_points · render_point_depth · render_volume_projection · ambient_occlusion · cast_shadow · phong_shade · matcap_shade · supersample_mesh
*Provenance: match3d.py — 3D 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.