13
\$\begingroup\$

I am trying to implement full hemispheric panos as a product for Realtors and for another project I am working on, but am having problems with my software stitching the zenith and nadir points. My equators look good, but the stitching gets weird on the z-axis, especially if I'm outside and the sky is solid blue. I think the software gets lost in solid color and makes assumptions.

I am using a Nikon D700 in portrait on a Really Right Stuff pano-head. I take a series of shots, overlapping of course, both in x and y axis. I do have my pano head set so the point of axis revolves around the point of focus withing the lens, so I've got that going for me.

I am using PTGui and Photomatix Pro for stitching. Any suggestions? I am looking for workflow both in field and in the digi-darkroom.

Here is a messy test shot...

alt text

And another... alt text Notice the black band at the bottom, this is my tripod head nadir incorporated into the pano. Also notice the funky sky with multiple solar flares. Ugly. Just plain ugly.

\$\endgroup\$

4 Answers 4

5
\$\begingroup\$

I have been shooting 360 equirectangular panoramas for quite some time now and when I started shooting them I had literally no idea how to go about taking them. Thanks to the Flickr community, however, I managed to master a really simple technique and an effective workflow.

Here are some examples of my panoramas:

alt text alt text alt text

First of all, the most important thing to consider in panoramic photography is the lens. The wider the angle the better. I shoot with a Sigma 8mm fisheye on a DX format DSLR and I think this is the best lens to shoot panoramas. If you use an 8mm fisheye lens on a FX (full frame) camera, the lens will deliver a circular image, which is even better, but as you know FX cameras are way more expensive than DX format ones.

The greatest advantage of a fisheye lens is that you can shoot a 360 panorama with only 4 to 6 images (depending on the overlap) instead of taking two or even three rows of pictures. Secondly, an 8mm fisheye lense offers a 180 degree horizontal field of view, so if you put your camera in a portrait orientation you won't have to shoot nadir and zenith separately as your lens will capture everything from top to bottom, so the zenith and nadir will form together from your stitched pictures. That solves one of the problems you have mentioned above.

Next thing to consider is your camera and the settings. You have to remember that you are capturing literally everything around you so you have to be extremely light-aware. As you may already know, you have to put your camera in 'Manual' and make sure you lock the shutter speed, exposure, ISO, white balance and, in some cases, even focus. That way, the amount of light will be exactly the same in every picture.

Shooting against the sun is inevitable in panoramic photography so you will always get some amount of lens flare even if the sun is partially covered by the clouds or your lens has special anti-flare coating. However, do not be afraid of shooting against the sun. I personally prefer shooting panoramas when there is no clouds in the sky as I can capture the whole sun. You can eliminate annoying flare in Photoshop by cloning or content-aware fill in CS5 (believe me it does a great job) or you can use the flare creatively.

Next, you have to remember that in terms of vertical field of view you are capturing a scene that even a human being cannot entirely see without moving the eyes up and down and your lens (a fisheye for instance) captures all of it without moving. Therefore, the picture will be unnaturally distorted closer to the top and bottom, especially if you are standing close to some object. In your third pictures, the stones at the bottom of the picture are distorted and the clouds in the sky as well. This is caused by an extreme angle at which the light reaches the edge of the lens and you cannot change it. I always crop my pictures for esthetic reasons. If you want to have a full uncropped equirectangular panorama then you have to select your nadir carefully, preferably a featureless area without any objects.

Finally, the gear, technique and software. I used to shoot my panoramas using a Nodal Ninja panoramic head but after a while I got really tired of carrying it with me and assembling it whenever I wanted to take pictures. Secondly, a lot of places (especially museums, and galleries) have a ban on tripods. The answer to that is a technique called 'the virtual tripod' and you can read about it here. This is a really effective technique and provided that you have a steady hand you can achieve excellent results. I personally prefer to attach the string to a weight resting on the ground instead of using a pendulum. Also, I use a 3-axis bubble level with my DSLR.

Many people argue that for professional pictures you have to use a panoramic head as the quality is better and there is no stitching mistakes. Well, maybe it is partially true but when you are using a panoramic head the tripod becomes an integral part of your pictures. There is of course a way to shoot nadir and zenith with a tripod to eliminate it from the picture but believe me it is extremely complicated and involves moving the whole tripod several times. I think that with the virtual tripod you can achieve excellent results and then you can spent the time it takes you to erase the tripod from your picture to correct any possible mistakes.

In terms of software, my personal favourite is called 'Hugin". It's a free open source panorama stitcher that has a great community of users and you can get it from here. There is a number of tutorials you can watch in order to learn how to use it. I have been using it for over one year now and never had to use anything else. Additionally, I also noticed that Hugin does a great job at removing people and moving object that can create ghosting. It also can set the control points for you and there is a variety of different projections to choose from such as stereographic, equirectangular, cylindrical, trans mercator etc. Moreover, you have a great deal of control over your panorama as you can adjust the centre, field of view, the horizon, size and much more. Finally, it creates good quality TIFF files that can be further edited. I use Lightroom 3 to work on my panoramas and it is a must have for every professional photographer.

