fullseye

underwater_inspection_image — OPTICS watervision op

使い方

A hull or pipe inspection image: a lamp at the camera lights a wall through water -> dict (image, per-pixel SNR).

A thin layer over :func:watermedia.underwater_image (the Akkaynak and Treibitz form: direct signal plus backscatter veil). scene_albedo is (H, W) or (H, W, 3) and distance_map_m (H, W) the camera-to-surface distance (> 0). light="camera": the only light is a lamp at the camera of lamp_power (relative power at 1 m); the wall is lit by lamp_power exp(-c r) / r^2 (beam attenuation c of the water at 0.61 / 0.54 / 0.465 um), reflects its albedo and the return path attenuates with Kd. The lamp also lights the water in front of the lens: the veil of the water type’s single-scattering backscatter grows as 1 - exp(-Kd r) and is weighted by the lamp’s beam pattern, cos(theta)^beam_exponent with theta the angle of the pixel from the axis (fov_deg across the width): strongest in the centre, where the lamp and the camera look at the same water. A baseline between lamp and camera, camera_distance_m (default None: the lamp is at the camera), reduces the overlap of the lit and the seen water by 1 / (1 + (baseline / r)^2). light="ambient": daylight at depth_m and a veil of the daylight, uniform over the image (lamp_power is not used). light="both": the lamp and the daylight together (the signals and the veils add).

snr = sqrt(N) direct / sqrt(direct + backscatter + 1e-12) is the shot-noise limited signal to noise of the direct signal against its own shot noise and the shot noise of the veil (N = exposure_photons per unit radiance): it falls with distance because the direct term falls and the veil grows. snr_clear is the same expression for water that does not attenuate or scatter (equal to snr as the distance tends to 0). The table has image (H, W, 3), direct, backscatter, snr, snr_clear, snr_mean (over the three bands), veil_profile (H, W), transmission, beam_attenuation_c, kd, water_type and light. A zero or negative distance, an albedo outside [0, 1], an unknown water type and a bad light are refused.

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

同カテゴリ(watervision)

caustic_irradiance · bottle_image · fill_level_from_image · wet_surface_appearance · wet_dry_inspection_pair · caustic_floor_segmentation


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

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