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

ENH: Build with 4D elastix support #99

Closed
wants to merge 5 commits into from

Conversation

ViktorvdValk
Copy link
Collaborator

Elastix also needed a flag to support 4D floats, which is set in this PR.
However running a 4D registration now, results in ITK giving a MemoryAllocationError, while there's 100gb free space on my drive for a 4D registration of 4 100x100x100 images. This should be enough right?
Any suggestions for a workaround?

@dzenanz
Copy link
Member

dzenanz commented Feb 2, 2021

Free disk size does not play a role in memory allocation (unless you have automatically-increasing swap file). You should look at free memory. Also, are images 100^3, 100^4, 1000^3?

@ViktorvdValk
Copy link
Collaborator Author

I tried to register 4 images of 100x100x100 pixels so 100^3 in a groupwise registration, this involves calling itkelastix/elastix with a 4x100x100x100 pixel image as both fixed and moving image.

@stefanklein
Copy link
Collaborator

stefanklein commented Feb 3, 2021 via email

@ViktorvdValk
Copy link
Collaborator Author

16gb, and even registration of 3 10x10x10 pixel images gives the MemoryAllocationError

@thewtex
Copy link
Member

thewtex commented Feb 20, 2021

These changes should now be in master.

@thewtex thewtex closed this Feb 20, 2021
@ViktorvdValk ViktorvdValk deleted the 4D_image_support_elastix branch February 24, 2021 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants