fullseye

caustic_floor_segmentation — OPTICS watervision op

使い方

Segment the caustic lines of a floor irradiance image -> dict (mask, threshold, line period).

The bright web of caustics on a pool floor is what a crack detector mistakes for cracks. method="otsu": the finite values are normalised by their mean and split into two classes at the Otsu threshold (256 bins); the mask is the bright class. method="fold": ridge detection by curvature: the smaller eigenvalue of the Hessian of the Gaussian-smoothed irradiance (sigma 1 pixel) is the curvature across a line; where it is strongly negative (above the Otsu threshold of its negative part) and the irradiance is above its mean, the pixel is on a caustic ridge. inf pixels (the folds of the wavefront method of :func:caustic_irradiance) are caustic by definition and are always in the mask. The table has mask (bool), threshold, fraction (of pixels in the mask), period_px_x / period_px_y (the fundamental period in pixels of the column and row profiles of the mask, from the lowest strong spectral peak refined by a parabola; NaN when the profile is flat), dominant_axis (“x”, “y” or “none”: the axis whose profile of the mask varies most) and n_inf. NaN, negative values, an image under 8 x 8 and a constant image (no caustic to find) 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 · underwater_inspection_image


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

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