bearing_angle_image — 3D range_image op

Data kinds: depthimage2d

Call: import fullseye as fs; fs.ledger.bearing_angle_image(depth, direction='down') (to call the implementation directly, import range_image; range_image.bearing_angle_image(depth, direction='down'); from the registry, ops3d.get("bearing_angle_image"))

Usage

A bearing-angle image: the angle between the line of sight along the scan direction and the local surface (a classic range-image descriptor). → HxW in degrees.

> The detailed description below is the original text — the summary and the headings are translated.

隣接深度差から局所傾斜角 atan2(Δdepth, step) を計算。斜面の向きに敏感で照明不変。

direction ∈ {down,up,right,left}。

`direction` が "down"/"up" なら行方向(axis=0)、"right"/"left" なら列方向(axis=1)の

`np.gradient`(中心差分、端は片側差分)で隣接深度差 Δd を取り、"up"/"left" では符号を

反転する。角度は `degrees(atan2(Δd, 1))` なので値域は (-90, 90) 度、平坦面で 0、走査

方向に遠ざかる面で正。格子間隔を 1 としているため、深度の単位が画素と違う(mm 等)場合

は幾何学的な入射角そのものではなく「深度単位あたりの傾き」の角になる。上記 4 語以外の

`direction` は列方向・符号そのままとして扱われ、エラーにはならない。返り値は float32

の `(H,W)`。深度の段差では ±90 度近くまで振れるので遮蔽の目安にもなるが、段差と斜面

を区別するには `occlusion_edges` を使う。入力検証は無い。

Background guides (the physics and conventions behind this op)

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

depth_sensors — 深度センサの知識 — 測距原理・実機の値・欠測の出方

References (sample data, literature)

• 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.

Runnable examples (verified samples that actually call this op)

sensor_segpy -3.11 examples_3d/sensor_seg.py

Ops the type connects to (they accept image2d as input)

fuse_to_voxel · fit_poly_surface · eval_poly_surface · surface_form_error · background_flatten · polar_unwrap · fit_zernike · matcap_shade

Same category (range_image)

depth_to_organized_points · normals_from_depth · occlusion_edges


*Provenance: range_image.py — 3D 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.