3a2c66702c
Tests on CPU (scheduled) / check-skip (push) Has been cancelled
Tests on CPU (scheduled) / pre-tests (push) Has been cancelled
Tests on CPU (scheduled) / tests-cpu-ubuntu (float32) (push) Has been cancelled
Tests on CPU (scheduled) / tests-cpu-ubuntu (float64) (push) Has been cancelled
Tests on CPU (scheduled) / tests-cpu-windows (3.11, float32, 2.5.1) (push) Has been cancelled
Tests on CPU (scheduled) / tests-cpu-windows (3.11, float32, 2.9.1) (push) Has been cancelled
Tests on CPU (scheduled) / tests-cpu-windows (3.11, float64, 2.5.1) (push) Has been cancelled
Tests on CPU (scheduled) / tests-cpu-windows (3.11, float64, 2.9.1) (push) Has been cancelled
Tests on CPU (scheduled) / tests-cpu-windows (3.12, float32, 2.5.1) (push) Has been cancelled
Tests on CPU (scheduled) / tests-cpu-windows (3.12, float32, 2.9.1) (push) Has been cancelled
Tests on CPU (scheduled) / tests-cpu-windows (3.12, float64, 2.5.1) (push) Has been cancelled
Tests on CPU (scheduled) / tests-cpu-windows (3.12, float64, 2.9.1) (push) Has been cancelled
Tests on CPU (scheduled) / tests-cpu-windows (3.13, float32, 2.9.1) (push) Has been cancelled
Tests on CPU (scheduled) / tests-cpu-windows (3.13, float64, 2.9.1) (push) Has been cancelled
Tests on CPU (scheduled) / tests-cpu-mac (3.11, float32, 2.5.1) (push) Has been cancelled
Tests on CPU (scheduled) / tests-cpu-mac (3.11, float32, 2.9.1) (push) Has been cancelled
Tests on CPU (scheduled) / tests-cpu-mac (3.12, float32, 2.5.1) (push) Has been cancelled
Tests on CPU (scheduled) / tests-cpu-mac (3.12, float32, 2.9.1) (push) Has been cancelled
Tests on CPU (scheduled) / tests-cpu-mac (3.13, float32, 2.9.1) (push) Has been cancelled
Tests on CPU (scheduled) / coverage (push) Has been cancelled
Tests on CPU (scheduled) / typing (push) Has been cancelled
Tests on CPU (scheduled) / tutorials (push) Has been cancelled
Tests on CPU (scheduled) / docs (push) Has been cancelled
Lint / TOML Format (push) Has been cancelled
100 lines
2.4 KiB
ReStructuredText
100 lines
2.4 KiB
ReStructuredText
kornia.enhance
|
|
==============
|
|
|
|
.. meta::
|
|
:name: description
|
|
:content: "The Kornia.enhance module provides a suite of image enhancement functions including brightness, contrast, hue, saturation adjustments, as well as normalization and equalization techniques. It also features advanced transformations like ZCA whitening and differentiable JPEG codec. Explore interactive demos on Hugging Face Spaces."
|
|
|
|
.. currentmodule:: kornia.enhance
|
|
|
|
The functions in this section perform normalisations and intensity transformations.
|
|
|
|
Adjustment
|
|
----------
|
|
|
|
.. autofunction:: add_weighted
|
|
.. autofunction:: adjust_brightness
|
|
.. autofunction:: adjust_contrast
|
|
.. autofunction:: adjust_contrast_with_mean_subtraction
|
|
.. autofunction:: adjust_gamma
|
|
.. autofunction:: adjust_hue
|
|
.. autofunction:: adjust_saturation
|
|
.. autofunction:: adjust_sigmoid
|
|
.. autofunction:: adjust_log
|
|
.. autofunction:: invert
|
|
.. autofunction:: posterize
|
|
.. autofunction:: sharpness
|
|
.. autofunction:: solarize
|
|
|
|
Interactive Demo
|
|
~~~~~~~~~~~~~~~~
|
|
.. raw:: html
|
|
|
|
<gradio-app src="kornia/kornia-image-enhancement"></gradio-app>
|
|
|
|
Visit the demo on `Hugging Face Spaces <https://huggingface.co/spaces/kornia/kornia-image-enhancement>`__.
|
|
|
|
Equalization
|
|
------------
|
|
|
|
.. autofunction:: equalize
|
|
.. autofunction:: equalize_clahe
|
|
.. autofunction:: equalize3d
|
|
|
|
Interactive Demo
|
|
|
|
.. raw:: html
|
|
|
|
<gradio-app src="Iamabhipandat/kornia-image-equalization"></gradio-app>
|
|
|
|
Visit the demo on `Hugging Face Spaces <https://huggingface.co/spaces/Iamabhipandat/kornia-image-equalization>`__.
|
|
|
|
|
|
.. autofunction:: histogram
|
|
.. autofunction:: histogram2d
|
|
.. autofunction:: image_histogram2d
|
|
|
|
Normalizations
|
|
--------------
|
|
|
|
.. autofunction:: normalize
|
|
.. autofunction:: normalize_min_max
|
|
.. autofunction:: denormalize
|
|
.. autofunction:: zca_mean
|
|
.. autofunction:: zca_whiten
|
|
.. autofunction:: linear_transform
|
|
|
|
Codec
|
|
-----
|
|
|
|
.. autofunction:: jpeg_codec_differentiable
|
|
|
|
|
|
Modules
|
|
-------
|
|
|
|
.. autoclass:: Normalize
|
|
.. autoclass:: Denormalize
|
|
.. autoclass:: ZCAWhitening
|
|
:members:
|
|
|
|
.. autoclass:: AdjustBrightness
|
|
.. autoclass:: AdjustContrast
|
|
.. autoclass:: AdjustSaturation
|
|
.. autoclass:: AdjustHue
|
|
.. autoclass:: AdjustGamma
|
|
.. autoclass:: AdjustSigmoid
|
|
.. autoclass:: AdjustLog
|
|
.. autoclass:: AddWeighted
|
|
|
|
.. autoclass:: Invert
|
|
|
|
.. autoclass:: JPEGCodecDifferentiable
|
|
|
|
|
|
ZCA Whitening Interactive Demo
|
|
------------------------------
|
|
.. raw:: html
|
|
|
|
<gradio-app src="kornia/zca-whitening"></gradio-app>
|