.. only:: html
.. note::
:class: sphx-glr-download-link-note
Click :ref:`here ` to download the full example code
.. rst-class:: sphx-glr-example-title
.. _sphx_glr_auto_examples_plot_imghist_map_func.py:
Map function to transform 2D image
==================================
.. image:: /auto_examples/images/sphx_glr_plot_imghist_map_func_001.png
:alt: plot imghist map func
:class: sphx-glr-single-img
.. code-block:: default
from skimage.exposure import adjust_gamma
import seaborn_image as isns
cells = isns.load_image("cells")[:, :, 32]
f = isns.imghist(cells, map_func=adjust_gamma, gamma=0.5)
.. rst-class:: sphx-glr-timing
**Total running time of the script:** ( 0 minutes 1.517 seconds)
.. _sphx_glr_download_auto_examples_plot_imghist_map_func.py:
.. only :: html
.. container:: sphx-glr-footer
:class: sphx-glr-footer-example
.. container:: sphx-glr-download sphx-glr-download-python
:download:`Download Python source code: plot_imghist_map_func.py `
.. container:: sphx-glr-download sphx-glr-download-jupyter
:download:`Download Jupyter notebook: plot_imghist_map_func.ipynb `
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery `_