:orphan:

.. _general_examples:

General examples
----------------

Somewhere to start



.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This examples illustrates how to find the differences between two DICOM files.">

.. only:: html

    .. figure:: /auto_examples/images/thumb/sphx_glr_plot_dicom_difference_thumb.png

        :ref:`sphx_glr_auto_examples_plot_dicom_difference.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_dicom_difference

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Very simple app to display unicode person names.">

.. only:: html

    .. figure:: /auto_examples/images/thumb/sphx_glr_show_charset_name_thumb.png

        :ref:`sphx_glr_auto_examples_show_charset_name.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/show_charset_name

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Show a dicom file using a hierarchical tree in a graphical window.">

.. only:: html

    .. figure:: /auto_examples/images/thumb/sphx_glr_dicomtree_thumb.png

        :ref:`sphx_glr_auto_examples_dicomtree.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/dicomtree
.. raw:: html

    <div style='clear:both'></div>

.. _image_processing_examples:

Image processing
----------------

These examples illustrate the image processing available in pydicom which can
be applied to DICOM images.



.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example shows how to downsize an MR image from :math:`512 	imes 512` to :math:`64 	imes 64...">

.. only:: html

    .. figure:: /auto_examples/image_processing/images/thumb/sphx_glr_plot_downsize_image_thumb.png

        :ref:`sphx_glr_auto_examples_image_processing_plot_downsize_image.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/image_processing/plot_downsize_image
.. raw:: html

    <div style='clear:both'></div>

.. _input_ouput_examples:

Input-output
------------

These examples illustrate the use of pydicom to read DICOM data.



.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Given an RTPLAN DICOM file, list basic info for the beams in it.">

.. only:: html

    .. figure:: /auto_examples/input_output/images/thumb/sphx_glr_plot_read_rtplan_thumb.png

        :ref:`sphx_glr_auto_examples_input_output_plot_read_rtplan.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/input_output/plot_read_rtplan

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example illustrates how to open a DICOM file, print some dataset information, and show it ...">

.. only:: html

    .. figure:: /auto_examples/input_output/images/thumb/sphx_glr_plot_read_dicom_thumb.png

        :ref:`sphx_glr_auto_examples_input_output_plot_read_dicom.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/input_output/plot_read_dicom

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example illustrates how to print the data set in your own format.">

.. only:: html

    .. figure:: /auto_examples/input_output/images/thumb/sphx_glr_plot_printing_dataset_thumb.png

        :ref:`sphx_glr_auto_examples_input_output_plot_printing_dataset.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/input_output/plot_printing_dataset

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example shows how to write a DICOM file from scratch using pydicom. This example does not ...">

.. only:: html

    .. figure:: /auto_examples/input_output/images/thumb/sphx_glr_plot_write_dicom_thumb.png

        :ref:`sphx_glr_auto_examples_input_output_plot_write_dicom.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/input_output/plot_write_dicom

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example shows how to read DICOM directory.">

.. only:: html

    .. figure:: /auto_examples/input_output/images/thumb/sphx_glr_plot_read_dicom_directory_thumb.png

        :ref:`sphx_glr_auto_examples_input_output_plot_read_dicom_directory.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/input_output/plot_read_dicom_directory
.. raw:: html

    <div style='clear:both'></div>

.. _metadata_processing_examples:

Metadata processing
-------------------

These examples illustrates the processing available in pydicom to modify the
metadata of DICOM data.



.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This examples illustrates how to work with sequences.">

.. only:: html

    .. figure:: /auto_examples/metadata_processing/images/thumb/sphx_glr_plot_sequences_thumb.png

        :ref:`sphx_glr_auto_examples_metadata_processing_plot_sequences.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/metadata_processing/plot_sequences

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This examples illustrates how to add dictionary items to the &#x27;standard&#x27; DICOM dictionary dynami...">

.. only:: html

    .. figure:: /auto_examples/metadata_processing/images/thumb/sphx_glr_plot_add_dict_entries_thumb.png

        :ref:`sphx_glr_auto_examples_metadata_processing_plot_add_dict_entries.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/metadata_processing/plot_add_dict_entries

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example is a starting point to anonymize DICOM data.">

.. only:: html

    .. figure:: /auto_examples/metadata_processing/images/thumb/sphx_glr_plot_anonymize_thumb.png

        :ref:`sphx_glr_auto_examples_metadata_processing_plot_anonymize.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/metadata_processing/plot_anonymize
.. raw:: html

    <div style='clear:both'></div>



.. only :: html

 .. container:: sphx-glr-footer
    :class: sphx-glr-footer-gallery


  .. container:: sphx-glr-download

    :download:`Download all examples in Python source code: auto_examples_python.zip <//build/pydicom-1.2.1/doc/auto_examples/auto_examples_python.zip>`



  .. container:: sphx-glr-download

    :download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip <//build/pydicom-1.2.1/doc/auto_examples/auto_examples_jupyter.zip>`


.. only:: html

 .. rst-class:: sphx-glr-signature

    `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.readthedocs.io>`_
