Docs for 0.15.dev0
All versions

General-purpose imagesΒΆ

The title of each image indicates the name of the function.

  • ../../_images/sphx_glr_plot_general_001.png
  • ../../_images/sphx_glr_plot_general_002.png
  • ../../_images/sphx_glr_plot_general_003.png
  • ../../_images/sphx_glr_plot_general_004.png
  • ../../_images/sphx_glr_plot_general_005.png
  • ../../_images/sphx_glr_plot_general_006.png
  • ../../_images/sphx_glr_plot_general_007.png
  • ../../_images/sphx_glr_plot_general_008.png
  • ../../_images/sphx_glr_plot_general_009.png
  • ../../_images/sphx_glr_plot_general_010.png
  • ../../_images/sphx_glr_plot_general_011.png
  • ../../_images/sphx_glr_plot_general_012.png
  • ../../_images/sphx_glr_plot_general_013.png
import matplotlib.pyplot as plt
import matplotlib

from skimage import data

matplotlib.rcParams['font.size'] = 18

images = ('astronaut',
          'binary_blobs',
          'camera',
          'checkerboard',
          'chelsea',
          'clock',
          'coffee',
          'coins',
          'horse',
          'logo',
          'page',
          'text',
          'rocket',
          )


for name in images:
    caller = getattr(data, name)
    image = caller()
    plt.figure()
    plt.title(name)
    if image.ndim == 2:
        plt.imshow(image, cmap=plt.cm.gray)
    else:
        plt.imshow(image)

plt.show()

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

Gallery generated by Sphinx-Gallery