Using Hugin to stitch microfilm scans

49 views
Skip to first unread message

Benjamin Kalish

unread,
Apr 1, 2021, 9:32:23 AM4/1/21
to hugi...@googlegroups.com
I'm brand new to Hugin and am trying to use it to stitch microfilm scans together. I feel certain the result could be better—what can I do to get better output?

I've attached my pto file and the output from my most recent attempt.

Thanks!
Hatfield Mill - stitch.pto
Hatfield Mill - stitch2.png

Gunter Königsmann

unread,
Apr 1, 2021, 2:40:17 PM4/1/21
to hugi...@googlegroups.com, Benjamin Kalish
Basically for stitching flat items you must

- tell hugin that every scan was made with a different lense (which allows that lense to start at a different position)
- make sure that you exclude eventual black bars at the end of the scanned area using masks
- and then tell hugin to optimize only the parameters that actually make sense.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Frederic Da Vitoria

unread,
Apr 1, 2021, 4:30:39 PM4/1/21
to hugin-ptx, Benjamin Kalish
I guess setting the Control points manually or at least checking carefully those automatically generated would help too.

--
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 hugin-ptx+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/157AF222-39B2-4F1E-B6B6-B26289D30B7D%40gmail.com.


--
Frederic Da Vitoria
(davitof)

Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org

Benjamin Kalish

unread,
Apr 2, 2021, 1:18:38 PM4/2/21
to Frederic Da Vitoria, hugin-ptx
I did my best to follow the instructions at http://hugin.sourceforge.net/tutorials/scans/en.shtml

All my control points were selected by hand. I don't know how to get automatically generated ones, and I don't expect it would work very well. These are very low quality images—1-bit black and white images downscaled and converted to grayscale.

I wasn't sure how many control points to use—this tutorial said more is better, but I feel like I have read conflicting advice.

The preview window always showed something tiny and unintelligible so I mostly ignored it. I'm not sure what was wrong there. I'm on Mac OS running Hugin 2019.2.0.b690aa0334b5 if that is helpful

Bruno Postle

unread,
Apr 6, 2021, 4:50:15 PM4/6/21
to Hugin ptx
The problem is that somehow the pitch and yaw of the images was set.
Possibly you used the Drag tool to centre the image, but this will
make a mess of scanned images - where pitch and yaw need to be set
to zero. The Drag tool has a 'mosaic' mode for this, it will switch
to changing the X and Y positions rather then the yaw and pitch.

Attached a version of your project with the pitch and yaw reset to
zero and with X and Y reoptimised, this should give better results.

--
Bruno
Hatfield Mill - stitch.pto

Benjamin Kalish

unread,
Apr 7, 2021, 11:02:54 AM4/7/21
to hugin and other free panoramic software
Thank you, Bruno, that is infinitely better!
Reply all
Reply to author
Forward
0 new messages