pydicom Logo
1.1.0

Getting started

  • Getting Started with pydicom

Documentation

  • Pydicom User Guide
  • Pydicom Developer Guide
  • Reading and writing DICOM files
  • Pydicom Complete API Reference

Examples

  • General examples
    • Analyse differences between DICOM files
    • Display unicode person names
    • Show a dicom file using hierarchical tree
  • Image processing
    • Downsize MRI image using pydicom
  • Input-output
    • Read RTPLAN DICOM and list information
    • Read DICOM and ploting using matplotlib
    • Format the output of the data set printing
    • Write DICOM data
    • Read DICOM directory
  • Metadata processing
    • Working with sequences
    • Add dictionary items in the standard DICOM dictionary
    • Anonymize DICOM data

Additional Information

  • Release history
pydicom
  • Docs »
  • General examples
  • View page source

General examples¶

Somewhere to start

../_images/sphx_glr_plot_dicom_difference_thumb.png

Analyse differences between DICOM files

../_images/sphx_glr_show_charset_name_thumb.png

Display unicode person names

../_images/sphx_glr_dicomtree_thumb.png

Show a dicom file using hierarchical tree

Image processing¶

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

../_images/sphx_glr_plot_downsize_image_thumb.png

Downsize MRI image using pydicom

Input-output¶

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

../_images/sphx_glr_plot_read_rtplan_thumb.png

Read RTPLAN DICOM and list information

../_images/sphx_glr_plot_read_dicom_thumb.png

Read DICOM and ploting using matplotlib

../_images/sphx_glr_plot_printing_dataset_thumb.png

Format the output of the data set printing

../_images/sphx_glr_plot_write_dicom_thumb.png

Write DICOM data

../_images/sphx_glr_plot_read_dicom_directory_thumb.png

Read DICOM directory

Metadata processing¶

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

../_images/sphx_glr_plot_sequences_thumb.png

Working with sequences

../_images/sphx_glr_plot_add_dict_entries_thumb.png

Add dictionary items in the standard DICOM dictionary

../_images/sphx_glr_plot_anonymize_thumb.png

Anonymize DICOM data

Download all examples in Python source code: auto_examples_python.zip
Download all examples in Jupyter notebooks: auto_examples_jupyter.zip

Gallery generated by Sphinx-Gallery

Next

© Copyright 2008-2018, Darcy Mason and pydicom contributors.

Built with Sphinx using a theme provided by Read the Docs.