Skip to main content

Simple DICOM tag editor built with wxPython and pydicom

Project description

DVH Analytics screenshot

DVHA DICOM Editor

Simple DICOM tag editor built with wxPython and pydicom

  • No admin rights needed
  • Executables provided, which require no installation
  • Create templates for routine tag editing
  • Search for DICOM tags by keyword
  • Dynamically define new DICOM tag values

Installation

To install via pip:

pip install dvha-edit

If you've installed via pip or setup.py, launch from your terminal with:

dvhaedit

If you've cloned the project, but did not run the setup.py installer, launch DVHA DICOM Editor with:

python dvhaedit_app.py

Or check out the Releases page for an executable.

Dynamic Value Setting

Users can dynamically define DICOM tag values with one of the functions below, which are denoted by asterisk-pairs.

Available functions:

  • dir[n]: insert the nth component of the file path
  • fenum[n]: insert an iterator based on the nth component of the file path
  • venum[n]: insert an iterator based on the tag value, n=-1 being tag value, n=-2 the parent value, etc. (NOTE: only n=-1 is currently supported)

Examples

For a directory /some/file/path/ANON0001/ containing files file_1.dcm, file_2.dcm:

  • Directory:
    • NOTE: file extensions are removed
    • some_string_*dir[-1]*
      • some_string_file_1
      • some_string_file_2
    • *dir[-2]*_AnotherString
      • ANON0001_AnotherString
      • ANON0001_AnotherString
  • File Enumeration:
    • some_string_*fenum[-1]*
      • some_string_1
      • some_string_2
    • *fenum[-2]*_AnotherString
      • 1_AnotherString
      • 1_AnotherString
  • Value Enumeration:
    • NOTE: Assume each file has the same StudyInstanceUID but different SOPInstanceUIDs
    • *dir[-2]*_*venum[-1]* used with SOPInstanceUID tag
      • ANON0001_1
      • ANON0001_2
    • *dir[-2]*_*venum[-1]* used with StudyInstanceUID tag
      • ANON0001_1
      • ANON0001_1

This feature is still in development. Check back soon for more features.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dvha-edit-0.3.dev1.tar.gz (22.3 kB view hashes)

Uploaded Source

Built Distribution

dvha_edit-0.3.dev1-py3-none-any.whl (24.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page