# Equirectangular Projection

(Redirected from Equirectangular)

## Description

This is a type of projection for mapping a portion of the surface of a sphere to a flat image. It is also called the "non-projection", or plate carre, since the horizontal coordinate is simply longitude, and the vertical coordinate is simply latitude, with no transformation or scaling applied. The equirectangular projection was used in map creation since it was invented around 100 A.D. by Marinus of Tyre. See Mathworld's page for more detailed information on the mathematics of this projection.

In an equirectangular panoramic image all verticals remain vertical, and the horizon becomes a straight line across the middle of the image. Coordinates in the image relate linearly to pan and tilt angles in the real world. The poles (Zenith, Nadir) are located at the top and bottom edge and are stretched to the entire width of the image. Areas near the poles get stretched horizontally.

The Equirectangular projection is the default output format of a rotating (scanning) panorama camera equipped with a fisheye lens -- 180° fisheye giving a full sphere at 360° rotation. Scanning cameras sometimes cover more than one 360° turn but software often assumes that equirectangular images cover 360° horizontally and 180° vertically, i.e. make sure that your equirectangular image has a proper aspect ratio of 2:1. Look at the pixel values -- a file with 1650 x 824 pixels lacks one pixel at the short side thus confusing some applications.

The Equirectangular projection is commonly used as the projection type of the source images for spherical panorama viewers, including PTViewer. The other possibility is the Cubic Projection.

## Common problems

### Retouching

The polar regions of an equirectangular image are extremely distorted, making retouching of these areas very difficult. Some tips are given in the Zenith and Nadir editing overview tutorial.

### Blending

There are related problems with automatically blending seams near the poles. None of the tools that perform blending such as PTStitcher, Enblend or SmartBlend feather equirectangular images differently to any other projection type.

So if you find that seams are running very close to the zenith or nadir, you may need to stitch the entire scene in a different orientation to get good results.

### Tone Mapping

There are more related problems with local tone mapping operators which produce strange results near the poles. The solution is to either use global tone mapping or retouch the zenith and nadir manually.

### Scaling

Equirectangular images have a very large amount of data redundancy near the poles because they are stretched in the 'latitude' direction. When downsizing an image in an editor such as Photoshop or the gimp, the effective resolution of the image is decreased as expected except near the poles.

This can cause strange radial artefacts when viewed later in Panorama Viewers. The solution is to always switch to a less distorted projection such as Cubic Projection before scaling, blurring or sharpening a panorama - Switching back later if necessary

Retrieved from "http://wiki.panotools.org/Equirectangular_Projection"