How to Use Hugin: Stitch Your First Panorama Step by Step

Quick answer: Open Hugin, stay in the Simple interface, and work down the Assistant tab: load your images, click Align so CPFind finds control points and the optimizer fits them together, preview the result in the Fast Preview window to pick a projection and straighten the horizon, then set the canvas size and file format in the Stitcher tab and click Create panorama. The ten minutes below walk through each step — and what to check when the automatic result is not quite right.

What you need before you start

Hugin stitches overlapping photographs of the same scene, so your source photos matter more than any setting. Aim for roughly 25–50% overlap between neighbouring frames, and shoot with manual exposure, manual white balance and manual focus so frames do not change brightness or focus mid-sequence. Our companion guide on how to shoot panoramas for Hugin covers the camera side in detail. On the software side you need a current Hugin install — see the download page for the official 2025.0.1 installer, with platform notes in our guides to Hugin for Windows and Hugin for Mac. One important limitation: Hugin does not stitch RAW files directly, so export RAW shots as 16-bit TIFFs from your RAW converter first.

If this is your very first stitch, do not start with your masterpiece. Take a simple test set — four or five frames of an ordinary scene with plenty of texture, shot from one spot — and run the whole pipeline on it. A test set teaches you the interface in minutes, at trivial render sizes, and separates “I misunderstand a setting” from “my photos are hard to stitch”, two problems that feel identical when they arrive together on an important set.

Step 1: Load your images in the Assistant

Launch Hugin and you land in the Simple interface, on the Assistant tab. The Assistant is a three-step pipeline — load, align, create — and the first step is simply adding your photos. Click the load-images control in the Assistant and select the whole set, or drag the files into the window. Hugin reads the EXIF data in your images to detect the camera and lens, and it usually recognises the focal length and lens type automatically. If it cannot identify a fisheye or an unusual lens, set the lens type yourself before going further — the common choices are Normal (rectilinear) for ordinary lenses, Full frame fisheye and Circular fisheye for fisheyes, and Equirectangular for an already-stitched 360 image. Wrong lens information is the single most common cause of failed stitches, because every later calculation builds on it.

Step 2: Align — control points and optimization

Click Align, and Hugin does the heavy lifting in two passes. First, CPFind — Hugin’s built-in, patent-free control-point generator — scans every overlapping pair of photos and marks matching features: corners, textures and edges that appear in both frames. These matched pairs are the control points. Second, the optimizer adjusts each photo’s position (yaw, pitch and roll), the lens field of view and the distortion parameters until the control points line up as tightly as possible, in both geometry and, with photometric optimization, brightness. Since the 2024 release, CPFind defaults to a multirow strategy that suits the row-by-row way panoramas are usually shot. When Align finishes, Hugin shows you a preview and reports how well the fit went — a small average control-point distance means the optimizer found a consistent solution.

Step 3: Check the fit before you stitch

Do not rush past the preview. In the Fast Preview window, look for the classic symptoms of a bad fit: a horizon that waves up and down, vertical lines in buildings that lean in different directions in different frames, or visible doubling on near objects. A wavy horizon usually means the optimizer needs help with the horizon line; doubling on near objects usually means parallax — the camera rotated around the tripod screw instead of around the lens entrance pupil — and no software setting fully repairs that after the fact. If one photo sits obviously out of place, switch to the Advanced interface (covered below), open the control-point editor, and inspect the points for that pair: a handful of wrong matches on a repetitive pattern such as windows or waves can drag a whole panorama out of shape, and deleting the bad points and re-optimizing often fixes it.

Step 4: Choose a projection and straighten up in the Fast Preview

The Fast Preview window is where your stitched photos become a composed panorama. Pick a projection that fits your scene and field of view:

  • Rectilinear keeps straight lines straight and looks like an ordinary photograph — ideal for narrower views, but it stretches corners badly beyond roughly 100–120 degrees.
  • Cylindrical is the forgiving default for wide horizontal panoramas shot in a single row.
  • Equirectangular covers the full 360×180 sphere and is the format 360 viewers expect — see our dedicated 360 stitching guide.
  • Stereographic produces the playful “little planet” look; Panini and Architectural help interiors keep verticals upright without extreme corner stretch.

