Skip to content

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 requested a review from mocsharp February 11, 2022 00:58
@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
@MMelQin MMelQin deleted the mqin/fix_indexing branch November 5, 2025 21:37
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.

3 participants