mpmendenhall wrote:
mengenlehre wrote
In particular, I'd like to know if anyone has succeeded in stitching a group of (typically 5) photos obtained by shifting a lens from one end to the other (camera on tripod, of course). Hugin automatic functions fail miserably and I have to struggle a lot to get just decent results. Before you ask: no big parallax issues. Assuming you mean stitching from a shift lens, Hugin can do it so long as you take partial manual control of the position optimization process. Instructions:
- Do NOT let Hugin do everything automatically, but load the pictures and create control points between them.
- In the "Camera and Images" tab, select all the images and "unlink" the image center shift parameters (d,e).
- In the "Optimizer" tab, select "custom variables" in the top left "Optimize" menu.
- Un-check EVERY check box in the lists below, then re-check x- and y-shift (d,e) for all but the center image.
- Click the "Optimize Now!" button, and Hugin will optimize only the image shifts (which is what you wanted).
- Use the preview window to center/crop the image as you want.
- Generate stitched/blended output from the "Stitcher" tab (you probably want "rectilinear" projection).
The same procedure should also work for stitching from moving the camera/tripod, but the results will probably not be as good. In that case, make sure all control points are on the plane of the main object you are translating along (not in the background with different parallax relations)....Show more →
let's go back to this
yes, I meant stitching from a shift lens. What I do is:
camera in landscape position, TS lens on it;
shift vertically to the top (12mm) -> take picture;
shift down 6mm -> take picture;
[reiterate until the 5th picture (lens shifted to the bottom) is taken].
These are the 5 pictures I get:
shift +12mm
http://img39.imageshack.us/img39/7148/mg2142web.jpg
shift +6mm
http://img194.imageshack.us/img194/9049/mg2143web.jpg
shift 0mm
http://img840.imageshack.us/img840/8827/mg2144web.jpg
shift -6mm
http://img715.imageshack.us/img715/6543/mg2145web.jpg
shift -12mm
http://img801.imageshack.us/img801/5008/mg2147web.jpg
and here's a screenshot of what Hugin does:
http://img6.imageshack.us/img6/6163/checombinahugin.jpg
I tried to follow mpmendenhall's indications, but I can't find x- and y-shift (d,e) in the Optimizer tab, nor I can seem to do this on the Camera and Images tab.