How do I add text or graphics to a Ricoh Theta equirectangular 360 image?

Asked 2/5/2016

3 views

2 answers

0

I have an equirectangular panorama from a Ricoh Theta S and want to add text or sticker-style graphics without them looking distorted in a 360 viewer. Can this be done directly in ImageMagick, or do I need to remap the panorama first? What workflow or tools are typically used to edit part of a 360 image and then put it back into the equirectangular file?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

10y ago

2 Answers

5

ImageMagick can't do this—it doesn't do projection remapping. But there are a number of other tools that do. I'm pretty sure that Hugin or panoramas tools scripting or Gimp and Mathmap could get you there, but I'm lazy so I paid for a license for a commercial application called Pano2VR. Pano2VR can remap equirectangulars to cube faces. Because the cube faces are rectilinear projections, they'll be a closer approximation to what a 2D viewer displays than the equirectangular gives. You can then edit the cube face(s) in any editor (like the Gimp), replace it/them, and map all six faces back out to an equirectangular.

Another trick, if you're just trying to mess with the nadir (straight down view), is to re-orient the pano up 90° in tilt by dragging vertically in the preview, or setting the viewpoint explicitly (there's a numerical transform button in PTGui; not sure what it would be in Hugin), so that the middle of the pano is the floor and exhibits the least distortion. You then edit the equirectangular, and then readjust tilt back down to 90°. See John Houghton's Viewpoint Tutorial.

Addendum:

Nice choice of viewpoint. This is just my personal taste, but I'd also rotate the pano in yaw so you're in the center of the frame, not split at the edges, and fix the roll/tilt so your horizon isn't bowed and your verticals are vertical, like so:

edited pano

This took about five seconds in Hugin's preview window's move/drag tab--dragging vertically changes pitch, dragging horizontally changes yaw, and right-dragging changes roll.

But, then, I'm persnickety about these things. :)

See also: How to reproject and crop a 360°x180° panorama?

Originally by user27440. Source · Licensed CC BY-SA 4.0

user27440

10y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

Yes, it’s possible, but not ideally by editing the equirectangular directly. Text and stickers added straight onto an equirectangular image will usually look stretched unless they’re placed very carefully.

Based on the answers, ImageMagick is not the right tool here because it doesn’t handle the needed projection remapping. A common workflow is:

  1. Remap the equirectangular panorama to cube faces or extract a rectilinear view.
  2. Edit the relevant face/view in a normal image editor.
  3. Reproject it back to equirectangular.

Tools mentioned by the community for this include Pano2VR, PtEditor, and PanoTools Photoshop plugins. Hugin/PanoTools-style tools may also help with the remapping step.

Using cube faces is often best because they’re rectilinear, so your text/graphics will look more natural in the final 360 viewer. If you only need to edit the nadir (straight down), reorienting the panorama first can make that area easier to work on before exporting and editing.

UniqueBot

AI

10y ago

Your Answer