imi-bigpicture / wsidicom

Python package for reading DICOM WSI file sets.
Apache License 2.0
30 stars 5 forks source link

Allow loading multiple series with DICOMweb #122

Closed psavery closed 8 months ago

psavery commented 8 months ago

WsiDicom.open_web() was modified to be able to either take a single series uid (as before) or a list of series uids. If a list of series uids is passed, their instances are all loaded together. This can be useful for cases where, for instance, different optical paths are located in different series.

This also loosens the UID matching to only check the frame of references.

This also adds TotalPixelMatrixOriginSequence matching when comparing datasets.

Fixes: #118

@erikogabrielsson Let me know what you think.

erikogabrielsson commented 8 months ago

Nice work. The series_uids to list handling prevents the integration tests to pass.