Just to chime in here...

I don't know what "cost-image" means. I get it often, yet it doesn't cause any problems.

I almost always do my crop in Hugin. I generally use autoclip, then adjust boundaries as I needed to remove extraneous bits. Sometimes I don't clip the panorama in Hugin, but it still works without problems.

I always use 48-bit TIFF (16-bit per channel) from RawTherapee.

I suspect the issues are coming from control points and position calculation. If you're using the panorama assistant, it does a lot of cleanup on control points that you're maybe not going manually?

My process (using the Expert Interface):

1. Load images.
2. Go to control points tab and go through the images setting
   horizontal lines (if needed).
3. On Photos tab, run CPFind, then Positions (incremental).
4. Right-click in a blank area of the list of images and clean control
   points.
5. Repeat steps 3 and 4, but using the next Geometric option down.
6. After running the "Everything except translation" option and
   cleaning control points, view the panorama using Preview Panorama
   (OpenGL). Use Move/Drag and Projection to center and fit it.
7. Use Crop to autocrop it.
8. Drag crop borders to adjust. Close the Preview Panorama window.
9. On the Photos tab, calculate the Photometric optimization.
10. On the Stitcher tab, calculate optimal size, save the PTO, and stitch.

I think cleaning the control points is what makes the difference for me.

I've also sometimes seen Hugin misread the focal length on an image. When that happens, I get weird results, and my process eventually hits a point where Hugin says that calculated values are invalid. But you would see that before getting to the actual stitching stage.

Helpful?

On 11/7/22 06:31, Alexander Drecun wrote:
What is the cost-image? I'm wondering if both of you may, in one way or another, be pointing to the issue giving me problems. I was attempting to export stitches that were uncropped - that is to say, all of the edges of the panorama being visible - so that I could make decisions about cropping later, once I'd straightened the mosaic in a photo editing software like Gimp, but maybe doing that has been creating issues. I say that in part because some of the successful stitches I've made recently have come using Hugin in "simple" mode with a crop automatically applied.

Out of curiosity, have any of you had greater or less success depending on the file type you've used? I've experienced almost no success working with tiffs and pngs created off of the original raw files via Lightroom, but I'm getting more successful stitches with jpegs off of those same raw files. I should clarify that these successes and failures are coming while running tests on the same image set, DSC0175-DSC0235, just tiff vs png vs jpeg.

On Mon, Nov 7, 2022 at 6:03 AM John Fine <[email protected]> wrote:



    On Sat, Nov 5, 2022 at 7:25 PM Alexander Drecun
    <[email protected]> wrote:


        enblend: warning: unable to run Dijkstra optimizer
        enblend: note: seam-line end point outside of cost-image


    I'm not sure I'm remembering correctly.  If I am, this might help:
    I have had a lot of problems similar to that.  I think they
    occured in panoramas with ragged edges.
    When I had not taken photos far enough beyond what I actually
    wanted, I had the problem that assembly of the panorama would tilt
    the outside edges of individual photos (not parallel to the
    panorama edge) so I had to either clip to exclude some of the
    content I wanted, or clip wider to include some empty space (make
    the edge of the final panorama ragged).  The latter had the extra
    problem that I think matches what you described.
    I think you can avoid it by clipping tighter.


--
David W. Jones
[email protected]
wandering the landscape of god
http://dancingtreefrog.com
My password is the last 8 digits of π.

--
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/e685af40-92f6-0f42-7026-f98f71d8c46c%40gmail.com.

Reply via email to