Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@adrew0809
Copy link

We should offset into data by integer multiple of the slice size, but _distance_position can be a non-integer
due to arithmetic precision in the calculation when ordering by image_position_patient. This led to misaligned volume slices. The simple fix ensures we multiply the slice size by an integer.

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.

1 participant