Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

479 B
Raw Blame
Bayer RAW
=========

.. currentmodule:: kornia.color

.. tip::
    Learn more: https://en.wikipedia.org/wiki/Bayer_filter

.. note::
    The :class:`CFA` enum selects the color filter array layout.

Functions
---------

.. autofunction:: rgb_to_raw
.. autofunction:: raw_to_rgb
.. autofunction:: raw_to_rgb_2x2_downscaled

Modules
-------

.. autoclass:: CFA
    :members:
    :undoc-members:

.. autoclass:: RgbToRaw
.. autoclass:: RawToRgb
.. autoclass:: RawToRgb2x2Downscaled