tb_wetness — 2D typed op

Data kinds: rgbimagergbimage

Call: fullseye.apply(img, "tb_wetness", a=0.5, b=0.5) (the 2-D model is one image plus two scalar knobs a,b∈[0,1])

Usage

Base colour of a wet surface. Diffuse darkens (and specular increases).

> The detailed description below is the original text — the summary and the headings are translated.

base_rgb: 乾いた状態の色 (H,W,3) または (3,)。wet: 濡れ具合(0–1)。

ior: 水膜の屈折率。

返り値: 濡れた状態の拡散色(同形)。

なぜ暗くなるか: 水膜の内側で全反射が起き、拡散光が何度も表面へ戻されて

そのたびに吸収される。近似として、乾いた反射率 ρ に対し内部反射率

Ri = 1 − (1 − Ri0)/n² 相当の再吸収を掛ける ―― 濡れた砂が黒く見える現象そのもの

(鏡面が増えるのは clearcoat_shade(coat=wet) を重ねて表す)。

2-D 進化レジストリへ橋渡しした optics の op `wetness。実装は同じで、呼び出し規約だけ op(v, a, b) に合わせてある。awet(既定 1)、bior`(既定 1.33)を振る。

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

Runnable examples (verified samples that actually call this op)

• (none yet)

Ops the type connects to (they accept rgbimage as input)

identity · tb_sensor_capture · tb_specular_diffuse_split · tb_specular_coefficient_map · tb_specular_free_transform · tb_rgb_to_quaternion

Same category (typed)

tb_points_to_voxel · tb_estimate_point_normals · tb_iss_keypoints · tb_angle_3points · tb_project_points · tb_render_point_depth · tb_statistical_outlier_removal · tb_radius_outlier_removal


*Provenance: ops.py — 2D operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

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