fullseye

render_compare_prescriptions — OPTICS lensrender op

使い方

Render the same scene through two or more prescriptions and tabulate how good each picture is -> dict.

Every system is rendered by :func:render_scene_through_lens with the same scene, sensor and render_kw (give focus_mm to focus each one on the scene). The table has one row per system: the effective focal length and f-number, the RMS spot radius (um) at the fields (fractions of the half diagonal of the sensor, or of field_max - an object height in mm, degrees for an object at infinity - when the picture covers only the middle of the lens’s field; from raytrace.spot_stats), the relative illumination at the corner (lensimage’s traced value), the distortion at the corner (%, lensimage.distortion_map), the lateral colour at 0.7 field (um, raytrace.chromatic_shift) and, when edge_roi (y0, y1, x0, x1) encloses a slanted edge of the scene in the picture, its 10-90 % rise width and MTF50 (edgesfr, cycles per pixel; the ESF is binned at 1/4 pixel, or more coarsely when the tilt of a blurred edge cannot be estimated) measured on the noiseless render. Fields the lens cannot reach are NaN. Also images (the renders) and labels. Default: the doublet and the singlet prescriptions of raytrace.example_system.

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


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

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