More robust resampling and axes manipulation#228
Merged
Keyn34 merged 1 commit intoENHANCE-PET:mainfrom Feb 25, 2026
Merged
Conversation
pyproject.toml - Bump version to 3.1.6 from 3.1.5 moosez.py - reversing tuples with [::-1] was replaced by the newly implemented function reverse_axes() from image_processing.py image_processing.py - implemented reverse_axes() to reverse the sequence of elements in tuples/axes, to quickly switch between numpy and SimpleITK order - resample_image_SimpleITK_DASK_array() is now more robust to axis order. Previously, the output spacing and sizes were computed naively with isometric model spacings in mind. This has been corrected now. - gave axis dependent variables like spacings and sizes more telling names by and _xyz and _yxz suffix. - adjusted type hints
|
@Keyn34 is attempting to deploy a commit to the lalithshiyam's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pyproject.toml
moosez.py
image_processing.py
reverse_axes()to reverse the sequence of elements in tuples/axes, to quickly switch between numpy andSimpleITKorderresample_image_SimpleITK_DASK_array()is now more robust to axis order. Previously, the output spacing and sizes were computed naively with isometric model spacings in mind. This has been corrected now.