All the best and good luck with your photography

Greg

\$\endgroup\$
5
  • 1
    \$\begingroup\$ While long and detailed, this answer is again about general panoramics and not the zenith/nadir special cases. \$\endgroup\$
    – Reid
    Commented Sep 24, 2010 at 1:34
  • 2
    \$\begingroup\$ Well, the answer to the zenith/nadir problem is given in the second paragraph quote: 'Secondly, an 8mm fisheye lense offers a 180 degree horizontal field of view, so if you put your camera in a portrait orientation you won't have to shoot nadir and zenith separately as your lens will capture everything from top to bottom, so the zenith and nadir will form together from your stitched pictures. That solves one of the problems you have mentioned above.' \$\endgroup\$
    – Greg
    Commented Sep 24, 2010 at 1:53
  • \$\begingroup\$ I tend to take a different approach-- I like the oversampling with a less-wide lens-- but it's hard to argue with results. \$\endgroup\$
    – mmr
    Commented Sep 24, 2010 at 2:33
  • 2
    \$\begingroup\$ Zenith/nadir is tricky to capture indeed. If you shoot with a fisheye, after shooting everything around you, you can step back a little from the point where you were standing and shoot the Nadir at an angle in order to avoid capturing your legs. Then you can adjust the perspective of the shoot in Photoshop or Lightroom . I also used to shoot Nadirs without changing the position of the camera but stepping back a little. My legs were still in the shot but Hugin did a great job deleting them. \$\endgroup\$
    – Greg
    Commented Sep 24, 2010 at 10:27
  • \$\begingroup\$ I'm having a painful time dealing with any kinds of lines in the nadir. Things like boards or slate end up all out of whack. I can post edit the nadir after the stitching in the Gimp however the size of these images (3000x3000) are so large a single transform or perspective change takes about 10-20 seconds. Painful! I wish Hugin could handle this out of the box but the nadir is always distorted and never lines the lines up correctly. \$\endgroup\$
    – Sukima
    Commented Sep 24, 2012 at 16:56
6
\$\begingroup\$

When I make a pano, I use Autostitch. It allows me to be far less exact than you have been, mainly because I don't have the gear or the patience. I hold the camera in a vertical position, hold it at roughly the same place, and then rotate myself and try to keep the camera in the same position.

I shot this a few months ago coming back from Mammoth Mountain in California (9000x2300): Mammoth Pano

I used a Sigma DP2, handheld vertically, and took two rows across the entire image. I then cropped down the final result in post to get rid of any black edges.

Here are some things I've learned when shooting panos:

  1. If you have a polarizer, remove it. It will do odd things across the frame.
  2. Shoot in raw, if possible, and then convert all images using the same settings in post.
  3. Set your camera to manual focus, infinity, and then manual exposure so that you don't get varying exposures from one side of the frame to the other. Constant aperture and shutter speed both are required here. If one square of the scene is metered differently than the others, that will mess things up in post. I tend to meter off of the brightest portion of the scene and rely on my raw processing to bring up shadows if necessary.
  4. Try to avoid things that are fast moving (like crowds), otherwise you'll get odd blurs as one smaller photo transitions to the next in the larger pano. The corollary to this is to move quickly; clouds aren't static, and you have to be fast before they move on you.
  5. Be somewhat distant from your subjects, if possible. You are creating what is essentially a Mercatur projection; near the edges of that projection, things will look odd, like how Greenland is far larger on a 2D map than it is on a globe. If you want the kind of warping effect that will achieve, get more local ground features in the image, if not, not so much, maybe by holding the camera higher. The plants in the pano I posted are no closer than aabout a hundred feet.
  6. Avoid shooting into the sun. Lens flares will wreak havok with you (as you've seen). It will also cost you in contrast near the sun.
  7. Take many many overlapping shots. You'll have to experiment with your subjects, but for the 9000 in that above shot, I believe I took about 10 images across the horizontal axis. That translates to an image every 900 pixels, smaller than the dp2's vertical resolution of 1760, so as to avoid stitch artifacts where there isn't enough information between images to get a seamless stitch. Two rows of 2640 shrank down to 2300; again, the mercatur projection effect and the fact that I was doing this handheld and therefore had a lot of rough edges to be cropped out were factors there.

    EDIT to go into more detail in specific about the zenith and nadir that I went into in the comments:

These points happen at the top and bottom of the hemisphere. If you are creating a mercator-style projection, then by the math involved, they will be distorted. If you are remapping them back onto hemisphere in a QTVR-style presentation, rather than a 2D presentation, then there won't be any distortion; you're remapping a sphere onto a sphere. You just need to take shots from looking straight up to looking straight down, which can be pretty labor intensive.

In contrast with @Greg below, I like to take lots of photos in my panos and then reconstitute them all at once, on the presumption that more sampling will lead to smoother transitions between photos. That's only true if things aren't moving; in that case, the 8mm fisheye he recommends is an interesting choice, because then only a few shots are needed. Fewer shots = fewer chances for things to move around between shots.

\$\endgroup\$
7
  • \$\begingroup\$ Good point on the polarizer, didn't think about that. And I must say for hand-held that is a beautiful image. Do you have any suggestions on capturing the zenith and nadir points of the pano though? This is what I'm after. \$\endgroup\$ Commented Sep 23, 2010 at 5:53
  • \$\begingroup\$ @Rob-- if you imagine that the final image will be shaped like an H (because of the mercatur projection mathematics), then you need to take extra photos in the center of the H to account for this distortion. If you take a true hemispheric pano (ie, a complete half of the tennis ball, not just a stripe around the equator), just like how Greenland is distorted, you will distort the top and the bottom of the image. There's not much to be done about that, except to try to get some distance and to go more for the equator than the true hemisphere. At least, that's how I understand the math. \$\endgroup\$
    – mmr
    Commented Sep 23, 2010 at 14:55
  • \$\begingroup\$ The distortion doesn't bother me as my end product is a virtual globe. In other words I hope it does distort, as much as it needs to. But it needs to distort correctly so when I past the image inside a virtual globe it will look natural. \$\endgroup\$ Commented Sep 23, 2010 at 17:38
  • 1
    \$\begingroup\$ If you're remapping the final product onto a sphere, then I'd be concerned more with sampling. As you take the photos, you're projecting the world onto a 2D plane. Then when you remap back to a sphere, you're curving those photos to undo the projection of the original photo. If you shoot wide, then the final image will be very distorted just as a propagation of error. If you shoot zoomed in, you'll take loads of photos, but then you'll have less errors. \$\endgroup\$
    – mmr
    Commented Sep 23, 2010 at 17:54
  • \$\begingroup\$ Here's an analogy that I hope works. Imagine a 3' diameter beach ball. Say you take a bunch of 8"x10" images from inside the beach ball; the corners of those images will be more distorted than taking, say, 4"x6" images. If you overlap your 4"x6" shots,then the final mapping back should be very decent, much better than the same number of images shot at 8"x10", because there's less corner distortion in your original images. Did I make sense there? \$\endgroup\$
    – mmr
    Commented Sep 23, 2010 at 17:57
2
\$\begingroup\$

To avoid problems with nadir check the following technique (BTW, the whole technical section worth examining also).

To avoid problems with color (maybe this will help you with zenith shots) make sure you either in manual mode (it will give you equal exposure in all shots) or at least aperture priority mode (it will guarantee you at leas same depth of field and exposure could be blended and equalised by the stitching software). In manual mode you should set desired aperture (it's good to calculate hyperfocal distance) and measure the brightest and darkest parts of the scene. This will give you the middle point of your exposure. But it seems you trying to shoot HDR, so this tip is not applicable in that case.

And one more. If you shoot the blank sky without clouds then stitching software could be unable to snap on the image while calculating the control points. At the current moment I can't say how to deal with such problems (it should be possible if we shoot using the panoramic head, but many software doesn't take this fact into considerations and tries to stitch by applying it's own logics). At least Kolor Autopano Pro/Giga and PTGui are do not consider the possibility of using panohead and base it's calculations on that fact.

\$\endgroup\$
2
  • \$\begingroup\$ Equal exposure might not necessarily help if the clouds keep moving in and out of the frame. \$\endgroup\$
    – abhi
    Commented Sep 23, 2010 at 12:58
  • \$\begingroup\$ I wish there was software that did, that allowed you to designate zenith and nadir frames. I've thought about, for indoor hemi-panos, shooting a laser at the ceiling to be used as a control point. I think it would work. But of course that doesn't solve the blue sky issue. \$\endgroup\$ Commented Sep 23, 2010 at 17:36
2
\$\begingroup\$

Make sure you're tilting in pitch around the NPP point as well as rotating in yaw around it. You may have one arm calibrated correctly, but not the other on your panohead.

Having a separate piece of software, like Pano2VR, that can map your equirectangular to cube faces, so that you can then patch a specific face can also be helpful, if the head was over a featureless area--simple cloning/patching can erase the tripod.

If there are distinct features in the nadir, then you need to have additional nadir coverage aside from the shots on the tripod. Some people recommend moving the tripod, and then rotating the vertical arm of the head, so the camera is facing down for the nadir shot over the edge of the panohead (rather than the center of the tripod), but a handheld nadir shot (as long as the shutter speed is good) can work, too.

Don't include this "loose" nadir in the initial stitching in PTGui, but add it after the main alignment/optimization work has been done, and then use the viewpoint correction feature in PTGui to "patch" it into place. John Houghton has a good detailed tutorial on this method.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.