clahe — 2D gray op

データ種: imageimage

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

使い方

Adaptive (tiled) histogram equalization with inter-tile bilinear blending.

Tiles PARTITION the image (linspace boundaries, so the last tile absorbs the

H % nb / W % nb remainder), each tile's normalised CDF is its local tone map,

and every pixel blends the maps of its (up to) 4 nearest tile centres with

bilinear weights — the standard CLAHE interpolation (Zuiderveld 1994).

2026-08-30: 補間を追加(KNOWN_ISSUES #4 — 旧実装はタイルごとに独立に平坦化

しており、タイル境界に不連続(肉眼で見える格子)が出ていた)。タイル中心の

近傍領域ではそのタイルの CDF がそのまま支配的なので、旧実装と同じ写像族の

連続版になっている。

詳しい使い方ガイド

gallery2d_gray_arith ファミリ ガイド

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

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

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

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

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

gallery2d_gray_arithpy -3.11 examples/gallery2d_gray_arith.py

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

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

同カテゴリ(gray)

gamma · invert · scale_clip · equalize · sigmoid · sk_adapthist · sk_enhance_contrast · sk_autolevel


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

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