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

Updated the png converter operator following changes to Image ndarray index order. #265

Merged
merged 1 commit into from
Feb 12, 2022

Conversation

MMelQin
Copy link
Collaborator

@MMelQin MMelQin commented Feb 11, 2022

The Image object that is created by the DICOM to Image converter now contains a numpy array with index order of DHW, the same way as ITK does. So, the depth (slicing along this axis for the original DICOM slice) is now the first dim, and the indexing needs to change accordingly.

Signed-off-by: mmelqin mingmelvinq@nvidia.com

… index order.

Signed-off-by: mmelqin <mingmelvinq@nvidia.com>
@MMelQin MMelQin added the bug Something isn't working label Feb 11, 2022
@MMelQin MMelQin self-assigned this Feb 11, 2022
@MMelQin
Copy link
Collaborator Author

MMelQin commented Feb 12, 2022

Thanks @mocsharp for the review. The change had also been tested with its built-in test method in dev env.

@MMelQin MMelQin merged commit 0f1cb52 into main Feb 12, 2022
@MMelQin MMelQin mentioned this pull request Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants