-
Notifications
You must be signed in to change notification settings - Fork 22
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
ITK's function image_view_from_array produces 4D image with array of >10*9 inputs. #100
Comments
If you replace last line by |
No, same story. The DimSize of the image is then 10 10 3 1660136737. Different but still too big |
When I try to acces the first dimension of the vector_itk object (
While the vector_of_images is a regular numpy nd.array of [10,10,10,3], so the itk.image_view_from_array function is somehow increasing the DimSize of the itkImageF4 object. |
This will be addressed with this PR: InsightSoftwareConsortium/ITK#2287 |
Should be addressed with the update to |
This is the cause for the memory error in PR #99
The following script returns an image with DimSize = 10 10 3 2074148458.
While it should return an image with DimSize = 10 10 10 3.
Or did I make a mistake here?
Note: Making a 3D image from 3 2D images does work this way.
The text was updated successfully, but these errors were encountered: