Select which photo to use for a section of overlap

41 views
Skip to first unread message

John Fine

unread,
Mar 18, 2020, 10:04:04 AM3/18/20
to hugin and other free panoramic software
Is the a way to select a section of the overlap between two photos and specify which one of the two contribute the entire output for that section, rather than either the other one or blended?

There would still be some overlap left for blending.

One situation in which I need this has a single object moved between photos.  So that object is whole in a non overlapped part of photo 2.  But part of it appears again in an entirely overlapped section of photo 1.  As far as I can tell, the blending in that area occurred near the edge of photo 1.  So there is a fragment of the object from photo 1 in the result, plus a blur from there to where the edge of photo 1 was, where it has blended the object existing with the object not existing.

In that part of the overlap, if the blending had occurred near the edge of photo 2 instead, it would be correct.  But other parts of the boundary between the two are great, and might not be if there were a way to simply force all the blending to be near the edge of 2.  I just want the default behavior overridden in one section.

If I pre-crop photo 1 to remove most of the overlap, the remaining control points aren't good enough.  If I patch the bad section afterward with the properly aligned section from the intermediate photo 2, I get a sharp boundary.

This same situation will come up in other sets of photos where a section of overlap is in better focus in one photo than in the other.

Bruno Postle

unread,
Mar 18, 2020, 2:54:48 PM3/18/20
to hugi...@googlegroups.com
Yes, in the Panorama Editor -> Masks tab, draw an 'include region' mask around the object that needs to be represented in the final panorama.

--
Bruno

John Fine

unread,
Mar 18, 2020, 3:57:47 PM3/18/20
to hugin and other free panoramic software

Thanks.  Once I noticed the masks tab existed it was obvious.  Somehow I didn't see it before.
Reply all
Reply to author
Forward
0 new messages