-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enh(BSplineApprox): integrate downsampling when the input is high-res
Adds a new input ``zooms_min`` that will trigger the downsampling of the input field map when it comes with a very high resolution (typically this is the case for SDC SyN). Although the input is resampled, the output field is interpolated at the original resolution for debugging purposes. Downsampling dramatically speeds up approximation. Alternatively, a solution (for the SDC SyN) would be to calculate a heavily dilated mask of the brain, and use it to limit the number of voxels that are fit in regression.
- Loading branch information
Showing
1 changed file
with
93 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters