aug_vignette — 2D augmentation op

データ種: imageimage

呼び出し: fullseye.apply(img, "aug_vignette", a=0.5, b=0.5) (2-D は 1 画像 + 2 スカラつまみ a,b∈[0,1] のモデル)

使い方

Radial lens vignetting following the natural cos^4 falloff law. With

`r the normalised distance from the image centre and R = 0.35 + 1.15*b`

the falloff radius, the transmission is

`cos(atan(r/R))^4 = 1/(1 + (r/R)^2)^2 -- the textbook cos^4 law. a`

blends it in: `out = v * (1 - a + a*falloff)`, so a=0 is a no-op and a=1 is

full vignetting. Centre stays brightest; strictly darkening, never amplifying.

詳しい使い方ガイド

gallery2d_color_artistic ファミリ ガイド

参考(サンプルデータ・文献)

• サンプルデータ カタログ(DL URL / ライセンス) — 2-D は skimage.data(BSD/public)+ 合成、3-D は実データ源(Stanford/PDS 等)の DL URL。

• 演算子の来歴・参考文献 — この op 族の元になった研究/手法の出典。

• アルゴリズムの正典(著者・年)と用途は上記ファミリ使い方ガイドに記載。

実行できる例(この op を実際に呼ぶ検証済みサンプル)

gallery2d_color_artisticpy -3.11 examples/gallery2d_color_artistic.py

sim2real_and_alifepy -3.11 examples/sim2real_and_alife.py

型が繋がる次の op(image を入力に取れる)

identity · gaussian · mean_box · bilateral · unsharp · median · min_filter · max_filter

同カテゴリ(augmentation)

aug_shot_noise · aug_read_noise · aug_fixed_pattern · aug_motion_blur · aug_chromatic · aug_rolling_shutter · aug_jpeg_blocks · aug_cutout


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

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