Releases: cutright/DVHA-DICOM-Editor
Implicit value typing & Major threading bug fixes for MSW
List Editing
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
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
v0.4 (2020.04.05)
- Random number generator functions:
vrand
andfrand
- 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
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.
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
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.