Aligning images of different dimensions

56 views
Skip to first unread message

Judson Fisher

unread,
Dec 10, 2019, 11:40:23 AM12/10/19
to hugin and other free panoramic software
Hello,
I am trying to align a stack of historical aerial photos using their fiducial marks.  The images are photos of photos and were taken such that the images sizes are inconsistent, varying by up  to 40 pixels.  I've made control points between a base image and the rest but when I attempt to stitch them the batch processor returns an error regarding the inconsistent image size.  Do i need to use other software to make my image size consistent, or can Hugin help me with this?
thanks,
/Jud

T. Modes

unread,
Dec 11, 2019, 11:16:12 AM12/11/19
to hugin and other free panoramic software


Am Dienstag, 10. Dezember 2019 17:40:23 UTC+1 schrieb Judson Fisher:
Do i need to use other software to make my image size consistent, or can Hugin help me with this?


This should work with Hugin. Can you provide the pto file so I can have a look on it?

Gunter Königsmann

unread,
Dec 11, 2019, 12:53:15 PM12/11/19
to Judson Fisher, hugin and other free panoramic software
What happens if you tell hugin each of the images has been made by a different lense?
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

Abrimaal

unread,
Dec 11, 2019, 1:19:46 PM12/11/19
to hugin and other free panoramic software
1. Check the control points, any image with any. The detector often fails with scanned images. Check the vertical lines, they are often added on the edges of photos. The best to add all control points manually.
2. Set a different lens number to every image - 0,1,2,3...
3. Mask out (exclude) the image borders, if they are white, black or uneven.
4. Reset photometric parameters if the images are similar exposure (I think the images are black and white).
5. Optimize positions and view - it will adjust image sizes. It may result a very small field of view, so try to crop the images manually.

Judson Fisher

unread,
Dec 11, 2019, 2:02:18 PM12/11/19
to hugi...@googlegroups.com
Thank you all who replied, what a responsive community!
I tried the process again. I was using all manual control points, but I don't believe I was setting the crop and view properly. Using fit and auto crop HDR in the quick preview window and not using the crop button in the stitch tab seems to have made the process work. 
Sorry if I'm mistaking the function names, I'm new to Huggin and I'm not in front of the computer at the moment.
I have many more questions but I think I should start a new topic for that.
Thanks,
/Jud




--
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
---
You received this message because you are subscribed to a topic in the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hugin-ptx/RLXtgTdmagk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hugin-ptx+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/1424c334-b001-4048-8929-0ae0bab508d4%40googlegroups.com.

Abrimaal

unread,
Dec 12, 2019, 3:24:29 PM12/12/19
to hugin and other free panoramic software
Do not use HDR autocrop - it crops to the smallest common area. Normal autocrop crops to the largest area.
You may also skip autocrop and draw the rectangle with borders. Save as png or tif - then the outlying border will be transparent.
To unsubscribe from this group and all its topics, send an email to hugi...@googlegroups.com.

Judson Fisher

unread,
Dec 12, 2019, 3:48:39 PM12/12/19
to hugi...@googlegroups.com
I think this is worth considering, but in my case, cropping to smallest area means that excess border--a result of the digitization--is conveniently removed from my images.  This seems desirable for better point recognition between images in Metashape and saves the step of masking out non-original-photo areas.

To unsubscribe from this group and all its topics, send an email to hugin-ptx+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/2db45032-e608-4282-863d-0f322bb0451a%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages