Wide-angle lenses are prone to barrel distortion (exaggerated here), while telephoto lenses are prone to the opposite, pincushion distortion. Aspherical lens elements can help to correct such distortions to some degree, but digital correction can be just as effective without adding weight and complexity to the lens design.
Digital technology provides the ability to adjust images in-camera or on a computer after capture. One area in which this can prove useful is in applying lens corrections to optimise optical performance.
When lenses are designed, a balance must be sought between the available optical materials and the design aspirations for the lens, with different optical, mechanical and electronic solutions being considered. In any case, it is fundamentally impossible to make a perfect lens – so, based on its design, every lens will exhibit a greater or lesser degree of optical irregularities. Typically, these manifest themselves as vignetting, where the corners of an image are slightly darker than the centre as a result of light fall-off, and chromatic aberration or colour fringing along high-contrast edges, where the lens has been unable to focus different colours or wavelengths of light to precisely the same point.
Electronic corrections can be used to address these issues in-camera, but more importantly they can be incorporated into the lens design process itself in order to deliver even better image quality.
These corrections were first made available in Canon's Digital Photo Professional (DPP) software, but the increased processing power of cameras has made it possible to carry out corrections in-camera as the images are captured if you're shooting JPEGs or during RAW processing in-camera if you're shooting RAW. Your camera’s Lens Aberration Correction menu gives you access to the corrections that can be applied for the attached lens.