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

New command_from_element_iter constructor functions for DICOM objects #365

Merged
merged 6 commits into from
Jun 18, 2023

Conversation

Enet4
Copy link
Owner

@Enet4 Enet4 commented Jun 14, 2023

This adds new functions for construction DICOM objects which represent command sets. The main perk of InMemDicomObject::command_from_element_iter over just InMemDicomObject::from_element_iter is that a Command Group Length (0000, 0000) is automatically calculated and added to the output object.

This also updates echoscu, storescu, findscu and storescp to use this function, making them a bit leaner.

@Enet4 Enet4 added enhancement C-object Crate: dicom-object labels Jun 14, 2023
@Enet4 Enet4 force-pushed the imp/object/command_from_iter branch from 918be6b to a7e3776 Compare June 14, 2023 17:56
@Enet4 Enet4 force-pushed the imp/object/command_from_iter branch from a7e3776 to 3d4120e Compare June 14, 2023 18:01
@Enet4 Enet4 merged commit 99891ed into master Jun 18, 2023
@Enet4 Enet4 deleted the imp/object/command_from_iter branch June 18, 2023 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-object Crate: dicom-object enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant