-
Notifications
You must be signed in to change notification settings - Fork 53
ENH: return sorted file list when reading DICOM series #584
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
ENH: return sorted file list when reading DICOM series #584
Conversation
@thewtex @floryst @sankhesh |
Hi @jadh4v thanks for working on this! Why not add these as as |
a28eba1
to
db75d9d
Compare
I have added the returned ordered list of files as metadata to the output Image object rather than returning it as additional output for |
src/io/internal/pipelines/image/ReadDICOM/ReadImageDICOMFileSeries.cxx
Outdated
Show resolved
Hide resolved
The functions readImageDICOMFileSeries and readImageDICOMArrayBufferSeries have an additional side effect that it sorts / orders the files (particularly DICOM files) based on a pre-defined logic in gdcm. However, this information is not related to the caller in any form. Add Array<string> as the ordered list of filenames as additional output.
db75d9d
to
59c2b62
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! @thewtex if you are good with this, we can merge.
revert(#584): undo commit with invalid message
🎉 This PR is included in version 1.0.0-b.16 🎉 The release is available on: Your semantic-release bot 📦🚀 |
The functions
readImageDICOMFileSeries
andreadImageDICOMArrayBufferSeries
have an additional side effect that it sorts / orders the files
(particularly DICOM files) based on a pre-defined logic in
gdcm
.However, this information is not relayed to the caller in any form.
Add
Array<string>
as the ordered list of filenames as additional output.Addresses: #576