post op• データ種: rgb × lut → rgb
• 呼び出し: import gfx2d; gfx2d.color_grade(rgb, lut) (または opsgfx2d.get("color_grade"))
Apply a 3-D colour LUT to an `rgb` image by trilinear interpolation.
`lut is (n, n, n, 3) indexed [r, g, b]` — the layout
:func:color_lut produces. The identity LUT returns the input to within
float64 rounding (measured maximum 3.3e-16), which is what makes this
testable without a reference implementation: trilinear interpolation of a
coordinate function is that coordinate, exactly.
• サンプルデータ カタログ(DL URL / ライセンス) — 2-D は skimage.data(BSD/public)+ 合成、3-D は実データ源(Stanford/PDS 等)の DL URL。
• 演算子の来歴・参考文献 — この op 族の元になった研究/手法の出典。
• アルゴリズムの正典(著者・年)と用途は上記ファミリ使い方ガイドに記載。
• gfx2d_scene — py -3.11 examples/gfx2d_scene.py
rgb を入力に取れる)srgb_to_linear · linear_to_srgb · blend_mode · light_mask · normal_map_decode · bloom · vignette · chromatic_aberration
post)bloom · vignette · chromatic_aberration · film_grain · color_lut · dither · palette_quantize
*Provenance: gfx2d.py — GFX2D operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.