Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

Releases: cutright/DVHA-DICOM-Editor

Implicit value typing & Major threading bug fixes for MSW

21 Apr 21:04
Compare
Choose a tag to compare

v0.7 (2020.04.21)

  • Remove explicit DICOM tag value typing, let pydicom handle it
  • Use DICOM tag to track advanced options rather than a row index
  • Major threading issues resolved for Windows

List Editing

16 Apr 17:01
7c26930
Compare
Choose a tag to compare

v0.6 (2020.04.16)

  • List comprehension for MultiValue tags (e.g., ImageOrientation)

MultiValue Tags

Some DICOM tags point to multiple values (i.e., MultiValue pydicom class). As of
DVHA DICOM Editor v0.6, a new DICOM tag value can be interpreted as a list if it begins
with [, ends with ], and uses , (comma-space) as a separator (this is the same
format as python's str representation of a list). Each item of the list will be converted
to the type provided by the user in the "Value Type" drop-down. Do not add single of double
quotes to make an item a string.

Example

The DICOM tag ImageOrientationPatient (0020, 0037) is a list of 6 integers. If you want
this orientation to be head first-supine (HFS), it's value should be set to [1, 0, 0, 0, 1, 0].
The "Value Type" should be set to str since this tag's Value Representation (VR) is
DecimalString (DS).

Bug fixes, save history, better window sizing

09 Apr 15:47
Compare
Choose a tag to compare

v0.5 (2020.04.09)

  • Major rewrite for value enumeration to properly accommodate tags within a sequence
  • Fixed bug where a 2nd input-directory browse could cause crash
  • Ensure UIDs and random numbers generated in a session are unique from each other
  • Better minimum window size management
  • Optionally save edit history to csv file
  • Let user set "force" kwarg in pydicom.read_file()
  • Ignore files that are missing fhe following keyword properties:
    'StudyDate', 'StudyTime', 'PatientID', 'StudyID', 'SeriesNumber'

Tags in Sequences now editable & Maintain UID links

05 Apr 18:14
Compare
Choose a tag to compare

v0.4 (2020.04.05)

  • Random number generator functions: vrand and frand
  • Optionally set DICOM prefix and entropy source in "Advanced"
  • Keep cross-file UID connections by updating "Referenced" tags
  • Value functions no longer have an index parameter (parent DICOM elements don't have a value)

NOTE: Will post Windows executable later this week.

Threading & Dynamic Tag Editing

31 Mar 14:10
Compare
Choose a tag to compare

v0.3 (2020.03.31)

  • Catch tag edit exceptions, display error log in window
  • Reorganized code so it is easier to follow, lots of comments added
  • Search for DICOM tags
  • Values can be dynamically defined based on file_path or current tag values
  • Thread file parsing with progress bar
  • Ability to search sub folders

Templates, file name prepends, etc.

27 Mar 18:48
Compare
Choose a tag to compare

Changes

  • Allow user to select a file to pre-populate the value input
  • Update description key up for more intuitive update
  • Save and load templates
  • Custom prepend string for file names
  • Misc. bug fixes

Executable requirements

  • Windows 7 or later
  • macOS 10.14 or later

Initial release

25 Mar 21:44
Compare
Choose a tag to compare

Quickly built this to let my coworkers edit DICOM tags without needing admin rights to install something and without knowing how to use python/pydicom.