chromatic_aberration — GFX2D post op

• Data kinds: rgb → rgb

• Call: import fullseye as fs; fs.ledger.chromatic_aberration(rgb, strength=0.003, interp='bilinear') (implementation को सीधे call करना हो तो import gfx2d; gfx2d.chromatic_aberration(rgb, strength=0.003, interp='bilinear'), registry से लेना हो तो opsgfx2d.get("chromatic_aberration"))

उपयोग

red और blue channel को image केंद्र के चारों ओर scale करता है, green स्थिर।

> नीचे का विस्तृत विवरण मूल text में है — सारांश और headings का अनुवाद हो चुका है।

Lateral chromatic aberration: red is magnified by 1 + strength, blue by 1 - strength. strength=0 samples the exact pixel centres and returns the input to within 1e-15, which the suite checks.

Negative strength swaps which channel spreads outward — allowed, since which way a real lens disperses depends on the glass.

संदर्भ (sample data, साहित्य)

• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।

• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।

• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।

चलाए जा सकने वाले उदाहरण (verified samples जो सच में यह op call करते हैं)

• gfx2d_scene — py -3.11 examples/gfx2d_scene.py

वे अगले ops जिनसे type जुड़ता है (rgb को input के रूप में लेते हैं)

srgb_to_linear · linear_to_srgb · blend_mode · light_mask · normal_map_decode · bloom · vignette · film_grain

इसी category के (post)

bloom · vignette · film_grain · color_lut · color_grade · dither · palette_quantize


*Provenance: gfx2d.py — GFX2D operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

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