Tekforums

Chat => Photography => Topic started by: zpyder on April 20, 2009, 14:23:28 PM

Title: Photo stitching
Post by: zpyder on April 20, 2009, 14:23:28 PM
Its not something Ive done a lot of, as tbh where I live the scenery doesnt change that much. Ive taken a series of photos before to try and stitch later, but without having a tripod the results have always been pretty poor.

However, I will be taking my tripod with me in the lakes.

What I want to know is, is it better to take lots of pictures panning slowly, or just a few covering the whole area?

EG, 3 pictures (left, centre, right) just joining up, or say 7-10 pictures? One will have less stiches/seams in it, but I guess the other might stitch together much more smoothly? Is there a golden ratio or anything?
Title: Re:Photo stitching
Post by: XEntity on April 20, 2009, 22:29:00 PM
To be honest take more and if you dont want to use some get rid of them, I guess at the moment you are manually stitching, hence the joins.

Have you considered using a program to do it?

i.e. Hugin - http://hugin.sourceforge.net/ Its free and really good.... The pic below used this program and consists of 10 or so pics, maybe more, I cant remember exactly!

It also trys to match exposure and stuff, normally works really well.

(http://farm4.static.flickr.com/3579/3428656027_194b46ce43_b.jpg)
Title: Re:Photo stitching
Post by: XEntity on April 20, 2009, 22:31:30 PM
Oh also best to take pics in portrait if you can... otherwise you can end up with a very thin and long pano, just gives you the flexibility of more height, so you dont lose too much in cropping.
Title: Re:Photo stitching
Post by: zpyder on April 20, 2009, 23:31:01 PM
I hadnt thought about portrait, thanks for that tip!

As to manual/program, I use photoshops automate-photomerge. Seems to do the job but a tutorial I read and your recommendation both say about hugin, so I might give it a go when I get back after the lakes :D
Title: Re:Photo stitching
Post by: Serious on April 21, 2009, 00:07:03 AM
Another tip is to set exposure manually, so every shot has the same exposure.

They should overlap a bit, 1/6th to 1/3rd.
Title: Re:Photo stitching
Post by: zpyder on April 21, 2009, 09:17:25 AM
Manual exposure and focus will be the order of the day :D

Just hope if I do some at the peaks its not teaming with people like a busy bus stop.
Title: Re:Photo stitching
Post by: addictweb on April 21, 2009, 09:53:04 AM
Just been recomented a program called deep zoom which is free from MS. Very positive reviews from a friends. The attached image was made from 8 photos using a Sony T7.


EDIT: http://www.microsoft.com/downloads/details.aspx?familyid=457b17b7-52bf-4bda-87a3-fa8a4673f8bf&displaylang=en
Title: Re:Photo stitching
Post by: Eggtastico on April 21, 2009, 11:40:06 AM
get a gigapan
http://www.gigapan.org/index.php
Title: Re:Photo stitching
Post by: Mongoose on April 21, 2009, 11:45:21 AM
I use Hugin, the latest version has some pretty good automatic features and the best stitching of anything Ive used.

I always take photos overlapping ~50%, so that I could probably get away with ditching every second one and still have a panorama.

Its also important to consider distortion and paralax. Distortion you can solve by setting your lens properly, for example if you are using the kit 18-55 on a DSLR, set it at about 35mm. The kit lens (particularly the Canon one) isnt very good, but in the middle of its range stopped down to F8 or so it will take a nice picture with relatively little distortion.

Now, paralax is all about how you rotate the camera. Ideally you would use a tripod with a proper pano head on it, but if you dont have one of those what you need to do is rotate the camera around the nodal point of the lens. With my panos, I usually just stick my thumb in the middle of the grippy bit at the back of the lens (where the aperture ring would be for those of us who know what an aperture ring is!) and rotate around that as best I can.

The accuracy of the point of rotation matters more the closer the closest subject is to you. Another good trick is if theres a close up subject (say a person in front of a distant mountain range) arrange it so that the person is in the middle of a frame and you should be able to hide the paralax by picking your blend points accordingly.

good luck, and when in doubt take more photographs. Hugin is very good at smoothing out small errors if it has enough pixels to play with.
Title: Re:Photo stitching
Post by: zpyder on April 21, 2009, 12:09:23 PM
Cheers for those tips :D

In the scheme of things what do you think would be better to use:

Canon 400D & kit 18-55mm lens

or

Olympus Mju 1030SW which is 10mp, but smaller/lighter.

I ask as its commonly accepted that the kit lens isnt very good, but in the scheme of things, is it better or worse than a compact camera which takes higher resolution pictures (which admittedly might be worse quality?)

I find the Olympuss quality is excellent for macro work, though it uses optical zoom, image quality does suffer for some reason (probably due to how it was constructed with the recessed lens for durability?), but I shouldnt need to zoom too much if I am doing panoramas?
Title: Re:Photo stitching
Post by: Mongoose on April 21, 2009, 18:21:57 PM
only the very best compact lenses can rival even the worst SLR glass, Id take the Canon + kit lens over any compact every time. Even if youve got Leica glassware on your compact, the extra control and reduction in automatic processing easily outweighs any disadvantage you may have with the kit lens. Also remember that the kit zoom is considered poor only by comparison to other more expensive SLR glass. In the middle of its range at a medium aperture (F8 is a good bet with most consumer lenses) it is perfectly adiquate.

Theres only one situation in which Ive ever chosen a compact over a DSLR for quality reasons. That was, before I bought my Macro lens, my Lumix digital compact produced better close up shots than my DSLR. Now that I have a good macro lens this is no longer true.

Another couple of tips for shooting panoramas which I forgot to mention before

You want all the frames to come out near as possible the same exposure, colour cast etc. Therefore, keep all the settings the same. Pick the main frame (unless theres a good reason otherwise, I usually go for the middle!) and set your camera to manual everything, exposure, focus, white ballance, the lot. At this point youll have to forgive me as Im not familiar with the control interface on a Canon camera, but with my Pentax I can hit the "Green Button" in manual mode to give me the program line correct exposure settings. I also often use AF to focus and then switch to MF when Im ready to start shooting.

You then take all the frames on exactly the same exposure, focus and white ballance. This will make blending them easier as they come out more or less exactly the same brightness, colour and scale (changing focus actually changes the magnification slightly, how much varies from lens to lens).

Modern stitching software can cope with small differences in colour cast and brightness between frames, but I always think its best if it doesnt have to.

hope this helps!!

Id give it a try before you go away if I were you.
Title: Re:Photo stitching
Post by: zpyder on April 21, 2009, 18:33:31 PM
Aye will do, will have to find the time though!

Thanks for the info on the camera lens too. Guess ill be lugging both cameras with me (well, the olypus is pocket sized so not an issue!)

Title: Re:Photo stitching
Post by: zpyder on April 21, 2009, 20:06:12 PM
Just a very very quick test.

Literally, as I was cooking dinner at the time. Grabbed camera, spent 5 mins trying to remember how to adjust aperture in full manual, went out back and took 7 shots.

Now whilst avoiding washing up, I installed and pretty much followed the buttons/instructions...opened the images...aligned...(click the image a couple of times trying to figure out how to zoom in or things and ended up needing to realign everything!) and saved. Cropped the edges back and hey presto:

(http://www.zpyder.co.uk/forums/testx.jpg)
(7 photos stitched above)

Needless to say I am impressed. Even though I havent a clue how to use hugin beyond the basic automatic default stuff, it seems to do a much better job at aligning than photoshop, even if it does take 5x as long to do it.

Now all I have to do is take my time taking decent shots at the right exposure etc. I guess having them in raw format will give me some freedom for when i get back changing exposure etc.

Thanks for the help guys, I was worried Id go up to the lakes and waste the whole week taking crappy shots (probably still will) but now at least I am armed with a little knowledge on how to improve them a little!
Title: Re:Photo stitching
Post by: XEntity on April 21, 2009, 22:06:20 PM
Quote from: zpyder
Manual exposure and focus will be the order of the day :D

Just hope if I do some at the peaks its not teaming with people like a busy bus stop.

If you have a load of people take a few of the same shot with the people in different positions, you can then layer them and delete out the people ;)

The below photo had at least 30 people in it, just overlapped the photos (taken free hand.. so had to do lots of aligning - use a tripod its easier!!) not a pano but same principle!

(http://farm4.static.flickr.com/3042/3093721650_74f015a3e1.jpg)

EDIT: Nice garden pano BTW, I do like the effect on closer panos.... need to have a play with that!

Title: Re:Photo stitching
Post by: zpyder on April 21, 2009, 22:13:31 PM
I think Ill use my walking stick, and try to rest the lens on the top of the handle somehow, and pivot around that. At least now I know I can do panoramas without really bad stitching, will just end up taking sh*tloads of photos of each good spot and aligning them all later. Have my laptop to download images to each day so memory wont be an issue :D
Title: Photo stitching
Post by: Deaths Head on April 24, 2009, 19:18:25 PM
I use an app called Autostitch.  http://www.cs.ubc.ca/~mbrown/autostitch/autostitch.html Dont be discouraged by it being a "demo", far from it.
(http://img249.imageshack.us/img249/1004/pano2.th.jpg) (http://img249.imageshack.us/my.php?image=pano2.jpg)
(http://img178.imageshack.us/img178/4250/pano1.th.jpg) (http://img178.imageshack.us/my.php?image=pano1.jpg)
Title: Re:Photo stitching
Post by: zpyder on April 24, 2009, 20:51:55 PM
Wow, those look pretty cool :D

If it doesnt work out with hugin Ill give that a go. Already got a plan to do a panorama tomorrow night from the cottage looking at Helm Crag, as well as another idea for an artsy shot...stay tuned
Title: Re:Photo stitching
Post by: M3ta7h3ad on May 17, 2009, 01:02:12 AM
Hugin + S5000 + Tripod, 10 second timer, manual mode and focus + 5 images =

(http://farm1.static.flickr.com/185/427954685_f4b6f2beef_b_d.jpg)

Real image is too huge to put up here.
Title: Re:Photo stitching
Post by: shofty on May 18, 2009, 09:40:30 AM
if you need a tripod, this is the one i bought and it has come down a quid since i got it.

http://direct.tesco.com/search/default.aspx?search=tripod&confirm.x=0&confirm.y=0

might not be some fancy brand but it works perfectly well.
Title: Re:Photo stitching
Post by: Floa on November 30, 2009, 22:05:22 PM
Hi, I find stitching images together really quite interesting. However Im not at all skilled with a camera and often get poor results :(

Ive used autostitch and that was pretty good, tho it can get a bit confused sometimes and Ive had to stitch a few together then stitch those together afterwards to get what I wanted.

A proggie called Panorama Factory was also pretty good for me, altho as I said Im not too good with a camera and so didnt/couldnt properly use the available options imo.


What Id like to know though is: how to stop straight things bending in a panorama? Most times I like the kinda barrel effect you can get but for instance this picture http://www.fl0a.co.uk/Pix/displayimage.php?album=36&pos=0
It really annoys me, Princes Street is all out of whack. Any help for a total amateur?


BTW: Hiya Tekforums :thumbup: been a while since I posted here :)
Title: Photo stitching
Post by: Deaths Head on December 01, 2009, 00:15:10 AM
(http://img200.imageshack.us/img200/1125/brightonseafront2411200.th.jpg) (http://img200.imageshack.us/i/brightonseafront2411200.jpg/)
Title: Photo stitching
Post by: Floa on December 01, 2009, 15:49:44 PM
Quote from: Deaths Head
(http://img200.imageshack.us/img200/1125/brightonseafront2411200.th.jpg) (http://img200.imageshack.us/i/brightonseafront2411200.jpg/)


Nice pic, I like how the stormy sea hides the mismatching of the waves :)
Title: Re:Photo stitching
Post by: Ceathreamhnan on December 01, 2009, 18:03:05 PM
If you use a lens that has a certain amount of distortion to start with then it will certainly make it harder for your stitching software to do its own distortion in joining together. In particular try to avoid wider focal lengths that distort perspective, perhaps use 35mm-equivalent as a minimum. Try also to keep to centre of the viewfinder level with the horizon rather than pointing up or down.
I got a free package with some earlier Nikons called Arcsoft Panorama Maker and it does a good job. I found that earlier difficulty with bendy horizons when using digital compacts (with bendy lenses) disappeared when I started using conventional slr lenses. Another good tip is to fix the exposure and white balance for all exposures to avoid effects where the camera adjusts the light in the image for each frame; choose a median value first.
Title: Re:Photo stitching
Post by: Mongoose on December 01, 2009, 18:08:49 PM
Quote from: Ceathreamhnan
Another good tip is to fix the exposure and white balance for all exposures to avoid effects where the camera adjusts the light in the image for each frame; choose a median value first.


thats a good tip, I also tend to fix the focus as changes in focus can slightly change magnification