Export to Volume to DICOM and Edit Exported Data Tags

I am trying to edit ultrasound volumes such that on subsequent uses, they are automatically loaded in with my desired window/level–different from the one Slicer selects automatically. My thought process is as follows.

  1. Export the desired volume to DICOM format
  2. Load in the volume as a DICOM file
  3. Change the preferred window/level settings in a DICOM tag so that when I re-save, Slicer automatically renders it using the new settings.

I am not sure how to accomplish the third step. Can I edit DICOM tags directly in Slicer? If so, how do I actually go about finding the correct tags?

If anyone knows how I might achieve this goal through this method (or another one) please let me know. Thank you!

There is a “Create a DICOM Series” module which allows you to choose a window center and width when exporting an image volume (but also requires that you fill in everything else from scratch). If you have any python experience at all, pydicom is pretty easy to use.

You might find some additional helpful information in this discussion: Modify additional DICOM tags in export - #7 by mikebind

1 Like

This seems to have worked well so far, thank you! I appreciate you linking to your previous post