fullseye

render_ghost_overlay — OPTICS lensrender op

使い方

The two-reflection ghosts of a bright point, as electrons on the sensor -> dict.

The point is the scene’s first source or, with light_xy_mm (x, y), a source at distance_mm in front of the lens with spectral intensity intensity_W_sr_nm. raytrace3d.ghost_analysis gives, for every pair of refracting surfaces, the ghost’s energy relative to the image (R_i R_j times the transmittances along its path, reflectance being one value for all surfaces, or a raytrace3d coating spec) and the share of rays that reach the sensor; ghost_path gives the real rays of the strongest max_ghosts ghosts, which are spread over the pixels with the power I Omega T energy_ratio of the point. A reflectance of 0 gives an overlay that is exactly zero. The table has overlay_electrons (H, W), electrons_with_ghosts (when base_electrons, e.g. a render’s electrons_mean, is given), image_electrons (the point’s own image, for the ratio), ghosts (one row per ghost: surfaces i, j, energy_ratio, reach_fraction, power_ratio = their product, the footprint centroid in pixels (row, col) and its radius, and the offset from the main image in pixels), main_image_px and wavelengths_um. The point must be on or off the axis of an axisymmetric system; the sensor plane follows defocus_mm / focus_mm as in the render.

ファミリ共通の入力契約(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 · bokeh_shape · 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.