How to Remove Moiré Patterns in GIMP
Moiré patterns are unwanted visual artifacts caused by interference between the halftone dot grid of a printed image and the digital sensor grid of a scanner. This guide explains how to eliminate or significantly reduce moiré patterns in GIMP using three straightforward methods: the scan-and-downscale technique, built-in blur and sharpening filters, and the G'MIC Fourier Transform filter for severe distortion.
Method 1: Scan at High Resolution and Downscale
The cleanest way to remove moiré is to prevent it during the scanning phase by capturing excess data and shrinking the image to blend the halftone dots naturally.
- Scan the original material at double or quadruple your target resolution (e.g., 600 DPI to 1200 DPI).
- Open the scan in GIMP.
- Go to Image > Scale Image.
- Set the Interpolation method to Cubic or NoHalo.
- Reduce the image dimensions by 50% or down to your desired final resolution (e.g., 300 DPI) and click Scale.
- The scaling process averages adjacent pixels together, naturally neutralizing most halftone grids.
Method 2: Use Gaussian Blur and Sharpening
If rescanning is not an option, you can remove the pattern directly in GIMP using standard filtering tools.
- Open your image and duplicate the base layer by clicking Layer > Duplicate Layer.
- Select the top layer and navigate to Filters > Blur > Gaussian Blur.
- Increase the Size X and Size Y sliders incrementally until the repeating dot pattern just disappears. Keep the blur radius as low as possible to preserve details (usually between 1.0 and 3.0 pixels). Click OK.
- Go to Filters > Enhance > Sharpen (Unsharp Mask).
- Increase the Radius slightly and adjust the Amount to restore edge sharpness lost during the blur step without reintroducing the moiré noise. Click OK.
- Set the top layer’s blending mode or opacity in the Layers panel if you need to balance sharpness and pattern reduction.
Method 3: Use the Despeckle Filter
The Despeckle filter targets specific pixel-level anomalies, making it ideal for mild moiré on solid backgrounds.
- Select the affected area using the Rectangle Select or Free Select (Lasso) tool, or apply it to the entire layer.
- Navigate to Filters > Enhance > Despeckle.
- Set the Radius to 1 or 2.
- Adjust the Black level and White level sliders while watching the preview window until the halftone texture smoothens out.
- Click OK to apply the filter.
Method 4: FFT Filtering with G'MIC (For Severe Patterns)
For stubborn, regular geometric patterns, the free G'MIC plugin provides frequency separation via Fast Fourier Transform (FFT).
- Install and open the G'MIC-Qt plugin via Filters > G'MIC.
- Search for Fourier Transform or Descreen.
- Use the Descreen filter to automatically identify and suppress the frequency spikes responsible for the moiré pattern.
- Adjust the threshold parameters in the preview pane to isolate the pattern from image details.
- Click Apply to remove the interference grid while retaining sharp edges.