Skip to content

HeadingPitchRoll

Christopher Bruns edited this page Jul 28, 2026 · 19 revisions

Handling GPano Heading, Pitch, and Roll values.

When reasoning about spatial transformations, it can be helpful to individually reason about each distinct coordinate reference frame. There are at least five frames relevant to understanding the GPano:Pose values.

Coordinate Reference Frames

Coordinate Frame Up direction Forward direction Right direction
Real World sky north east
Camera top of camera front lens right side of camera
Uncorrected Image image top image center image right
Viewer App top of screen user eye -> screen center screen right
Corrected Image image top image center image right

GPano camera pose angles

The three pose angles GPano:PoseHeadingDegrees, GPano:PosePitchDegrees, and GPano:PoseRollDegrees describe the orientation of the camera used to capture panoramic 360 image. In particular they represent the pose of the camera frame as it relates to the world frame. These three rotation values heading, pitch, and roll are directly related to the same concepts used in aviation and aerospace, where the heading (yaw), pitch, and roll describe the orientation of an aircraft in the world. These angles have the same meaning in both the aerospace and photography fields.

Camera (Ricoh Theta) Aircraft
Roll-Pitch-and-Yaw-Positive-Rotation-Angles-in-the-Aircraft-Frame
Coordinate Frame Zero heading,pitch,roll Positive camera heading (yaw)
GPano:PoseHeadingDegrees
Positive camera pitch
GPano:PosePitchDegrees
Positive camera roll
GPano:PoseRollDegrees
Real World (never changes) forward north
right east
oriented_image
forward north
right east
oriented_image
forward north
right east
oriented_image
forward north
right east
oriented_image
Aviation analogy nose north
wings level
nose east of north
wings level
nose tilted up
horizon level
nose north
right wing dipped down
aviation_plus_roll
Camera lens points north
camera level
lens points east of north
camera level
lens points above horizon
right side dipped down
Uncorrected image north at center
horizon level
oriented_image
north left of center, horizon level horizon below center, horizon level horizon rotated ccw
RollHorizon
Viewer correction none move horizon right move horizon up rotate horizon cw
RollHorizonCorrection
Corrected image north at center
horizon level
oriented_image
north at center
horizon level
oriented_image
north at center
horizon level
oriented_image
north at center
horizon level
oriented_image
Coordinate Frame Zero camera roll Positive camera roll
GPano:PoseRollDegrees
Real World (never changes) forward north
right east
oriented_image
forward north
right east
oriented_image
Aviation analogy nose north
wings level
nose north
right wing dipped down
aviation_plus_roll
Camera lens points north
camera level
IMG_1482_cropped
right side dipped down
IMG_1484_cropped2
Uncorrected image north at center
horizon level
oriented_image
horizon rotated ccw
RollHorizon
Viewer correction none rotate horizon cw
RollHorizonCorrection
Corrected image north at center
horizon level
oriented_image
north at center
horizon level
oriented_image

Clone this wiki locally