kornia.morphology
======================

.. meta::
   :name: description
   :content: "The Kornia.morphology module offers a set of morphological image processing operations such as dilation, erosion, opening, closing, gradient, top hat, and bottom hat. It enables users to apply these transformations to images for advanced computer vision tasks. Try the interactive demo on Hugging Face Spaces."

.. currentmodule::  kornia.morphology

.. autofunction:: dilation
.. autofunction:: erosion
.. autofunction:: opening
.. autofunction:: closing
.. autofunction:: gradient
.. autofunction:: top_hat
.. autofunction:: bottom_hat

Interactive Demo
~~~~~~~~~~~~~~~~
.. raw:: html

    <gradio-app src="kornia/morphological_operators"></gradio-app>

Visit the demo on `Hugging Face Spaces <https://huggingface.co/spaces/kornia/morphological_operators>`_.
