Computers & Electronics
98,497 views
31 min · 3 min read
9 steps
Advanced

How to stitch panoramic photos and fix lens distortion using free photo editors

Stitching panoramas and correcting lens distortion can turn a row of overlapping photos into a single wide, natural-looking scene. Using free photo editors you can automate alignment, correct curved horizons, and preserve detail without expensive software. Follow these practical steps to get clean, stitched panoramas ready for sharing or printing.

Verified by pleasexplain editors
  1. Step 1: Choose overlapping photos

    Pick 3–12 images with 20–40% overlap and consistent exposure. Keep orientation steady and avoid large moving subjects; RAW or highest-quality JPEGs work best to preserve detail during stitching and editing.

    [Illustration: sequence of 6 landscape photos with 30 percent overlap, consistent horizon line]

  2. Step 2: Organize and prepare files

    Copy images into a single folder and rename sequentially (e.g., pano_01.jpg). Back up originals and make small exposure tweaks if one frame is noticeably different; consistent inputs simplify automatic alignment and blending.

    [Illustration: folder view showing renamed image files in order numbered 01 to 06]

  3. Step 3: Use free stitching software

    Open a free stitcher such as Hugin or Microsoft Image Composite Editor and load the images. Let the program detect control points and use automatic alignment; choose cylindrical or perspective projection for wide scenes and accept default seam blending for smoother joins.

    [Illustration: screenshot of Hugin-like interface with images loaded and alignment control points visible]

  4. Step 4: Choose projection and crop

    Preview cylindrical, spherical, and rectilinear projections and pick the one that minimizes stretched edges for your lens focal length (use rectilinear under 35mm equivalents with small panoramas). Apply an automatic crop to remove transparent edges, keeping as much image as possible.

    [Illustration: comparison of three projections—cylindrical, spherical, rectilinear—on same panorama preview]

  5. Step 5: Export high-quality stitched image

    Export at full resolution using TIFF or high-quality JPEG (quality 90–100) to preserve detail for lens correction. Note pixel dimensions so you can match them in your editor when correcting distortion and making final edits.

    [Illustration: export dialog showing file type TIFF and quality set to 100 percent with large pixel dimensions]

  6. Step 6: Open in free editor for distortion fix

    Load the stitched file into a free editor like GIMP or Darktable. Use lens correction or perspective tools and apply manual sliders: barrel/pincushion at ±5–20, scale to 100–110%, and vertical/horizontal perspective +/-5–15 degrees to straighten horizons and remove curved lines.

    [Illustration: GIMP-like interface with lens distortion dialog and sliders for barrel and perspective]

  7. Step 7: Fine-tune with local adjustments

    Use healing/clone tools to fix small seams or repeated artifacts, and apply local exposure or color adjustments (+0.1–0.3 stops, +5–15 saturation) to blend areas. Sharpen with radius 0.8–1.5 and amount 0.3–0.6 to restore perceived detail after resizing.

    [Illustration: close-up edit with healing brush fixing seam and selective adjustment layers visible]

  8. Step 8: Final crop and export sizes

    Crop to clean rectangular edges and choose output sizes for web (max width 2048 px) and print (300 DPI at physical size). Export copies: one high-quality master TIFF and one optimized JPEG for sharing (quality 80–90).

    [Illustration: final cropped panorama displayed with export presets for web and print]

  9. Step 9: Archive and document settings

    Save an editable project or XCF file and a small text note of stitch settings (projection, focal length assumption, edits). This helps reproduce or re-edit the panorama later if you change your mind or need different crops.

    [Illustration: folder with master TIFF, project file, and text document listing settings]


  • Shoot with a tripod and level for best alignment; use manual exposure and white balance to keep consistency across frames.
  • If using handheld shots, increase overlap to 40–50% to give the stitcher more matching detail.
  • For very wide (>180°) panoramas, prefer spherical projection to avoid extreme edge stretching.
  • When correcting barrel distortion, start with small adjustments and zoom to 100% to judge geometric correction accurately.
  • Enable chromatic aberration correction in your editor if you see color fringing along high-contrast edges.
  • Keep an unedited master TIFF at full resolution so you can re-edit with different parameters later.

  • Automated stitching may fail with large moving subjects—remove moving elements or shoot again with faster shutter speeds.
  • Over-cropping after distortion correction can significantly reduce resolution; avoid extreme scaling beyond 10–15% when possible.
  • Applying heavy sharpening or high ISO noise reduction can create artifacts—use conservative values and preview at 100%.
  • Be cautious when using perspective correction—aggressive vertical/horizontal shifts can distort proportions and make objects look unnatural.

Was this guide helpful?