Lens Distortion and Chromatic Aberration Fix
Straighten bowed lines from wide-angle and action cameras, remove coloured edge fringes and brighten dark corners, with batch export.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Add photos
Choose one photo or a set from the same lens.
- 2Pick a preset
Phone wide, action cam, telephoto, CA or vignette.
- 3Straighten lines
Adjust distortion and edge until edges near the border look straight.
- 4Fill the frame
Raise scale to hide empty corners.
- 5Remove fringes
Zoom to 100% and adjust red, blue and defringe.
- 6Fix the corners
Move vignette until corners match the centre.
- 7Export
Download one photo or all photos as a ZIP.
About this tool
Every lens bends the picture a little. Wide-angle lenses and action cameras bow straight lines outwards (barrel distortion), telephoto zooms pinch them inwards (pincushion), cheaper lenses split colours at high-contrast edges (chromatic aberration) and most lenses darken the corners (vignetting). This tool corrects all four with the same radial model that camera calibration software uses, so you can fix a photo by eye without a lens profile.
Distortion
The correction uses the radial part of the Brown-Conrady model: a point at distance r from the centre is moved by a factor of 1 + k1 r squared + k2 r to the fourth. The main slider sets k1 and the edge slider sets k2 for the outer zone, where wide lenses often show a moustache-shaped distortion. Correcting barrel distortion pulls the corners inwards and leaves empty areas, so the scale slider enlarges the result to fill the frame.
Chromatic aberration
Lateral chromatic aberration happens because the lens focuses red, green and blue light at slightly different sizes. The red and blue sliders scale those channels by a tiny amount relative to green, which lines up the colours again and removes red-cyan and blue-yellow fringes towards the edges. The defringe slider handles a different problem: purple and green halos along very bright edges such as branches against the sky. It reduces the saturation of those hues only where there is a strong edge.
Vignette
Vignette removal brightens pixels in proportion to the square of their distance from the centre. The info line shows the corner-to-centre brightness ratio of your photo, which tells you how strong the vignette is. You can also use a negative value to add a vignette.
Presets
Phone wide lens (0.5x), GoPro or action camera, telephoto pincushion, cheap lens chromatic aberration and remove dark corners give sensible starting points.
Tips
Correct distortion before perspective. Use a straight line near the edge of the picture, such as a horizon, a door frame or a shelf, as your reference. Correct chromatic aberration at 100 percent zoom on a high-contrast edge near a corner.
Batch
Photos from the same lens and focal length need the same correction. Load a set, set the sliders once and export a ZIP at full resolution.
Limits
This is a manual correction, not a measured lens profile, so it fixes visible distortion rather than every last pixel. Fisheye photos with extreme distortion need a dedicated projection change. Corrections resample the image, which softens it slightly. The tool runs entirely in the browser.
Worked example
An action camera photo of a room shows a bowed ceiling line. Distortion 70, edge 20 and scale 112 percent make the line straight; red -1.5 and blue +1.5 remove colour fringes on the window frame; the corner/centre ratio rises from 68 to 91 percent after vignette removal 40.
Quick facts
- Category: Images
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: OpenCV documentation, camera calibration and the radial distortion model
Frequently asked questions
Which way should I move the distortion slider?
If straight lines bow outwards like a barrel, move it to positive values. If they bend inwards, move it to negative values.
Why do I get black corners?
Correcting barrel distortion pulls the image in. Raise the scale slider until the corners are filled.
What is the difference between CA and defringe?
CA sliders realign the red and blue channels across the whole frame. Defringe removes purple or green halos along very bright edges.
Can I add a vignette instead?
Yes. Move the vignette slider to negative values to darken the corners.
Does it read my camera's lens profile?
No. You correct by eye with the sliders and presets, which works for any camera.
Is my photo uploaded?
No. The correction runs on your device.
