Skip to content

BUG: The Z spacing was set using thickness#243

Merged
hjmjohnson merged 1 commit intoInsightSoftwareConsortium:masterfrom
dzenanz:pr/112
Nov 30, 2018
Merged

BUG: The Z spacing was set using thickness#243
hjmjohnson merged 1 commit intoInsightSoftwareConsortium:masterfrom
dzenanz:pr/112

Conversation

@dzenanz
Copy link
Member

@dzenanz dzenanz commented Nov 29, 2018

This addresses https://issues.itk.org/jira/browse/ITK-3527

According Dicom standard (DICOM PS3.6 2016b - Data Dictionary)
(0028, 0030) indicates physical X,Y spacing inside a slice;
(0018, 0088) indicates physical Z spacing between slices;
which above are also consistent with Dcom2iix software.

In current code, the zSpace is get from (0x0018,0x0050) which
actually is the thickness from which the signal is created,
not the separation of signal samplings.

This patch set resolves the problem by updating the Z get
spacing method by using (0018, 0088) when it is available.

Supersedes #112.

This addresses https://issues.itk.org/jira/browse/ITK-3527

According Dicom standard (DICOM PS3.6 2016b - Data Dictionary)
(0028, 0030) indicates physical X,Y spacing inside a slice;
(0018, 0088) indicates physical Z spacing between slices;
which above are also consistent with Dcom2iix software.

In current code, the zSpace is get from (0x0018,0x0050) which
actually is the thickness from which the signal is created,
not the separation of signal samplings.

This patch set resolves the problem by updating the Z get
spacing method by using (0018, 0088) when it is available.

Change-Id: I1111c55dd9e15444411e31bd6f2f1e68b7cf7618
Copy link
Member

@hjmjohnson hjmjohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dzenanz

@hjmjohnson
Copy link
Member

@malaterre This is a quick patch, and it would be great to get your opinion regarding implementing your recommended (quick-fix) solution.

@hjmjohnson hjmjohnson merged commit 9467d94 into InsightSoftwareConsortium:master Nov 30, 2018
@dzenanz dzenanz deleted the pr/112 branch December 4, 2018 16:22
@maekclena maekclena mentioned this pull request Aug 20, 2019
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants