fullseye

bokeh_shape — OPTICS lensrender op

使い方

The out-of-focus footprint of a point source - the intersection of the pupil images, the cat’s eye -> dict.

The point sits at field_xy_mm in the object plane at object_mm (a height in mm; for an object at infinity a pair of angles in degrees; default: (0, 8) degrees for an object at infinity, a height of 5 % of the object distance otherwise), the sensor is defocus_mm behind the system’s image plane. A hexapolar pupil bundle of about pupil_samples rays is traced forward (raytrace.ray_bundle, which stops a ray at every semi-diameter); the rays that get through land on the shifted sensor and their convex hull is the footprint. The table has polygon_xy_mm (the hull, counter-clockwise, relative to its centroid, on the sensor axes), mask (a grid x grid boolean image of the footprint, extent_mm wide), area_mm2, the same for the on-axis point (axis_area_mm2), area_ratio (cat’s eye / on-axis disc), vignetting_factor (the share of the pupil area that gets through relative to the axis, from the ray bundle), n_valid, centroid_xy_mm, symmetry_error_mm (how far the footprint is from its mirror image about the meridional plane, 0 in exact arithmetic) and the footprint points points_xy_mm. The geometric defocus disc of a point on axis has the diameter 2 |defocus| NA' (tested). The system must be axisymmetric (the field is traced along +y and rotated).

ファミリ共通の入力契約(fail-closed)

optics の全 op は入力を検証してから計算する(黙って通さない):

詳しい使い方ガイド

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

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

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

abcd_matrix · wavefront_stats · sfr_from_edge · paraxial_trace · seidel_coefficients · spot_stats · tolerance_analysis · wavefront_from_opd

同カテゴリ(lensrender)

lens_scene · exit_pupil_samples · trace_sensor_rays · scene_radiance · render_scene_through_lens · render_ghost_overlay · render_compare_prescriptions


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

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