Skip to content

Support for dcm <tag1> <tag2> ...? #2

@realcundo

Description

@realcundo

Perhaps it'd be useful for dcm to only parse subset of the dicom input, and output only specified tags. The benefits would be:

  • dicom input parsing speedup
  • reduced memory use from only extracting data that is passed downstream

Current behaviour is to load entire dicom into memory (only skipping PixelData.)

Questions

  1. Currently dcm foo is a shortcut for select foo | dcm. Is it useful to keep current behaviour?
  2. Should dcm output only tags that are specified as arguments, or should it output all tags until the highest arg tag?
    • Should this be configurable and if so,
    • what is the default?
  3. Should it support nesting inside sequences, or only operate on root-level tags?
  4. If no tags match, return null/empty/some default value like in case of -e for errors?
  5. When specifying numeric tags, support wildcards? (e.g. extract all elements in a group)
  6. Similarly, when specifying tags by name, support regex?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions