Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement truncating DICOM values #418

Merged
merged 2 commits into from
Oct 3, 2023
Merged

Implement truncating DICOM values #418

merged 2 commits into from
Oct 3, 2023

Conversation

Enet4
Copy link
Owner

@Enet4 Enet4 commented Sep 26, 2023

This PR implements operations to truncate DICOM values. On primitive values, this shortens the list of primitive elements in the DICOM value to a given limit. On data set sequences and pixel fragment sequences, this shortens the list of items in the sequence.

This includes methods and a new action for the attribute operations API.

Summary

  • [core] Add truncate methods to value types
  • [core][object] Add AttributeAction::Truncate

@Enet4 Enet4 added enhancement A-lib Area: library C-object Crate: dicom-object C-core Crate: dicom-core labels Sep 26, 2023
@Enet4 Enet4 merged commit d7c7663 into master Oct 3, 2023
4 checks passed
@Enet4 Enet4 deleted the imp/ops/truncate branch October 3, 2023 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lib Area: library C-core Crate: dicom-core C-object Crate: dicom-object enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant