-
Notifications
You must be signed in to change notification settings - Fork 82
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
Revise DicomObject abstraction #524
base: master
Are you sure you want to change the base?
Commits on Nov 2, 2024
-
[object] Redesign DicomObject trait
- use GAT on Element type - add element_opt and element_by_name_opt
Configuration menu - View commit details
-
Copy full SHA for 4cb0c26 - Browse repository at this point
Copy the full SHA 4cb0c26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70b2596 - Browse repository at this point
Copy the full SHA 70b2596View commit details -
[object] Redesign DicomObject trait
- add DicomAttributeValue trait, use it as output of most methods in DicomObject - rename methods and add new ones in DicomObject - use GATs for the attribute value, item and pixel data types - reimplement DicomObject
Configuration menu - View commit details
-
Copy full SHA for b3d59d7 - Browse repository at this point
Copy the full SHA b3d59d7View commit details -
[object] Extend DicomObject a bit more
- provide access to items and pixel data fragments - require DicomAttributeValue to impl DicomValueType - add a few tests
Configuration menu - View commit details
-
Copy full SHA for 5c49846 - Browse repository at this point
Copy the full SHA 5c49846View commit details -
[object] Rearrange DicomAttribute
- rename from DicomAttributeValue - add `to_i32` and `to_u16`
Configuration menu - View commit details
-
Copy full SHA for 4c9b68d - Browse repository at this point
Copy the full SHA 4c9b68dView commit details -
[object] Remove DicomObject::meta
- instead, meta attributes can be retrieved like any other attribute
Configuration menu - View commit details
-
Copy full SHA for 598e895 - Browse repository at this point
Copy the full SHA 598e895View commit details -
[object] Reiterate on DicomObject
- replace `to_dicom_value` with `to_primitive_value` - simplifies implementations and requires consumers to depend on other methods when working with sequences - remove method `meta` - treat meta information attributes like any other attribute, retrievable through the same methods - [core] add either crate - impl many DICOM traits to `either::Either` - implement DicomObject for FileMetaTable - reimplement DICOM traits for FileDicomObject so that users can retrieve either meta info or main data set info
Configuration menu - View commit details
-
Copy full SHA for 121ad5f - Browse repository at this point
Copy the full SHA 121ad5fView commit details -
[core] Tweak Value::shallow_clone
- elide lifetime - fix formatting of doc comments
Configuration menu - View commit details
-
Copy full SHA for 955d2a6 - Browse repository at this point
Copy the full SHA 955d2a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9578a1 - Browse repository at this point
Copy the full SHA d9578a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e044a47 - Browse repository at this point
Copy the full SHA e044a47View commit details