Skip to content

Coordinate systems

bekaus edited this page Sep 12, 2011 · 3 revisions

Different coordinate systems

We deal with four different coordinate systems:

Name Shape
Physical (t,x,y,z,channel)
Ndarray (axis 0, axis 1, ..., axis n-1)
Slice (row, column) , (axis 0, axis 1)
Screen (x,y),(width, height)

Transformations between these coordinate systems have to be defined. All systems are orthogonal but may switch handedness.

Coordinate transformations

The transformation Slice - Screen is fixed (by convention). The transformation ND-array - Slice can be configured by the user at runtime. The transformation Physical - ND-array is provided by the user to label axes correctly.

From ND volume to slices

slicing

Slice coordinates

slice and screen coordinates

Physical coordinates

physical coordinates