dcmjs
dcmjs copied to clipboard
Does dcmjs support the modification of DICOM file tags? And ,Is there any more detailed documentation about dcmjs?
trafficstars
I'm afraid there's not much documentation beyond the examples. Contributions welcome of course 😉
Changing the tags is simply a matter of assigning values in the dataset object. They must be valid names and types from the data dictionary for a valid conversion back to part10 form.
Here's an example:
https://github.com/dcmjs-org/dcmjs/commit/c93d9589868fbbe48db37309c29b5f77fe4e76da#diff-7fa86cdeaa3213d2562386c2d3940a7a