I've created a panorama in Hugin and done the best I can at aligning them. However, it seems some small misalignment persists, causing blur when the images are combined: these trees are sharp in the original images

As I understand it, the phase where it interpolates between images is called "blending". I don't think it's feasible to achieve 100% perfect alignment, so instead is there some way I can disable blending, and just have each pixel come from the nearest photo? It's ok if that causes some edge effects between photos.


1 Answer 1


You can tell Hugin to keep the intermediate corrected images by checking Exposure corrected, low dynamic range as shown in the image below. The intermediate images will be corrected for lens distortion, vignetting, and exposure issues. You can then merge the images in the program of your choice. You'll have a difficult time doing better than Enblend unless you're very adept at merging images.


Judging from your pano, you'll probably find that your intermediate images won't merge well because the control point generator most likely had a hard time picking control points since your image is a seething sea of sameness (the trees/brush look very similar). You'll find that the lens distortion correction will be off due to large control point errors.

When you do an optimization, Hugin will report a mean error after optimization. If your error is large (perhaps larger than 20 pixels), time to manually pick your control points (click on the Control Points tab). The Control Points tab will also show errors (be sure to optimize before looking at the errors). If you find that a pair of control points have a large error, you can delete the control points or improve the positions.

There's also another point of how you shot the pano. There are techniques for shooting panos that need to be adhered to for best results, mainly panning the camera about the entrance pupil, or the no-parallax point, of the lens (you need to experimentally determine this point). For your shot, I don't think you have parallax problems since the scenery is far away, just a confused control point generator. [edit addition] It's also recommended that you have a minimum of 30% overlap of your images which allows the pano program to correct for lens distortion and vignetting as well as generating enough control points.

  • So to sum, up, Hugin does not support this feature, and I would need to do it manually or use a different panorama program?
    – mwlon
    Oct 24, 2021 at 13:54
  • @mwlon The blending procedure isn't causing the problem, it's the alignment between the images which is a byproduct of the control point generator giving bad points. Since the CPG is having problems with your image (evident from the double image which has a 4% offset), any blend method you use will be less than stellar. Manually choose the control points and you'll have a nice pano with full lens & exposure correction (really important for generating a decent pano). You'll find that many pano programs use the executables from the Hugin project.
    – qrk
    Oct 24, 2021 at 17:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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