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

faster laplace solver through image pyramids #85

Closed
jordandekraker opened this issue Jul 9, 2021 · 2 comments
Closed

faster laplace solver through image pyramids #85

jordandekraker opened this issue Jul 9, 2021 · 2 comments

Comments

@jordandekraker
Copy link
Collaborator

@akhanf has some code to do this already, check out his old nomatlab (I think?) branch

This is really only an issue when running with no initialization (ie. skip_template_shape_injection)

@akhanf
Copy link
Member

akhanf commented Jul 9, 2021

I located where the snakefile with multi-res laplace is, it is actually in master already here:

https://github.com/khanlab/hippunfold/blob/master/hippunfold/resources/tpl-upenn/Snakefile

There is a rule to downsample coords:

Run laplace without initialization at the lowest resolution:

Then upsample coords:

and run Laplace with init coords:

rule laplace_init_lores:

The number of levels is defined by setting the wildcard constraints in the level wildcard, e.g. right now lowest res is level 2 (downsampled by 50% twice; level 1 is downsampled once, level 0 is original resolution)..

@akhanf
Copy link
Member

akhanf commented Jul 14, 2021

speed-up by fast marching initialization #88 obviates the need for this right now, so closing this issue

@akhanf akhanf closed this as completed Jul 14, 2021
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

No branches or pull requests

2 participants