Conversation
2c03462 to
cd05376
Compare
agirault
left a comment
There was a problem hiding this comment.
Wow, cool work. A couple of questions and suggestions for naming.
|
We have a naming issue at hand. For identifying various aspects of the hierarchy, we previously had:
Since we now have distinct datasets coming out of a single series, we need a new UID name. Heer are suome suggestions:
Which one do you prefer? @agirault |
|
The PR itself is called "multi-volume series", so I think |
|
Here's a other idea: imageStackUID, or stackUID. How does that sound? I think I would go with volumeUID since I think I use datasetID somewhere else...
|
|
I think |
cd05376 to
ecde06a
Compare
|
Before this gets approved/merged, I will submit a PR to this branch containing a refactor from operating on series to operating on volumes, since the whole premise of this PR is to support handling multiple volumes within a single series. I'm separating those changes into another PR because the changes are extensive and I want to review that separately. |
This adds support for processing a series that contains multiple volumes, distinguishable by their orientation. Due to potential errors in floating point, each series slice is binned according to some tolerance on the orientation. The orientation-based restriction is performed after ITK-GDCM performs its restrictions. We do not use AddSeriesRestriction because it does not handle the case where two orientations are almost equal, but are off by some small epsilon. To correctly identify the volumes within a single series, we no longer can rely on SeriesInstanceUID. Instead, we use our custom-generated "series UID" to identify unique objects. In this case, each unique object corresponds to a volume.
In my GCC version (e.g. 7.5.0), the filesystem header is under "experimental/filesystem". The long-term solution would be to have CMake inject a macro variable indicating if we should draw from <filesystem> or <experimental/filesystem>.
ecde06a to
142ac6e
Compare
Because a series can have multiple volumes, it is more ideal to refer to volumes rather than series when displaying individual images.
041b7c3 to
c84d845
Compare
…series Dicom multi volume series
This adds some handling for series containing multiple volumes.
This PR is marked as a draft, as it depends on the oriented-views branch for correct viewing of the datasets.
FYI @agirault