Apply multiple transformations to 2-D imageΒΆ

plot ImageGrid map func list

Out:

/home/docs/checkouts/readthedocs.org/user_builds/seaborn-image/envs/latest/lib/python3.8/site-packages/seaborn_image/_context.py:128: UserWarning: Trying to register the cmap 'deep' which already exists.
  register_cmap(name=cmap, cmap=cmap_mpl)

from skimage.filters import frangi, hessian, meijering, sato

import seaborn_image as isns

retina = isns.load_image("retina-gray")

g = isns.ImageGrid(
    retina,
    map_func=[meijering, sato, frangi, hessian],
    col_wrap=4,
    map_func_kw=[{"mode": "reflect", "sigmas": [1]} for _ in range(4)],
)

Total running time of the script: ( 0 minutes 0.766 seconds)

Gallery generated by Sphinx-Gallery