Skip to content

Commit

Permalink
doc: Update RST for camera
Browse files Browse the repository at this point in the history
  • Loading branch information
e10harvey committed Nov 27, 2024
1 parent f329198 commit 7a5b3a8
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 1 deletion.
56 changes: 56 additions & 0 deletions doc/source/library_reference/common/lib/camera/config.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
Base Class
==========

.. currentmodule:: opencsp.common.lib.camera.Camera

.. automodule:: opencsp.common.lib.camera.Camera
:members:
:special-members: __init__
:undoc-members:
:show-inheritance:
:member-order: groupwise

Image Acquisition Classes
=========================

.. currentmodule:: opencsp.common.lib.camera.ImageAcquisitionAbstract

.. automodule:: opencsp.common.lib.camera.ImageAcquisitionAbstract
:members:
:special-members: __init__
:undoc-members:
:show-inheritance:
:member-order: groupwise

.. currentmodule:: opencsp.common.lib.camera.ImageAcquisition_DCAM_color

.. automodule:: opencsp.common.lib.camera.ImageAcquisition_DCAM_color
:members:
:special-members: __init__
:undoc-members:
:show-inheritance:
:member-order: groupwise

UCamera Classes and Utility Functions
=====================================

.. currentmodule:: opencsp.common.lib.camera.UCamera

.. automodule:: opencsp.common.lib.camera.UCamera
:members:
:special-members: __init__
:undoc-members:
:show-inheritance:
:member-order: groupwise

Utility Functions
=================

.. currentmodule:: opencsp.common.lib.camera.image_processing

.. automodule:: opencsp.common.lib.camera.image_processing
:members:
:special-members: __init__
:undoc-members:
:show-inheritance:
:member-order: groupwise
9 changes: 9 additions & 0 deletions doc/source/library_reference/common/lib/camera/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Camera
======

This is a collection of camera utilities for OpenCSP.

.. toctree::
:maxdepth: 1

config.rst
3 changes: 2 additions & 1 deletion doc/source/library_reference/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ This section describes the OpenCSP classes and interfaces.
app/target/index.rst
app/camera_calibration/index.rst
app/scene_reconstruction/index.rst
common/lib/cv/index.rst
common/lib/cv/index.rst
common/lib/camera/index.rst
1 change: 1 addition & 0 deletions opencsp/common/lib/camera/image_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def encode_RG_to_RGB(image: np.ndarray) -> np.ndarray:
image : np.ndarray
Input 2d image directly from RG Bayer pattern sensor. Pixels are
arranged as:
R G ...
G B ...
. . ...
Expand Down

0 comments on commit 7a5b3a8

Please sign in to comment.