-
-
Notifications
You must be signed in to change notification settings - Fork 668
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
Support multi-component images in image_from_vtk_image function #4142
Support multi-component images in image_from_vtk_image function #4142
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can a test please be added?
This is heavily dependent on a fix in ITK: InsightSoftwareConsortium/ITK#4142
This is heavily dependent on a fix in ITK: InsightSoftwareConsortium/ITK#4142
e022431
to
77d4478
Compare
…rray Bump itk-ultrasound version number to include InsightSoftwareConsortium/ITK#4142
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯 thank you @dzenanz !
dims = dims[:-1] # 2D, not 3D | ||
dims.reverse() | ||
if is_vector: | ||
dims.append(number_of_components) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dims.append(number_of_components) | |
dims.append(number_of_components) |
I discovered this while working on Slicer/Slicer#7094.
PR Checklist