Bugfixes in DCMTK#1179
Bugfixes in DCMTK#1179dzenanz merged 3 commits intoInsightSoftwareConsortium:masterfrom maekclena:bug_DCMTK
Conversation
|
I remember some discussions about this, e.g. #112 and #315. Were you aware of it @maekclena? |
|
No, I did not know. It seems like the fallback behavior was mistakenly removed in #243. |
I don't think it was mistakenly removed. My recollection is that it was purposefully removed because using SliceThinkness was determined to be the wrong approach. If 0018, 0088 is not present, then the correct behavior is to explicitly compute the distance between slices as described in #112 (review) @malaterre is an expert in DICOM conformance. |
hjmjohnson
left a comment
There was a problem hiding this comment.
Earlier discussions state that using 0018,0050 is a dangerous and incorrect way of determining z-spacing. This code was purposefully removed previously.
|
Please split this into two PRs. First commit is non-contentious, and can be merged immediately. That will allow reviews for the second commit independently. |
Ref: |
dzenanz
left a comment
There was a problem hiding this comment.
The contentious changes have been removed. And disabling the failing test is reasonable.
dzenanz
left a comment
There was a problem hiding this comment.
I think we should squash when merging.
The first commit fixes #1125 and removes an outdated comment.
The second commit adds a metadata read for spacing (according to already existing comments in the code) to fix failing test
itkDCMTKImageIOMultiFrameImageTest.PR Checklist