.. 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_examples_imaging_image_viewing.py:
Number and View Images
======================
Number and view a sequence of images
.. code-block:: default
    # make sure we have the image plugin
    import imagepypelines as ip
    ip.require('image')
define our tasks
.. code-block:: default
    tasks = {
            # set an entry point for images into the pipeline
            'images': ip.Input(),
            # add number to the bottom right corner
            'numbered': (ip.image.NumberImage(), 'images'),
            # View the numbered images in sequence
            'null' : (ip.image.QuickView(pause_for=500), 'numbered')
             }
    viewer = ip.Pipeline(tasks)
let's process some data!
.. code-block:: default
    # let's grab some example data from the ImagePypelines standard set
    images = [ip.image.panda(), ip.image.gecko(), ip.image.redhat()]
    # Number and view the images!
    processed = viewer.process(images)
.. image:: /examples/imaging/images/sphx_glr_image_viewing_001.png
    :alt: image viewing
    :class: sphx-glr-single-img
.. rst-class:: sphx-glr-timing
   **Total running time of the script:** ( 0 minutes  1.882 seconds)
.. _sphx_glr_download_examples_imaging_image_viewing.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: image_viewing.py `
  .. container:: sphx-glr-download sphx-glr-download-jupyter
     :download:`Download Jupyter notebook: image_viewing.ipynb `
.. only:: html
 .. rst-class:: sphx-glr-signature
    `Gallery generated by Sphinx-Gallery `_