Skip to content
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

fix order of mppx and mppy in Phillips parser #81

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

kaczmarj
Copy link
Contributor

This pull request fixes a bug introduced in #80 , where the order of MPPX and MPPY are reversed.

According to the DICOM spec, the first value is row mpp and second is column mpp.

Physical distance in the imaging target (patient, specimen, or phantom) between the centers of each pixel, specified by a numeric pair - adjacent row spacing (delimiter) adjacent column spacing in mm. See Section 10.7.1.3 for further explanation of the value order.

source: https://dicom.innolitics.com/ciods/vl-whole-slide-microscopy-image/vl-whole-slide-microscopy-image-multi-frame-functional-groups/52009230/00289110/00280030

Related to #80 (review)

cc: @erikogabrielsson

According to the DICOM spec, the first value is row mpp and second is column mpp.

> Physical distance in the imaging target (patient, specimen, or phantom) between the centers of each pixel, specified by a numeric pair - adjacent row spacing (delimiter) adjacent column spacing in mm. See Section 10.7.1.3 for further explanation of the value order.

source: https://dicom.innolitics.com/ciods/vl-whole-slide-microscopy-image/vl-whole-slide-microscopy-image-multi-frame-functional-groups/52009230/00289110/00280030

Related to Bayer-Group#80 (review)
@kaczmarj kaczmarj requested a review from ap-- as a code owner November 30, 2023 19:08
@ap-- ap-- merged commit c7fe94a into Bayer-Group:main Nov 30, 2023
9 checks passed
@ap--
Copy link
Collaborator

ap-- commented Nov 30, 2023

Thank you for the PR @kaczmarj ❤️

@kaczmarj kaczmarj deleted the patch-1 branch November 30, 2023 20:38
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.

2 participants