shinestacker

Vignetting correction

job.add_action(Actions("vignette", [Vignetting(*options)])

Applies a radial luminosity correction determined from the mean pixel luminosity, spotting vignetting effect at the image borders. The correction is determined by modeling the mean luminosity as a function of the distance $r$ from the image center with the following asymmetric sigmoid model:

$\displaystyle i(r) = \frac{i_0}{1 + \exp(\exp(k(r - r_0)))}\,$

where the parameters $i_0$, $k$ and $r_0$ are estimated from the image luminosity data.

Arguments for the constructor of Vignetting are:

Extreme vignetting

⚠️ Vignetting may be very strong at the outer edges of the image in extreme macro photography with the use of reversed lenses, and in the worse cases the outer part of the image becomes almost or completely black. In those cases, vignetting correction cannot recover those very dark areas, but recovers at least a uniform luminosity in the central part, and the image will require anyway to be cropped.