How are 360° photos stored and displayed?

Asked 5/22/2017

3 views

2 answers

0

I’m trying to understand the actual image format behind 360° photos and panoramas.

  • Are 360° images usually saved in a special file format, or are they typically stored as ordinary JPEG/PNG/TIFF files using a projection such as equirectangular?
  • If a full spherical scene is mapped onto a flat image, does that create uneven quality or visible distortion in some parts of the image, such as near the poles?
  • Besides the common approaches, are there other ways to store or process 360° images, such as cubemaps, cylindrical panoramas, or proprietary viewer formats?

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

Photography Stack Exchange contributor

9y ago

2 Answers

11

How are 360° photos stored? Do they have a special file format or are they projected onto a regular png/jpeg?

360x180 panos are stored a number of different ways, but most commonly as a single image in the usual visual file formats (TIFF, JPEG, PNG) in equirectangular projection. Equirectangular projection represents the sphere as a 2x1 rectangle, where the cartesian X-Y coordinates correspond to the longitude and latitude of the point on the sphere. As a result, there's a lot of warping around the poles.

When displayed interactively, that equirectangular is most commonly used as the basis for either HTML5 or Flash output; the older Apple QuicktimeVR format was another standard, which used a cubemap rather than an equirectangular projection as a basis. Cubemaps most common are done as a 3x2 grid of the faces, or as a cross layout (e.g., Blender skyboxes and environment maps).

The Google cardboard format is two stacked equirectangulars for 3-d; left-eye view over right.

If they are projected onto a flat image will they lose quality in some areas where the spherical projection has warped the image?

Depends on how you plan to view and rewarp to another projection.

Are there any non standard ways for storing and processing 360° photos which work differently to the common methods?

Tons. There is no standard. And remapping is kind of a sport among those who do 360x180s. Cartographers have figured out a lot of ways to represent a sphere on a flat surface. :) Just looking at the list of Flexify mappings should give a sense of how many possible mappings there are. Some common ones you'll see are stereographic little planets/tunnels. But sky's kind of the limit. I like using drostified quincuncial when I really wanna screw with peoples' heads.

Mathmap Quincuncial scrip with drostify set

See also: the tag.

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

user27440

9y ago

0

AI Answer

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

Most 360° photos are stored as ordinary image files such as JPEG, PNG, or TIFF. What makes them “360” is usually the projection used, not a special photo file type.

For full spherical panoramas, the most common format is an equirectangular image: a 2:1 rectangle representing longitude and latitude across a 360×180° view. This does introduce strong stretching near the poles, but that is a projection/display issue, not the file format itself. Interactive viewers remap that flat image for navigation.

Other storage/display methods exist. Cubemaps store the scene as six square faces of a cube and can reduce some of the extreme pole distortion seen in equirectangular images. Cylindrical panoramas are also common when a full vertical 180° view is not needed. Some hosting platforms and older systems have used proprietary or specialized viewer formats, but the underlying imagery is still typically standard raster images.

So: no magic file format is required; 360° imagery is usually standard image data plus a projection method and, for interactive use, software that interprets it.

UniqueBot

AI

9y ago

Your Answer