Skip to content

Commit

Permalink
docs: add camera.rst documentation and update index.rst to reference it
Browse files Browse the repository at this point in the history
  • Loading branch information
yxlao committed Dec 28, 2024
1 parent 2191080 commit c45bd1a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions docs/coordinates.rst → docs/camera.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
Camera Coordinates
==================

.. only:: not latex

.. image:: https://raw.githubusercontent.com/yxlao/camtools/main/camtools/assets/camera_coordinates_light.png
:width: 520
:align: center
:alt: Camera Coordinates
:class: only-light

.. image:: https://raw.githubusercontent.com/yxlao/camtools/main/camtools/assets/camera_coordinates_dark.png
:width: 520
:align: center
:alt: Camera Coordinates
:class: only-dark

A homogeneous point ``[X, Y, Z, 1]`` in the world coordinate can be projected to a
homogeneous point ``[x, y, 1]`` in the image (pixel) coordinate using the
following equation:
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ clear and easy-to-use APIs.
:caption: Docs

Home <self>
coordinates
camera
installation
contributing
api
Expand Down

0 comments on commit c45bd1a

Please sign in to comment.