vignette — GFX2D post op

• Data kinds: rgb → rgb

• Call: import fullseye as fs; fs.ledger.vignette(rgb, strength=0.6, radius=1.0, power=2.0) (implementation को सीधे call करना हो तो import gfx2d; gfx2d.vignette(rgb, strength=0.6, radius=1.0, power=2.0), registry से लेना हो तो opsgfx2d.get("vignette"))

उपयोग

कोनों की ओर गहरा करता है: out = rgb * (1 - strength * t**power)।

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

t is the distance from the geometric centre ((h-1)/2, (w-1)/2) divided by radius times the half-diagonal, clipped at 1. The factor at t = 0 is exactly 1, so strength=0 is the exact identity and — for an odd-sized image, where a pixel actually sits on the centre — that pixel is returned untouched. An even-sized image has no centre pixel: its four innermost pixels are 0.707 px out and are already attenuated, which is geometry rather than a rounding error.

संदर्भ (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

• poc_search_sweep_width — py -3.11 examples/poc_search_sweep_width.py

• poc_solar_el_inspection — py -3.11 examples/poc_solar_el_inspection.py

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

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

इसी category के (post)

bloom · chromatic_aberration · 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.