Use the drag tools in the preview to centre the composition, and drag vertically to level the horizon until vertical features stand upright. Take a moment here: a level, well-centred preview is much easier than fixing a tilted render later.

Step 5: Exposure and output settings in the Stitcher tab

Switch to the Stitcher tab to define the deliverable. The canvas size is proposed from your photos’ resolution and the field of view — you can accept the suggestion or type your own width, and Hugin keeps the proportions. For an ordinary panorama, the standard low-dynamic-range output is what you want: Hugin corrects exposure differences between frames, blends them with Enblend so seams disappear, and writes the result. Choose the file format deliberately: TIFF (8- or 16-bit) for a master file you plan to edit further, JPG for sharing, PNG when you need lossless output with transparency support in your workflow. The Stitcher tab is also where the HDR and exposure-fusion outputs live, but leave those alone for your first panoramas — the defaults produce a clean, natural result.

Step 6: Create the panorama

Click Create panorama (in the Assistant, the final step does the same). Hugin now hands the project to its workhorse tools: nona remaps each photo into the chosen projection, and Enblend merges the remapped frames into one seamless image, smoothing exposure steps as it goes. A progress window shows each stage. Small panoramas finish in seconds; a large multi-row set can take minutes, and very large jobs can be handed to the batch queue instead — see our batch stitching guide. When it completes, open the output file and inspect it at 100% along the seams: look for ghosting where something moved between frames, and for soft doubling on detailed textures.

When the Assistant result is imperfect: the Advanced interface

The Assistant assumes a well-shot, single set of photos. Switch to the Advanced interface when reality is messier — mixed exposures, a fisheye the EXIF misread, bracketed sets, or a panorama where one frame refuses to fit. The Advanced interface exposes what the Assistant hides: the full photo list with per-image lens and exposure values, the mask tools (exclude a tripod leg, a passer-by, or include a region deliberately), the control-point editor for adding or deleting points by hand, and direct optimizer control so you can choose exactly which parameters are optimized and in what order. A practical workflow used by experienced stitchers: run the Assistant first, save the project file, then switch to Advanced and refine only what the preview shows is wrong. If the same lens keeps producing slightly bent results, calibrate it once with calibrate_lens_gui and reuse the saved lens parameters for every future set.

The project file is the real output

Everything you decided — photos, lens data, control points, projection, canvas — lives in the project (.pto) file, and the features described in this guide reflect the current 2025.0.1 release (see what changed in the latest version). Save the project next to its render, every time. With the project saved, a panorama is never finished or ruined: you can re-render next year at print size, swap one photo, change the projection from cylindrical to stereographic, or hand the whole job to the batch queue, all without re-shooting or re-aligning. Experienced users treat the rendered TIFF as a printout and the .pto as the negative. Name both consistently — project name and render name identical apart from the extension — and future-you will not have to guess which render came from which alignment.

Five habits that make every stitch better

  • Shoot for the stitcher: manual everything, generous overlap, rotate around the entrance pupil.
  • Save the project file before rendering — the .pto file lets you re-render at another size or fix one photo without starting over.
  • Judge at 100% along seams, not at fit-to-screen size.
  • Render a TIFF master and derive JPGs from it, so re-edits never start from a compressed file.
  • Fix capture problems at capture: parallax, moving subjects and exposure jumps are shooting issues first, software issues second.

FAQ

Is Hugin free, including for commercial work?

Yes. Hugin is open-source software released under the GPL, so you can use it for personal and commercial projects at no cost. Our safety and licensing overview explains what to check before installing.

Why does Hugin say there are no control points between two photos?

Usually the pair does not overlap enough, the lens type or focal length is wrong, or the overlapping area is featureless (clear sky, blank wall, open water). Check the lens settings first, then add control points manually for that pair in the Advanced interface.

What is the difference between the Simple and Advanced interfaces?

The Simple interface runs the guided Assistant workflow: load, align, create. The Advanced interface exposes the underlying project — photos, masks, control points and optimizer settings — for manual correction and complex sets such as brackets and fisheyes.

Can Hugin stitch RAW files?

Not directly. Convert RAW images to 16-bit TIFF first (Darktable and RawTherapee are common choices), then stitch the TIFFs. This also gives you consistent white balance and exposure across the set before stitching.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *