Skip to main content

Module ca_correction

Module ca_correction 

Source
Expand description

Chromatic aberration correction.

Lateral (geometric) chromatic aberration causes the R and B channels to be imaged at slightly different scales than the G channel, producing colour fringing near high-contrast edges. This module corrects the artefact by independently rescaling the R and B channels relative to the image centre, using bilinear interpolation to sample the shifted source positions.

Functionsยง

apply_ca_correction
Apply lateral chromatic aberration correction by rescaling colour channels.