I created a panorama with Hugin. Everything looks amazing except for some stitching issues. I've tried adding more Control points but the generated file looks exactly the same. Do I need way more control points or is the assembling mode somehow not using those extra control points? Or maybe there's another way to correct the stitching??

Images are correctly placed but there are breaks in lines as well as some ghost effects. No holes. I'm in Advanced mode (in order to see the control points) but have no idea where to find the Optimizer.

  • \$\begingroup\$ Images are correctly placed but there are breaks in lines as well as some ghost effects. No holes. I'm in Advanced mode (in order to see the Control points) but have no idea where to find the optimizer. Thank you so much for your help! \$\endgroup\$
    – Twister013
    Jun 9, 2017 at 19:47
  • \$\begingroup\$ Without seeing the image(s) there's no way to no for sure, but a very common issue would be parallax related. This type of error is due to mistakes when shooting (typically trying to create a panorama that involve close objects without using very careful control of shooting position. \$\endgroup\$ Jun 9, 2017 at 22:58

3 Answers 3


Broken-Line stitching errors

There may be no way to fix these in Hugin itself, as it's very probable you have a parallax issue when shooting. If you do not rotate the camera/lens combination precisely around the no-parallax point (NPP), particularly in smaller enclosed spaces, then you are creating issues that no stitcher can fix with any amount of warping, because objects will have moved, relative to each other, between shots.

Make sure you have your gear calibrated correctly, or at least that you are using some form of mechanical aid to rotate correctly around the no-parallax point (NPP). A plumbline is a good, low-cost way to begin. A special two-arm panorama head is probably the simplest way to go. Make sure you know where the NPP is in the specific lens you're using. If it's a zoom lens, make sure you know where the NPPs are for each given focal length.


You may want to get Hugin to create layered output so you can use mask and layers in Photoshop or the Gimp to try and adjust where the breaks meet or to hide them if there's enough overlap from better-fitting member images. But this can be incredibly tedious, time-consuming, and futile in the end.

Fine-tuning Control Points

If you are certain that it's not parallax error, but that Nona/autopano-sift-c has merely mismatched control points, there is one simple thing that you can do, which is to delete the worst control point pairs.

Each pair of control points, when the final warping is done, is "scored" with a measurement of how far apart the two points are in the resulting image. In the Control Point window, you can sort by that distance, and delete any with very high ('out of whack') scores, and then rerun positioning optimization to see if everything shifts into place better.

In the Photos tab, at the bottom of the window, are the two Optimise options. The Geometric settings are the ones that control how the images are warped and positioned relative to each other with the control points.

However, Hugin does not yet have a feature similar to PTGui's "Viewpoint Correction", which can adjust for a shifted camera position. The "View" corrections offered here are for field-of-view (i.e., if you took member images with different lenses).

Clicking on the calculate button for the Geometric settings will rerun the optimizer. Checking how your control points score, or looking at the preview can help you see if there's been an improvement.

Ghosts and Clones

Ghosts and Clones are basically because something moved between the member images. In this case, overlap determines whether or not you have enough "clean plate" to use blend masks to erase the ghost/clone.

The Masks tab is where you can draw polygons around areas to exclude or include in the final panorama. It's a little cumbersome, but should work.

The main reasons I ended up paying for a PTGui license was for the better masking feature and viewpoint correction. :)


Your question is not clear because we do not really know what you have, but if your image is misaligned because you did not use a panorama head, you can not correct it.

Take a look at this: Do I "need" a panoramic head to shoot 360 panoramas?


Hugin is very hard to master.

It can achieve impressive results with really badly taken shots, but with "normal" images can be a bit of an overhead.

Having used it a lot, even without seeing your images I suggest you to either:

  1. Read all of Hugin's documentation over and over to learn how to use it perfectly.


  1. Use ICE for not so problematic images.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.