Image Coordinate Systems

About

Different software/programming languages may use different image coordinate systems [1][2]. Although there are many possible image coordinate systems, four common ones have been defined within IEEE Std 2020-2024 [2]. The labeling of the image coordinate system facilitates interfacing between software/programming languages that use different image coordinate systems.

Factors

The following are factors of an image coordinate system.

FactorDescriptionExample(s)
Axis OrderingThe ordering of the pair of coordinates

x, y (row, column); y, x (column, row)

Reference Pixel IndexThe index of the reference pixel

0; 1

Reference Pixel LocationThe location of the reference pixel

Lower Left; Upper Left; Other

Positive x-axis DirectionThe direction within the image that the x-coordinate increases

Left; Right

Positive y-axis DirectionThe direction within the image that the y-coordinate increases

Up; Down

Integer Pixel LocationThe within-pixel location of the integer index

Pixel center; Other

DownsamplingThe amount of downsampling performed

None; 2x2; Other

Cropping The amount of cropping performed

No Cropping; Cropping

Use within Imatest

Unless otherwise specified, Imatest uses an IEEE Std 2020 [2] Type IV image coordinate system.

Image Coordinate Systems

 IEEE Std 2020 [2] Type IIEEE Std 2020 [2] Type IIIEEE Std 2020 [2] Type IIIIEEE Std 2020 [2] Type IV
Axis Orderingx, y (row, column)x, y (row, column)x, y (row, column)x, y (row, column)
Reference Pixel Index0011
Reference Pixel LocationLower LeftUpper LeftLower LeftUpper Left
Positive x-axis DirectionRightRightRightRight
Positive y-axis DirectionUpDownUpDown
Integer Pixel LocationPixel CenterPixel CenterPixel CenterPixel Center
DownsamplingNoneNoneNoneNone
CroppingNoneNoneNoneNone
Example Usage OpenCV 

MATLAB*

Imatest

* The MATLAB axis ordering is column, row.

Examples

The following examples illustrate various image coordinate systems for a 6-column by 4-row image. The reference pixel is marked in gray.

  
IEEE Std 2020 [2] Type IIEEE Std 2020 [2] Type II
IEEE Std 2020 [2] Type IIIIEEE Std 2020 [2] Type IV

References

  1. P. Romanczyk, “Validation methods for geometric camera calibration,” in Proc. IS&T Electronic Imaging, 2020, doi: 10.2352/ISSN.2470-1173.2020.16.AVM-150. ↩
  2. IEEE Standard for Automotive System Image Quality, IEEE Std 2020-2024, 2024, doi: 10.1109/IEEESTD.2024.10935839. ↩a ↩b ↩c ↩d ↩e ↩f ↩g ↩h ↩i ↩j ↩k