Skip to content

Commit

Permalink
Merge pull request #215 from nipreps/enh/registration-params
Browse files Browse the repository at this point in the history
ENH: Fine-tune the registration parameters in coeff2epi workflow
  • Loading branch information
oesteban authored May 15, 2021
2 parents 4c8ed36 + 9d8f6bd commit bc3555a
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 15 deletions.
2 changes: 2 additions & 0 deletions min-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
nibabel==3.0.1
nipype==1.5.1
niworkflows==1.4.0rc5
nitransforms==20.0.0rc4
numpy
pybids==0.11.1
scikit-image==0.18
scipy==1.6.1
svgutils!=0.3.2
templateflow==0.6
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
nibabel>=3.0.1
nipype<2.0,>=1.5.1
niworkflows>=1.4.0rc5
nitransforms>=20.0.0rc4
numpy
pybids>=0.11.1
scikit-image>=0.18
scipy~=1.6.1
svgutils!=0.3.2
templateflow>=0.6
20 changes: 10 additions & 10 deletions sdcflows/data/fmap-any_registration.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"collapse_output_transforms": true,
"convergence_threshold": [ 1e-07, 1e-08 ],
"convergence_window_size": [ 200, 100 ],
"convergence_window_size": [ 5, 3 ],
"dimension": 3,
"float": true,
"initial_moving_transform_com": 2,
"interpolation": "LanczosWindowedSinc",
"metric": [ "Mattes", "Mattes" ],
"metric_weight": [ 1.0, 1.0 ],
"number_of_iterations": [ [ 500 ], [ 200 ] ],
"radius_or_number_of_bins": [ 64, 64 ],
"sampling_percentage": [ 0.5, 0.5 ],
"number_of_iterations": [ [ 50 ], [ 20 ] ],
"radius_or_number_of_bins": [ 32, 32 ],
"sampling_percentage": [ 0.25, 0.5 ],
"sampling_strategy": [ "Random", "Random" ],
"shrink_factors": [ [ 2 ], [ 1 ] ],
"sigma_units": [ "mm", "mm" ],
"smoothing_sigmas": [ [ 8.0 ], [ 2.0 ] ],
"transform_parameters": [ [ 0.05 ], [ 0.01 ] ],
"transforms": [ "Translation", "Rigid" ],
"use_estimate_learning_rate_once": [ true, true ],
"transform_parameters": [ [ 0.1 ], [ 0.1 ] ],
"transforms": [ "Rigid", "Rigid" ],
"use_estimate_learning_rate_once": [ true, false ],
"use_histogram_matching": [ true, true ],
"winsorize_lower_quantile": 0.005,
"winsorize_upper_quantile": 0.998
"winsorize_lower_quantile": 0.001,
"winsorize_upper_quantile": 0.999
}
10 changes: 5 additions & 5 deletions sdcflows/data/fmap-any_registration_testing.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"collapse_output_transforms": true,
"convergence_threshold": [ 1e-07, 1e-08 ],
"convergence_window_size": [ 20, 10 ],
"convergence_window_size": [ 5, 3 ],
"dimension": 3,
"float": true,
"initial_moving_transform_com": 2,
"interpolation": "LanczosWindowedSinc",
"metric": [ "Mattes", "Mattes" ],
"metric_weight": [ 1.0, 1.0 ],
"number_of_iterations": [ [ 500 ], [ 100 ] ],
"radius_or_number_of_bins": [ 64, 64 ],
"sampling_percentage": [ 1.0, 1.0 ],
"number_of_iterations": [ [ 50 ], [ 10 ] ],
"radius_or_number_of_bins": [ 32, 32 ],
"sampling_percentage": [ 0.25, 0.5 ],
"sampling_strategy": [ "Regular", "Regular" ],
"shrink_factors": [ [ 2 ], [ 1 ] ],
"sigma_units": [ "mm", "mm" ],
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ install_requires =
nibabel >=3.0.1
nipype >=1.5.1,<2.0
niworkflows >= 1.4.0rc5
nitransforms >= 20.0.0rc4
numpy
pybids >= 0.11.1
scikit-image >= 0.18
Expand Down

0 comments on commit bc3555a

Please sign in to comment.