Remove Chromatic Aberration Using GIMP Filters

Chromatic aberration, often seen as unsightly purple, green, or blue color fringing along high-contrast edges, is a common optical flaw in photography. This guide provides a direct, step-by-step walkthrough on how to fix and remove chromatic aberration in GIMP using built-in filters and correction tools.

Method 1: Using the Lens Distortion Filter

The Lens Distortion filter is the fastest built-in tool for correcting global optical fringing across the entire image.

  1. Open the Image: Load your photo into GIMP.
  2. Duplicate the Layer: Right-click your image layer in the Layers panel and select Duplicate Layer to ensure non-destructive editing.
  3. Open the Filter: Go to Filters > Distorts > Lens Distortion... from the top menu.
  4. Adjust the Sliders:
    • Zoom in to at least 100% or 200% on a high-contrast edge displaying the color fringe.
    • Locate the Cast and chromatic aberration-related sliders (Red, Green, Blue offsets).
    • Slowly adjust the sliders until the misaligned color channels overlap correctly and the fringe disappears.
  5. Apply: Click OK to apply the changes.

Method 2: Manual Channel Realignment (Decompose Filter)

For stubborn or asymmetrical chromatic aberration, decomposing the image into individual color channels allows for precise manual alignment.

  1. Decompose the Color Channels:
    • Navigate to Colors > Components > Decompose...
    • Ensure the Color model is set to RGB and click OK. A new grayscale image with three layers (Red, Green, and Blue) will open.
  2. Identify the Misaligned Channel:
    • Zoom in on the problem area.
    • Toggle the visibility of the layers to see which color channel is shifted out of place (typically the Red or Blue channel).
  3. Realign the Channel:
    • Select the shifted layer.
    • Use the Move Tool (or press M) to nudge the layer with your keyboard arrow keys by 1–2 pixels until it matches the other channels.
  4. Recompose the Image:
    • Go to Colors > Components > Recompose.
    • Switch back to your original image tab to see the corrected result.

Method 3: Targeted Desaturation for Purple Fringing

If the aberration only appears on specific edges, selective desaturation provides a clean fix without affecting overall image alignment.

  1. Duplicate Layer: Duplicate the active layer.
  2. Desaturate the Fringe Color:
    • Go to Colors > Hue-Saturation... or Colors > Hue-Chroma...
    • Select the specific color range of the fringe (typically Magenta or Cyan).
    • Reduce the Saturation or Chroma slider until the fringe turns neutral gray.
    • Click OK.
  3. Apply a Layer Mask:
    • Right-click the modified layer and select Add Layer Mask > Black (full transparency).
    • Select a soft round Paintbrush set to white color.
    • Paint directly over the fringed edges to reveal the desaturated correction only where needed.