augmentation op• データ種: image → image
• 呼び出し: fullseye.apply(img, "aug_barrel", a=0.5, b=0.5) (2-D は 1 画像 + 2 スカラつまみ a,b∈[0,1] のモデル)

*図は合成の入力 128×128 で実際に走らせた出力。左が入力、右が出力(絵にならない返り値は値そのもの)。*
Radial lens distortion using the standard polynomial model
`r_src = r*(1 + k*r^2) on normalised radius r` (1 = image corner):
BARREL (straight lines bow outwards) when `b < 0.5`, PINCUSHION when
`b >= 0.5, with k = 0.6*a` (a=0 -> undistorted). The destination grid is
inverse-mapped and resampled bilinearly with `ndimage.map_coordinates`
(`mode="reflect"`), so no pixel is left undefined. Output keeps HxW.
• gallery2d_color_artistic ファミリ ガイド
• サンプルデータ カタログ(DL URL / ライセンス) — 2-D は skimage.data(BSD/public)+ 合成、3-D は実データ源(Stanford/PDS 等)の DL URL。
• 演算子の来歴・参考文献 — この op 族の元になった研究/手法の出典。
• アルゴリズムの正典(著者・年)と用途は上記ファミリ使い方ガイドに記載。
下のプログラムは実際に走ることを確かめてある(図と同じ入力)。Studio のヘルプではこのブロックがボタンになり、その場で読み込んで実行できる。
aug_barrel 0.50 0.50
▸ Load this pipeline · Load & run
• gallery2d_color_artistic — py -3.11 examples/gallery2d_color_artistic.py
• sim2real_and_alife — py -3.11 examples/sim2real_and_alife.py
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_vignette · aug_chromatic · aug_rolling_shutter · aug_jpeg_blocks
*Provenance: ops.py — 2D operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.