Skip to content

Implement truncating DICOM values#418

Merged
Enet4 merged 2 commits intomasterfrom
imp/ops/truncate
Oct 3, 2023
Merged

Implement truncating DICOM values#418
Enet4 merged 2 commits intomasterfrom
imp/ops/truncate

Conversation

@Enet4
Copy link
Copy Markdown
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
@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.

1 participant