niwrap-freesurfer 0.5.1__py3-none-any.whl → 0.5.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of niwrap-freesurfer might be problematic. Click here for more details.
- niwrap_freesurfer/freesurfer/__init__.py +0 -11
- niwrap_freesurfer/freesurfer/annot2std.py +32 -1
- niwrap_freesurfer/freesurfer/aparc2feat.py +19 -1
- niwrap_freesurfer/freesurfer/bbregister.py +143 -4
- niwrap_freesurfer/freesurfer/bmedits2surf.py +2 -2
- niwrap_freesurfer/freesurfer/compute_interrater_variability_csh.py +20 -2
- niwrap_freesurfer/freesurfer/compute_label_volumes_csh.py +17 -2
- niwrap_freesurfer/freesurfer/conf2hires.py +59 -1
- niwrap_freesurfer/freesurfer/connected_components.py +34 -2
- niwrap_freesurfer/freesurfer/dcmdir_info_mgh.py +3 -2
- niwrap_freesurfer/freesurfer/dcmdjpeg_fs.py +2 -2
- niwrap_freesurfer/freesurfer/dcmdrle_fs.py +2 -2
- niwrap_freesurfer/freesurfer/dicom_rename.py +21 -2
- niwrap_freesurfer/freesurfer/dmri_bset.py +14 -2
- niwrap_freesurfer/freesurfer/dmri_forrest.py +10 -1
- niwrap_freesurfer/freesurfer/dmri_mergepaths.py +2 -2
- niwrap_freesurfer/freesurfer/dmri_pathstats.py +2 -2
- niwrap_freesurfer/freesurfer/dmri_stats_ac.py +1 -3
- niwrap_freesurfer/freesurfer/exvivo_hemi_proc.py +10 -1
- niwrap_freesurfer/freesurfer/fiducials_calibration.py +15 -1
- niwrap_freesurfer/freesurfer/fiducials_correction.py +10 -3
- niwrap_freesurfer/freesurfer/fix_subject_corrected_rh.py +3 -2
- niwrap_freesurfer/freesurfer/fix_subject_rh.py +3 -2
- niwrap_freesurfer/freesurfer/fs_check_version.py +19 -1
- niwrap_freesurfer/freesurfer/fs_spmreg_glnxa64.py +19 -4
- niwrap_freesurfer/freesurfer/fs_temp_file.py +36 -1
- niwrap_freesurfer/freesurfer/fs_update.py +19 -1
- niwrap_freesurfer/freesurfer/fsl_sub_mgh.py +1 -2
- niwrap_freesurfer/freesurfer/fsr_import.py +55 -5
- niwrap_freesurfer/freesurfer/fvcompare.py +10 -1
- niwrap_freesurfer/freesurfer/gca_apply.py +3 -2
- niwrap_freesurfer/freesurfer/gdcmconv_fs.py +2 -2
- niwrap_freesurfer/freesurfer/get_label_thickness.py +1 -2
- niwrap_freesurfer/freesurfer/groupstats.py +97 -1
- niwrap_freesurfer/freesurfer/groupstatsdiff.py +4 -4
- niwrap_freesurfer/freesurfer/hiam_make_surfaces.py +1 -2
- niwrap_freesurfer/freesurfer/histo_synthesize.py +1 -2
- niwrap_freesurfer/freesurfer/inflate_subject_lh.py +3 -2
- niwrap_freesurfer/freesurfer/inflate_subject_new_lh.py +3 -3
- niwrap_freesurfer/freesurfer/inflate_subject_new_rh.py +3 -2
- niwrap_freesurfer/freesurfer/inflate_subject_rh.py +3 -2
- niwrap_freesurfer/freesurfer/inflate_subject_sc.py +28 -3
- niwrap_freesurfer/freesurfer/irepifitvol_glnx64.py +2 -2
- niwrap_freesurfer/freesurfer/is_surface.py +3 -2
- niwrap_freesurfer/freesurfer/isolate_labels_csh.py +17 -2
- niwrap_freesurfer/freesurfer/label_subject_flash.py +2 -2
- niwrap_freesurfer/freesurfer/label_subject_mixed.py +2 -2
- niwrap_freesurfer/freesurfer/listsubj.py +82 -2
- niwrap_freesurfer/freesurfer/long_stats_combine.py +1 -2
- niwrap_freesurfer/freesurfer/long_stats_tps.py +7 -7
- niwrap_freesurfer/freesurfer/long_submit_jobs.py +1 -5
- niwrap_freesurfer/freesurfer/longmc.py +10 -1
- niwrap_freesurfer/freesurfer/lta_convert.py +157 -1
- niwrap_freesurfer/freesurfer/make_average_volume.py +19 -1
- niwrap_freesurfer/freesurfer/make_folding_atlas.py +10 -1
- niwrap_freesurfer/freesurfer/map_all_labels_lh.py +11 -3
- niwrap_freesurfer/freesurfer/map_central_sulcus.py +2 -2
- niwrap_freesurfer/freesurfer/merge_stats_tables.py +58 -35
- niwrap_freesurfer/freesurfer/mideface.py +121 -14
- niwrap_freesurfer/freesurfer/mni152reg.py +2 -2
- niwrap_freesurfer/freesurfer/morph_only_subject_lh.py +3 -2
- niwrap_freesurfer/freesurfer/morph_only_subject_rh.py +3 -2
- niwrap_freesurfer/freesurfer/morph_rgb_lh.py +3 -2
- niwrap_freesurfer/freesurfer/morph_rgb_rh.py +3 -2
- niwrap_freesurfer/freesurfer/morph_subject_lh.py +3 -2
- niwrap_freesurfer/freesurfer/morph_subject_rh.py +3 -2
- niwrap_freesurfer/freesurfer/morph_tables_lh.py +3 -2
- niwrap_freesurfer/freesurfer/morph_tables_rh.py +3 -2
- niwrap_freesurfer/freesurfer/mri_aparc2aseg.py +10 -1
- niwrap_freesurfer/freesurfer/mri_apply_bias.py +1 -2
- niwrap_freesurfer/freesurfer/mri_average.py +10 -1
- niwrap_freesurfer/freesurfer/mri_brain_volume.py +23 -2
- niwrap_freesurfer/freesurfer/mri_ca_label.py +603 -2
- niwrap_freesurfer/freesurfer/mri_ca_train.py +10 -1
- niwrap_freesurfer/freesurfer/mri_convert.py +188 -2
- niwrap_freesurfer/freesurfer/mri_fuse_segmentations.py +10 -3
- niwrap_freesurfer/freesurfer/mri_gcab_train.py +15 -1
- niwrap_freesurfer/freesurfer/mri_gdfglm.py +13 -1
- niwrap_freesurfer/freesurfer/mri_gtmpvc.py +19 -1
- niwrap_freesurfer/freesurfer/mri_hausdorff_dist.py +1 -2
- niwrap_freesurfer/freesurfer/mri_head.py +19 -1
- niwrap_freesurfer/freesurfer/mri_jacobian.py +10 -1
- niwrap_freesurfer/freesurfer/mri_nl_align.py +27 -1
- niwrap_freesurfer/freesurfer/mri_relabel_nonwm_hypos.py +3 -3
- niwrap_freesurfer/freesurfer/mri_reorient_lr_csh.py +2 -2
- niwrap_freesurfer/freesurfer/mri_seg_diff.py +14 -1
- niwrap_freesurfer/freesurfer/mri_twoclass.py +1 -2
- niwrap_freesurfer/freesurfer/mri_validate_skull_stripped.py +2 -2
- niwrap_freesurfer/freesurfer/mri_warp_convert.py +131 -1
- niwrap_freesurfer/freesurfer/mri_z2p.py +37 -1
- niwrap_freesurfer/freesurfer/mris_add_template.py +11 -1
- niwrap_freesurfer/freesurfer/mris_apply_reg.py +1 -2
- niwrap_freesurfer/freesurfer/mris_curvature_stats.py +419 -7
- niwrap_freesurfer/freesurfer/mris_diff.py +255 -1
- niwrap_freesurfer/freesurfer/mris_distance_map.py +1 -2
- niwrap_freesurfer/freesurfer/mris_errors.py +1 -2
- niwrap_freesurfer/freesurfer/mris_info.py +45 -46
- niwrap_freesurfer/freesurfer/mris_label_calc.py +14 -1
- niwrap_freesurfer/freesurfer/mris_map_cuts.py +1 -2
- niwrap_freesurfer/freesurfer/mris_nudge.py +1 -2
- niwrap_freesurfer/freesurfer/mris_place_surface.py +1 -2
- niwrap_freesurfer/freesurfer/mris_preproc.py +16 -2
- niwrap_freesurfer/freesurfer/mris_spherical_average.py +93 -8
- niwrap_freesurfer/freesurfer/mris_thickness_diff.py +1 -5
- niwrap_freesurfer/freesurfer/mris_volmask_vtk.py +2 -2
- niwrap_freesurfer/freesurfer/pctsurfcon.py +2 -2
- niwrap_freesurfer/freesurfer/plot_structure_stats_tcl.py +2 -2
- niwrap_freesurfer/freesurfer/post_recon_all.py +39 -2
- niwrap_freesurfer/freesurfer/predict_v1_sh.py +11 -2
- niwrap_freesurfer/freesurfer/print_unique_labels_csh.py +34 -3
- niwrap_freesurfer/freesurfer/rbbr.py +37 -1
- niwrap_freesurfer/freesurfer/rca_base_init.py +3 -2
- niwrap_freesurfer/freesurfer/rca_config.py +3 -2
- niwrap_freesurfer/freesurfer/rca_config2csh.py +3 -2
- niwrap_freesurfer/freesurfer/recon_all.py +75 -1
- niwrap_freesurfer/freesurfer/register_elderly_subject.py +2 -2
- niwrap_freesurfer/freesurfer/reinflate_subject_lh.py +3 -2
- niwrap_freesurfer/freesurfer/reinflate_subject_rh.py +3 -2
- niwrap_freesurfer/freesurfer/renormalize_subject_keep_editting.py +13 -1
- niwrap_freesurfer/freesurfer/rtview.py +34 -1
- niwrap_freesurfer/freesurfer/run_qdec_glm.py +3 -2
- niwrap_freesurfer/freesurfer/samseg.py +14 -1
- niwrap_freesurfer/freesurfer/samseg_long.py +17 -8
- niwrap_freesurfer/freesurfer/samsegmesh2surf.py +5 -7
- niwrap_freesurfer/freesurfer/seg2filled.py +4 -4
- niwrap_freesurfer/freesurfer/segment_subject.py +2 -2
- niwrap_freesurfer/freesurfer/segment_subject_old_skull_strip.py +4 -4
- niwrap_freesurfer/freesurfer/segment_subject_sc.py +4 -4
- niwrap_freesurfer/freesurfer/segment_subject_t2_auto_estimate_alveus_ml.py +11 -1
- niwrap_freesurfer/freesurfer/segpons.py +2 -2
- niwrap_freesurfer/freesurfer/sphere_subject_lh.py +3 -2
- niwrap_freesurfer/freesurfer/sphere_subject_rh.py +3 -2
- niwrap_freesurfer/freesurfer/talairach.py +4 -4
- niwrap_freesurfer/freesurfer/trac_all.py +283 -1
- niwrap_freesurfer/freesurfer/train_gcs_atlas.py +19 -1
- niwrap_freesurfer/freesurfer/update_needed.py +13 -2
- niwrap_freesurfer/freesurfer/vertexvol.py +19 -1
- niwrap_freesurfer/freesurfer/vol2subfield.py +72 -1
- niwrap_freesurfer/freesurfer/wmsaseg.py +2 -2
- {niwrap_freesurfer-0.5.1.dist-info → niwrap_freesurfer-0.5.3.dist-info}/METADATA +1 -1
- {niwrap_freesurfer-0.5.1.dist-info → niwrap_freesurfer-0.5.3.dist-info}/RECORD +142 -153
- niwrap_freesurfer/freesurfer/bet_fsl.py +0 -441
- niwrap_freesurfer/freesurfer/epidewarp_fsl.py +0 -439
- niwrap_freesurfer/freesurfer/flirt_fsl.py +0 -604
- niwrap_freesurfer/freesurfer/fscalc_fsl.py +0 -196
- niwrap_freesurfer/freesurfer/fsfirst_fsl.py +0 -166
- niwrap_freesurfer/freesurfer/fslmaths_fsl.py +0 -196
- niwrap_freesurfer/freesurfer/fslorient_fsl.py +0 -207
- niwrap_freesurfer/freesurfer/fslswapdim_fsl.py +0 -216
- niwrap_freesurfer/freesurfer/fspython.py +0 -175
- niwrap_freesurfer/freesurfer/mri_motion_correct_fsl.py +0 -185
- niwrap_freesurfer/freesurfer/slicetimer_fsl.py +0 -291
- {niwrap_freesurfer-0.5.1.dist-info → niwrap_freesurfer-0.5.3.dist-info}/WHEEL +0 -0
|
@@ -6,7 +6,7 @@ import pathlib
|
|
|
6
6
|
from styxdefs import *
|
|
7
7
|
|
|
8
8
|
MRI_HEAD_METADATA = Metadata(
|
|
9
|
-
id="
|
|
9
|
+
id="f71c8c4f81d133948a66cd2d08a048fd40c58c30.boutiques",
|
|
10
10
|
name="mri_head",
|
|
11
11
|
package="freesurfer",
|
|
12
12
|
container_image_tag="freesurfer/freesurfer:7.4.1",
|
|
@@ -18,6 +18,8 @@ MriHeadParameters = typing.TypedDict('MriHeadParameters', {
|
|
|
18
18
|
"identify": bool,
|
|
19
19
|
"read": bool,
|
|
20
20
|
"filename": typing.NotRequired[str | None],
|
|
21
|
+
"help": bool,
|
|
22
|
+
"usage": bool,
|
|
21
23
|
"question_mark_help": bool,
|
|
22
24
|
})
|
|
23
25
|
|
|
@@ -65,6 +67,8 @@ def mri_head_params(
|
|
|
65
67
|
identify: bool = False,
|
|
66
68
|
read: bool = False,
|
|
67
69
|
filename: str | None = None,
|
|
70
|
+
help_: bool = False,
|
|
71
|
+
usage: bool = False,
|
|
68
72
|
question_mark_help: bool = False,
|
|
69
73
|
) -> MriHeadParameters:
|
|
70
74
|
"""
|
|
@@ -74,6 +78,8 @@ def mri_head_params(
|
|
|
74
78
|
identify: Identify the MRI file.
|
|
75
79
|
read: Read the MRI file.
|
|
76
80
|
filename: Filename for identification or reading.
|
|
81
|
+
help_: Display help information.
|
|
82
|
+
usage: Display usage information.
|
|
77
83
|
question_mark_help: Display help or usage information.
|
|
78
84
|
Returns:
|
|
79
85
|
Parameter dictionary
|
|
@@ -82,6 +88,8 @@ def mri_head_params(
|
|
|
82
88
|
"__STYXTYPE__": "mri_head",
|
|
83
89
|
"identify": identify,
|
|
84
90
|
"read": read,
|
|
91
|
+
"help": help_,
|
|
92
|
+
"usage": usage,
|
|
85
93
|
"question_mark_help": question_mark_help,
|
|
86
94
|
}
|
|
87
95
|
if filename is not None:
|
|
@@ -110,6 +118,10 @@ def mri_head_cargs(
|
|
|
110
118
|
cargs.append("-read")
|
|
111
119
|
if params.get("filename") is not None:
|
|
112
120
|
cargs.append(params.get("filename"))
|
|
121
|
+
if params.get("help"):
|
|
122
|
+
cargs.append("-h")
|
|
123
|
+
if params.get("usage"):
|
|
124
|
+
cargs.append("-u")
|
|
113
125
|
if params.get("question_mark_help"):
|
|
114
126
|
cargs.append("-?")
|
|
115
127
|
return cargs
|
|
@@ -162,6 +174,8 @@ def mri_head(
|
|
|
162
174
|
identify: bool = False,
|
|
163
175
|
read: bool = False,
|
|
164
176
|
filename: str | None = None,
|
|
177
|
+
help_: bool = False,
|
|
178
|
+
usage: bool = False,
|
|
165
179
|
question_mark_help: bool = False,
|
|
166
180
|
runner: Runner | None = None,
|
|
167
181
|
) -> MriHeadOutputs:
|
|
@@ -176,6 +190,8 @@ def mri_head(
|
|
|
176
190
|
identify: Identify the MRI file.
|
|
177
191
|
read: Read the MRI file.
|
|
178
192
|
filename: Filename for identification or reading.
|
|
193
|
+
help_: Display help information.
|
|
194
|
+
usage: Display usage information.
|
|
179
195
|
question_mark_help: Display help or usage information.
|
|
180
196
|
runner: Command runner.
|
|
181
197
|
Returns:
|
|
@@ -187,6 +203,8 @@ def mri_head(
|
|
|
187
203
|
identify=identify,
|
|
188
204
|
read=read,
|
|
189
205
|
filename=filename,
|
|
206
|
+
help_=help_,
|
|
207
|
+
usage=usage,
|
|
190
208
|
question_mark_help=question_mark_help,
|
|
191
209
|
)
|
|
192
210
|
return mri_head_execute(params, execution)
|
|
@@ -6,7 +6,7 @@ import pathlib
|
|
|
6
6
|
from styxdefs import *
|
|
7
7
|
|
|
8
8
|
MRI_JACOBIAN_METADATA = Metadata(
|
|
9
|
-
id="
|
|
9
|
+
id="92cd12066432758c04574ab139770c5aabee1470.boutiques",
|
|
10
10
|
name="mri_jacobian",
|
|
11
11
|
package="freesurfer",
|
|
12
12
|
container_image_tag="freesurfer/freesurfer:7.4.1",
|
|
@@ -24,6 +24,7 @@ MriJacobianParameters = typing.TypedDict('MriJacobianParameters', {
|
|
|
24
24
|
"smooth_sigma": typing.NotRequired[float | None],
|
|
25
25
|
"zero_mean_log": bool,
|
|
26
26
|
"tm3d": bool,
|
|
27
|
+
"help1": bool,
|
|
27
28
|
"help2": bool,
|
|
28
29
|
"dt": bool,
|
|
29
30
|
"debug_voxel": typing.NotRequired[list[float] | None],
|
|
@@ -83,6 +84,7 @@ def mri_jacobian_params(
|
|
|
83
84
|
smooth_sigma: float | None = None,
|
|
84
85
|
zero_mean_log: bool = False,
|
|
85
86
|
tm3d: bool = False,
|
|
87
|
+
help1: bool = False,
|
|
86
88
|
help2: bool = False,
|
|
87
89
|
dt: bool = False,
|
|
88
90
|
debug_voxel: list[float] | None = None,
|
|
@@ -101,6 +103,7 @@ def mri_jacobian_params(
|
|
|
101
103
|
smooth_sigma: Smoothing Jacobian volume with sigma.
|
|
102
104
|
zero_mean_log: Make log Jacobian zero mean.
|
|
103
105
|
tm3d: The input morph (m3z) originated from tm3d (mri_cvs_register).
|
|
106
|
+
help1: Writing out help.
|
|
104
107
|
help2: Writing out help.
|
|
105
108
|
dt: DT option (description not provided in help text).
|
|
106
109
|
debug_voxel: Debug voxel with specified Gx, Gy, Gz coordinates.
|
|
@@ -118,6 +121,7 @@ def mri_jacobian_params(
|
|
|
118
121
|
"log_jacobian": log_jacobian,
|
|
119
122
|
"zero_mean_log": zero_mean_log,
|
|
120
123
|
"tm3d": tm3d,
|
|
124
|
+
"help1": help1,
|
|
121
125
|
"help2": help2,
|
|
122
126
|
"dt": dt,
|
|
123
127
|
"remove": remove,
|
|
@@ -162,6 +166,8 @@ def mri_jacobian_cargs(
|
|
|
162
166
|
cargs.append("-z")
|
|
163
167
|
if params.get("tm3d"):
|
|
164
168
|
cargs.append("-tm3d")
|
|
169
|
+
if params.get("help1"):
|
|
170
|
+
cargs.append("-?")
|
|
165
171
|
if params.get("help2"):
|
|
166
172
|
cargs.append("-u")
|
|
167
173
|
if params.get("dt"):
|
|
@@ -230,6 +236,7 @@ def mri_jacobian(
|
|
|
230
236
|
smooth_sigma: float | None = None,
|
|
231
237
|
zero_mean_log: bool = False,
|
|
232
238
|
tm3d: bool = False,
|
|
239
|
+
help1: bool = False,
|
|
233
240
|
help2: bool = False,
|
|
234
241
|
dt: bool = False,
|
|
235
242
|
debug_voxel: list[float] | None = None,
|
|
@@ -253,6 +260,7 @@ def mri_jacobian(
|
|
|
253
260
|
smooth_sigma: Smoothing Jacobian volume with sigma.
|
|
254
261
|
zero_mean_log: Make log Jacobian zero mean.
|
|
255
262
|
tm3d: The input morph (m3z) originated from tm3d (mri_cvs_register).
|
|
263
|
+
help1: Writing out help.
|
|
256
264
|
help2: Writing out help.
|
|
257
265
|
dt: DT option (description not provided in help text).
|
|
258
266
|
debug_voxel: Debug voxel with specified Gx, Gy, Gz coordinates.
|
|
@@ -273,6 +281,7 @@ def mri_jacobian(
|
|
|
273
281
|
smooth_sigma=smooth_sigma,
|
|
274
282
|
zero_mean_log=zero_mean_log,
|
|
275
283
|
tm3d=tm3d,
|
|
284
|
+
help1=help1,
|
|
276
285
|
help2=help2,
|
|
277
286
|
dt=dt,
|
|
278
287
|
debug_voxel=debug_voxel,
|
|
@@ -6,7 +6,7 @@ import pathlib
|
|
|
6
6
|
from styxdefs import *
|
|
7
7
|
|
|
8
8
|
MRI_NL_ALIGN_METADATA = Metadata(
|
|
9
|
-
id="
|
|
9
|
+
id="fd12751796479c6b953e5a2ce259ca4890ee3c30.boutiques",
|
|
10
10
|
name="mri_nl_align",
|
|
11
11
|
package="freesurfer",
|
|
12
12
|
container_image_tag="freesurfer/freesurfer:7.4.1",
|
|
@@ -33,11 +33,13 @@ MriNlAlignParameters = typing.TypedDict('MriNlAlignParameters', {
|
|
|
33
33
|
"erode": typing.NotRequired[float | None],
|
|
34
34
|
"match_mean": typing.NotRequired[float | None],
|
|
35
35
|
"intensity": typing.NotRequired[float | None],
|
|
36
|
+
"ll": typing.NotRequired[float | None],
|
|
36
37
|
"noregrid_flag": bool,
|
|
37
38
|
"regrid_flag": bool,
|
|
38
39
|
"view": typing.NotRequired[list[float] | None],
|
|
39
40
|
"levels": typing.NotRequired[float | None],
|
|
40
41
|
"area_smoothness": typing.NotRequired[float | None],
|
|
42
|
+
"asmooth": typing.NotRequired[float | None],
|
|
41
43
|
"area": typing.NotRequired[float | None],
|
|
42
44
|
"tolerance": typing.NotRequired[float | None],
|
|
43
45
|
"sigma": typing.NotRequired[float | None],
|
|
@@ -125,11 +127,13 @@ def mri_nl_align_params(
|
|
|
125
127
|
erode: float | None = None,
|
|
126
128
|
match_mean: float | None = None,
|
|
127
129
|
intensity: float | None = None,
|
|
130
|
+
ll: float | None = None,
|
|
128
131
|
noregrid_flag: bool = False,
|
|
129
132
|
regrid_flag: bool = False,
|
|
130
133
|
view: list[float] | None = None,
|
|
131
134
|
levels: float | None = None,
|
|
132
135
|
area_smoothness: float | None = None,
|
|
136
|
+
asmooth: float | None = None,
|
|
133
137
|
area: float | None = None,
|
|
134
138
|
tolerance: float | None = None,
|
|
135
139
|
sigma: float | None = None,
|
|
@@ -176,11 +180,13 @@ def mri_nl_align_params(
|
|
|
176
180
|
erode: Erode source and target image specified times before morphing.
|
|
177
181
|
match_mean: Control for matching peak of intensity ratio histogram.
|
|
178
182
|
intensity: Set l_log_likelihood to specified value.
|
|
183
|
+
ll: Set l_log_likelihood to specified value.
|
|
179
184
|
noregrid_flag: Disable regridding.
|
|
180
185
|
regrid_flag: Enable regridding.
|
|
181
186
|
view: View voxel coordinates (Gx, Gy, Gz).
|
|
182
187
|
levels: Set levels to specified value.
|
|
183
188
|
area_smoothness: Set l_area_smoothness to specified value.
|
|
189
|
+
asmooth: Set l_area_smoothness to specified value.
|
|
184
190
|
area: Set l_area to specified value.
|
|
185
191
|
tolerance: Set tolerance to specified value.
|
|
186
192
|
sigma: Set sigma to specified value.
|
|
@@ -240,12 +246,16 @@ def mri_nl_align_params(
|
|
|
240
246
|
params["match_mean"] = match_mean
|
|
241
247
|
if intensity is not None:
|
|
242
248
|
params["intensity"] = intensity
|
|
249
|
+
if ll is not None:
|
|
250
|
+
params["ll"] = ll
|
|
243
251
|
if view is not None:
|
|
244
252
|
params["view"] = view
|
|
245
253
|
if levels is not None:
|
|
246
254
|
params["levels"] = levels
|
|
247
255
|
if area_smoothness is not None:
|
|
248
256
|
params["area_smoothness"] = area_smoothness
|
|
257
|
+
if asmooth is not None:
|
|
258
|
+
params["asmooth"] = asmooth
|
|
249
259
|
if area is not None:
|
|
250
260
|
params["area"] = area
|
|
251
261
|
if tolerance is not None:
|
|
@@ -373,6 +383,11 @@ def mri_nl_align_cargs(
|
|
|
373
383
|
"-intensity",
|
|
374
384
|
str(params.get("intensity"))
|
|
375
385
|
])
|
|
386
|
+
if params.get("ll") is not None:
|
|
387
|
+
cargs.extend([
|
|
388
|
+
"-ll",
|
|
389
|
+
str(params.get("ll"))
|
|
390
|
+
])
|
|
376
391
|
if params.get("noregrid_flag"):
|
|
377
392
|
cargs.append("-noregrid")
|
|
378
393
|
if params.get("regrid_flag"):
|
|
@@ -392,6 +407,11 @@ def mri_nl_align_cargs(
|
|
|
392
407
|
"-areasmoothness",
|
|
393
408
|
str(params.get("area_smoothness"))
|
|
394
409
|
])
|
|
410
|
+
if params.get("asmooth") is not None:
|
|
411
|
+
cargs.extend([
|
|
412
|
+
"-asmooth",
|
|
413
|
+
str(params.get("asmooth"))
|
|
414
|
+
])
|
|
395
415
|
if params.get("area") is not None:
|
|
396
416
|
cargs.extend([
|
|
397
417
|
"-area",
|
|
@@ -573,11 +593,13 @@ def mri_nl_align(
|
|
|
573
593
|
erode: float | None = None,
|
|
574
594
|
match_mean: float | None = None,
|
|
575
595
|
intensity: float | None = None,
|
|
596
|
+
ll: float | None = None,
|
|
576
597
|
noregrid_flag: bool = False,
|
|
577
598
|
regrid_flag: bool = False,
|
|
578
599
|
view: list[float] | None = None,
|
|
579
600
|
levels: float | None = None,
|
|
580
601
|
area_smoothness: float | None = None,
|
|
602
|
+
asmooth: float | None = None,
|
|
581
603
|
area: float | None = None,
|
|
582
604
|
tolerance: float | None = None,
|
|
583
605
|
sigma: float | None = None,
|
|
@@ -629,11 +651,13 @@ def mri_nl_align(
|
|
|
629
651
|
erode: Erode source and target image specified times before morphing.
|
|
630
652
|
match_mean: Control for matching peak of intensity ratio histogram.
|
|
631
653
|
intensity: Set l_log_likelihood to specified value.
|
|
654
|
+
ll: Set l_log_likelihood to specified value.
|
|
632
655
|
noregrid_flag: Disable regridding.
|
|
633
656
|
regrid_flag: Enable regridding.
|
|
634
657
|
view: View voxel coordinates (Gx, Gy, Gz).
|
|
635
658
|
levels: Set levels to specified value.
|
|
636
659
|
area_smoothness: Set l_area_smoothness to specified value.
|
|
660
|
+
asmooth: Set l_area_smoothness to specified value.
|
|
637
661
|
area: Set l_area to specified value.
|
|
638
662
|
tolerance: Set tolerance to specified value.
|
|
639
663
|
sigma: Set sigma to specified value.
|
|
@@ -682,11 +706,13 @@ def mri_nl_align(
|
|
|
682
706
|
erode=erode,
|
|
683
707
|
match_mean=match_mean,
|
|
684
708
|
intensity=intensity,
|
|
709
|
+
ll=ll,
|
|
685
710
|
noregrid_flag=noregrid_flag,
|
|
686
711
|
regrid_flag=regrid_flag,
|
|
687
712
|
view=view,
|
|
688
713
|
levels=levels,
|
|
689
714
|
area_smoothness=area_smoothness,
|
|
715
|
+
asmooth=asmooth,
|
|
690
716
|
area=area,
|
|
691
717
|
tolerance=tolerance,
|
|
692
718
|
sigma=sigma,
|
|
@@ -6,7 +6,7 @@ import pathlib
|
|
|
6
6
|
from styxdefs import *
|
|
7
7
|
|
|
8
8
|
MRI_RELABEL_NONWM_HYPOS_METADATA = Metadata(
|
|
9
|
-
id="
|
|
9
|
+
id="c2dc64755d5cb891179f87b8ccf2689c8f1b9dde.boutiques",
|
|
10
10
|
name="mri_relabel_nonwm_hypos",
|
|
11
11
|
package="freesurfer",
|
|
12
12
|
container_image_tag="freesurfer/freesurfer:7.4.1",
|
|
@@ -119,11 +119,11 @@ def mri_relabel_nonwm_hypos_cargs(
|
|
|
119
119
|
cargs.append("mri_relabel_nonwm_hypos")
|
|
120
120
|
cargs.extend([
|
|
121
121
|
"-i",
|
|
122
|
-
|
|
122
|
+
execution.input_file(params.get("inputseg"))
|
|
123
123
|
])
|
|
124
124
|
cargs.extend([
|
|
125
125
|
"-o",
|
|
126
|
-
|
|
126
|
+
params.get("outputseg")
|
|
127
127
|
])
|
|
128
128
|
if params.get("segments") is not None:
|
|
129
129
|
cargs.extend([
|
|
@@ -6,7 +6,7 @@ import pathlib
|
|
|
6
6
|
from styxdefs import *
|
|
7
7
|
|
|
8
8
|
MRI_REORIENT_LR_CSH_METADATA = Metadata(
|
|
9
|
-
id="
|
|
9
|
+
id="0a6ce73f29c18581e75c6c6cc19eafd6b33ca832.boutiques",
|
|
10
10
|
name="mri_reorient_LR.csh",
|
|
11
11
|
package="freesurfer",
|
|
12
12
|
container_image_tag="freesurfer/freesurfer:7.4.1",
|
|
@@ -118,7 +118,7 @@ def mri_reorient_lr_csh_cargs(
|
|
|
118
118
|
Command-line arguments.
|
|
119
119
|
"""
|
|
120
120
|
cargs = []
|
|
121
|
-
cargs.append("mri_reorient_LR")
|
|
121
|
+
cargs.append("mri_reorient_LR.csh")
|
|
122
122
|
cargs.extend([
|
|
123
123
|
"--i",
|
|
124
124
|
execution.input_file(params.get("input_vol"))
|
|
@@ -6,7 +6,7 @@ import pathlib
|
|
|
6
6
|
from styxdefs import *
|
|
7
7
|
|
|
8
8
|
MRI_SEG_DIFF_METADATA = Metadata(
|
|
9
|
-
id="
|
|
9
|
+
id="1ffa8167a31865e0a4ffb1e2d6b11eef8bdddfc0.boutiques",
|
|
10
10
|
name="mri_seg_diff",
|
|
11
11
|
package="freesurfer",
|
|
12
12
|
container_image_tag="freesurfer/freesurfer:7.4.1",
|
|
@@ -19,6 +19,7 @@ MriSegDiffParameters = typing.TypedDict('MriSegDiffParameters', {
|
|
|
19
19
|
"seg2": typing.NotRequired[InputPathType | None],
|
|
20
20
|
"seg": typing.NotRequired[InputPathType | None],
|
|
21
21
|
"diff": str,
|
|
22
|
+
"diff_in": typing.NotRequired[InputPathType | None],
|
|
22
23
|
"merged": typing.NotRequired[str | None],
|
|
23
24
|
"diff_force": bool,
|
|
24
25
|
"debug": bool,
|
|
@@ -76,6 +77,7 @@ def mri_seg_diff_params(
|
|
|
76
77
|
seg1: InputPathType | None = None,
|
|
77
78
|
seg2: InputPathType | None = None,
|
|
78
79
|
seg: InputPathType | None = None,
|
|
80
|
+
diff_in: InputPathType | None = None,
|
|
79
81
|
merged: str | None = None,
|
|
80
82
|
diff_force: bool = False,
|
|
81
83
|
debug: bool = False,
|
|
@@ -90,6 +92,7 @@ def mri_seg_diff_params(
|
|
|
90
92
|
seg1: First segmentation file (e.g., unedited).
|
|
91
93
|
seg2: Second segmentation file (e.g., edited).
|
|
92
94
|
seg: Source segmentation file (e.g., unedited).
|
|
95
|
+
diff_in: Input diff segmentation volume.
|
|
93
96
|
merged: Merged output, combining unedited with diff.
|
|
94
97
|
diff_force: Force creation of a diff even if no diff is detected.
|
|
95
98
|
debug: Turn on debugging.
|
|
@@ -112,6 +115,8 @@ def mri_seg_diff_params(
|
|
|
112
115
|
params["seg2"] = seg2
|
|
113
116
|
if seg is not None:
|
|
114
117
|
params["seg"] = seg
|
|
118
|
+
if diff_in is not None:
|
|
119
|
+
params["diff_in"] = diff_in
|
|
115
120
|
if merged is not None:
|
|
116
121
|
params["merged"] = merged
|
|
117
122
|
return params
|
|
@@ -151,6 +156,11 @@ def mri_seg_diff_cargs(
|
|
|
151
156
|
"--diff",
|
|
152
157
|
params.get("diff")
|
|
153
158
|
])
|
|
159
|
+
if params.get("diff_in") is not None:
|
|
160
|
+
cargs.extend([
|
|
161
|
+
"--diff-in",
|
|
162
|
+
execution.input_file(params.get("diff_in"))
|
|
163
|
+
])
|
|
154
164
|
if params.get("merged") is not None:
|
|
155
165
|
cargs.extend([
|
|
156
166
|
"--merged",
|
|
@@ -218,6 +228,7 @@ def mri_seg_diff(
|
|
|
218
228
|
seg1: InputPathType | None = None,
|
|
219
229
|
seg2: InputPathType | None = None,
|
|
220
230
|
seg: InputPathType | None = None,
|
|
231
|
+
diff_in: InputPathType | None = None,
|
|
221
232
|
merged: str | None = None,
|
|
222
233
|
diff_force: bool = False,
|
|
223
234
|
debug: bool = False,
|
|
@@ -238,6 +249,7 @@ def mri_seg_diff(
|
|
|
238
249
|
seg1: First segmentation file (e.g., unedited).
|
|
239
250
|
seg2: Second segmentation file (e.g., edited).
|
|
240
251
|
seg: Source segmentation file (e.g., unedited).
|
|
252
|
+
diff_in: Input diff segmentation volume.
|
|
241
253
|
merged: Merged output, combining unedited with diff.
|
|
242
254
|
diff_force: Force creation of a diff even if no diff is detected.
|
|
243
255
|
debug: Turn on debugging.
|
|
@@ -254,6 +266,7 @@ def mri_seg_diff(
|
|
|
254
266
|
seg2=seg2,
|
|
255
267
|
seg=seg,
|
|
256
268
|
diff=diff,
|
|
269
|
+
diff_in=diff_in,
|
|
257
270
|
merged=merged,
|
|
258
271
|
diff_force=diff_force,
|
|
259
272
|
debug=debug,
|
|
@@ -6,7 +6,7 @@ import pathlib
|
|
|
6
6
|
from styxdefs import *
|
|
7
7
|
|
|
8
8
|
MRI_TWOCLASS_METADATA = Metadata(
|
|
9
|
-
id="
|
|
9
|
+
id="d2a42c55540746e081c5b41bbf3d232cedb5984b.boutiques",
|
|
10
10
|
name="mri_twoclass",
|
|
11
11
|
package="freesurfer",
|
|
12
12
|
container_image_tag="freesurfer/freesurfer:7.4.1",
|
|
@@ -123,7 +123,6 @@ def mri_twoclass_cargs(
|
|
|
123
123
|
cargs.append(params.get("output_subject"))
|
|
124
124
|
cargs.append(params.get("output_volume"))
|
|
125
125
|
cargs.extend(params.get("c1_subjects"))
|
|
126
|
-
cargs.append(":")
|
|
127
126
|
cargs.extend(params.get("c2_subjects"))
|
|
128
127
|
if params.get("f_threshold") is not None:
|
|
129
128
|
cargs.extend([
|
|
@@ -6,7 +6,7 @@ import pathlib
|
|
|
6
6
|
from styxdefs import *
|
|
7
7
|
|
|
8
8
|
MRI_VALIDATE_SKULL_STRIPPED_METADATA = Metadata(
|
|
9
|
-
id="
|
|
9
|
+
id="0de0265b82e5cc83b346cf1e1de5cade0f9128b2.boutiques",
|
|
10
10
|
name="mri_validate_skull_stripped",
|
|
11
11
|
package="freesurfer",
|
|
12
12
|
container_image_tag="freesurfer/freesurfer:7.4.1",
|
|
@@ -98,7 +98,7 @@ def mri_validate_skull_stripped_cargs(
|
|
|
98
98
|
Command-line arguments.
|
|
99
99
|
"""
|
|
100
100
|
cargs = []
|
|
101
|
-
cargs.append("
|
|
101
|
+
cargs.append("mri_validate_skull_stripped")
|
|
102
102
|
cargs.append(execution.input_file(params.get("mri_reference")))
|
|
103
103
|
cargs.append(execution.input_file(params.get("mri_test")))
|
|
104
104
|
cargs.append(str(params.get("weight")))
|
|
@@ -6,7 +6,7 @@ import pathlib
|
|
|
6
6
|
from styxdefs import *
|
|
7
7
|
|
|
8
8
|
MRI_WARP_CONVERT_METADATA = Metadata(
|
|
9
|
-
id="
|
|
9
|
+
id="32b2750e85eac274b020aca2c35655e2c3b86427.boutiques",
|
|
10
10
|
name="mri_warp_convert",
|
|
11
11
|
package="freesurfer",
|
|
12
12
|
container_image_tag="freesurfer/freesurfer:7.4.1",
|
|
@@ -15,7 +15,17 @@ MRI_WARP_CONVERT_METADATA = Metadata(
|
|
|
15
15
|
|
|
16
16
|
MriWarpConvertParameters = typing.TypedDict('MriWarpConvertParameters', {
|
|
17
17
|
"__STYX_TYPE__": typing.Literal["mri_warp_convert"],
|
|
18
|
+
"inm3z": typing.NotRequired[InputPathType | None],
|
|
19
|
+
"infsl": typing.NotRequired[InputPathType | None],
|
|
20
|
+
"inlps": typing.NotRequired[InputPathType | None],
|
|
21
|
+
"initk": typing.NotRequired[InputPathType | None],
|
|
22
|
+
"inras": typing.NotRequired[InputPathType | None],
|
|
18
23
|
"invox": typing.NotRequired[InputPathType | None],
|
|
24
|
+
"outm3z": typing.NotRequired[str | None],
|
|
25
|
+
"outfsl": typing.NotRequired[str | None],
|
|
26
|
+
"outlps": typing.NotRequired[str | None],
|
|
27
|
+
"outitk": typing.NotRequired[str | None],
|
|
28
|
+
"outras": typing.NotRequired[str | None],
|
|
19
29
|
"outvox": typing.NotRequired[str | None],
|
|
20
30
|
"insrcgeom": typing.NotRequired[InputPathType | None],
|
|
21
31
|
"downsample": bool,
|
|
@@ -65,7 +75,17 @@ class MriWarpConvertOutputs(typing.NamedTuple):
|
|
|
65
75
|
|
|
66
76
|
|
|
67
77
|
def mri_warp_convert_params(
|
|
78
|
+
inm3z: InputPathType | None = None,
|
|
79
|
+
infsl: InputPathType | None = None,
|
|
80
|
+
inlps: InputPathType | None = None,
|
|
81
|
+
initk: InputPathType | None = None,
|
|
82
|
+
inras: InputPathType | None = None,
|
|
68
83
|
invox: InputPathType | None = None,
|
|
84
|
+
outm3z: str | None = None,
|
|
85
|
+
outfsl: str | None = None,
|
|
86
|
+
outlps: str | None = None,
|
|
87
|
+
outitk: str | None = None,
|
|
88
|
+
outras: str | None = None,
|
|
69
89
|
outvox: str | None = None,
|
|
70
90
|
insrcgeom: InputPathType | None = None,
|
|
71
91
|
downsample: bool = False,
|
|
@@ -74,7 +94,17 @@ def mri_warp_convert_params(
|
|
|
74
94
|
Build parameters.
|
|
75
95
|
|
|
76
96
|
Args:
|
|
97
|
+
inm3z: Input M3Z warp.
|
|
98
|
+
infsl: Input FSL warp.
|
|
99
|
+
inlps: Input LPS-to-LPS displacement field (e.g. ITK, ANTs).
|
|
100
|
+
initk: Input ITK LPS-to-LPS displacement field.
|
|
101
|
+
inras: Input RAS-to-RAS displacement field (e.g. NiftyReg).
|
|
77
102
|
invox: Input file with displacements in source-voxel space.
|
|
103
|
+
outm3z: Output warp (M3Z Freesurfer format).
|
|
104
|
+
outfsl: Output warp (FSL format).
|
|
105
|
+
outlps: Output LPS-to-LPS displacement field (e.g. ITK, ANTs).
|
|
106
|
+
outitk: Output ITK LPS-to-LPS displacement field.
|
|
107
|
+
outras: Output RAS-to-RAS displacement field (e.g. NiftyReg).
|
|
78
108
|
outvox: Output file with displacements in source-voxel space.
|
|
79
109
|
insrcgeom: Specify source image geometry (moving volume).
|
|
80
110
|
downsample: Downsample output M3Z to spacing of 2.
|
|
@@ -85,8 +115,28 @@ def mri_warp_convert_params(
|
|
|
85
115
|
"__STYXTYPE__": "mri_warp_convert",
|
|
86
116
|
"downsample": downsample,
|
|
87
117
|
}
|
|
118
|
+
if inm3z is not None:
|
|
119
|
+
params["inm3z"] = inm3z
|
|
120
|
+
if infsl is not None:
|
|
121
|
+
params["infsl"] = infsl
|
|
122
|
+
if inlps is not None:
|
|
123
|
+
params["inlps"] = inlps
|
|
124
|
+
if initk is not None:
|
|
125
|
+
params["initk"] = initk
|
|
126
|
+
if inras is not None:
|
|
127
|
+
params["inras"] = inras
|
|
88
128
|
if invox is not None:
|
|
89
129
|
params["invox"] = invox
|
|
130
|
+
if outm3z is not None:
|
|
131
|
+
params["outm3z"] = outm3z
|
|
132
|
+
if outfsl is not None:
|
|
133
|
+
params["outfsl"] = outfsl
|
|
134
|
+
if outlps is not None:
|
|
135
|
+
params["outlps"] = outlps
|
|
136
|
+
if outitk is not None:
|
|
137
|
+
params["outitk"] = outitk
|
|
138
|
+
if outras is not None:
|
|
139
|
+
params["outras"] = outras
|
|
90
140
|
if outvox is not None:
|
|
91
141
|
params["outvox"] = outvox
|
|
92
142
|
if insrcgeom is not None:
|
|
@@ -109,11 +159,61 @@ def mri_warp_convert_cargs(
|
|
|
109
159
|
"""
|
|
110
160
|
cargs = []
|
|
111
161
|
cargs.append("mri_warp_convert")
|
|
162
|
+
if params.get("inm3z") is not None:
|
|
163
|
+
cargs.extend([
|
|
164
|
+
"--inm3z",
|
|
165
|
+
execution.input_file(params.get("inm3z"))
|
|
166
|
+
])
|
|
167
|
+
if params.get("infsl") is not None:
|
|
168
|
+
cargs.extend([
|
|
169
|
+
"--infsl",
|
|
170
|
+
execution.input_file(params.get("infsl"))
|
|
171
|
+
])
|
|
172
|
+
if params.get("inlps") is not None:
|
|
173
|
+
cargs.extend([
|
|
174
|
+
"--inlps",
|
|
175
|
+
execution.input_file(params.get("inlps"))
|
|
176
|
+
])
|
|
177
|
+
if params.get("initk") is not None:
|
|
178
|
+
cargs.extend([
|
|
179
|
+
"--initk",
|
|
180
|
+
execution.input_file(params.get("initk"))
|
|
181
|
+
])
|
|
182
|
+
if params.get("inras") is not None:
|
|
183
|
+
cargs.extend([
|
|
184
|
+
"--inras",
|
|
185
|
+
execution.input_file(params.get("inras"))
|
|
186
|
+
])
|
|
112
187
|
if params.get("invox") is not None:
|
|
113
188
|
cargs.extend([
|
|
114
189
|
"--invox",
|
|
115
190
|
execution.input_file(params.get("invox"))
|
|
116
191
|
])
|
|
192
|
+
if params.get("outm3z") is not None:
|
|
193
|
+
cargs.extend([
|
|
194
|
+
"--outm3z",
|
|
195
|
+
params.get("outm3z")
|
|
196
|
+
])
|
|
197
|
+
if params.get("outfsl") is not None:
|
|
198
|
+
cargs.extend([
|
|
199
|
+
"--outfsl",
|
|
200
|
+
params.get("outfsl")
|
|
201
|
+
])
|
|
202
|
+
if params.get("outlps") is not None:
|
|
203
|
+
cargs.extend([
|
|
204
|
+
"--outlps",
|
|
205
|
+
params.get("outlps")
|
|
206
|
+
])
|
|
207
|
+
if params.get("outitk") is not None:
|
|
208
|
+
cargs.extend([
|
|
209
|
+
"--outitk",
|
|
210
|
+
params.get("outitk")
|
|
211
|
+
])
|
|
212
|
+
if params.get("outras") is not None:
|
|
213
|
+
cargs.extend([
|
|
214
|
+
"--outras",
|
|
215
|
+
params.get("outras")
|
|
216
|
+
])
|
|
117
217
|
if params.get("outvox") is not None:
|
|
118
218
|
cargs.extend([
|
|
119
219
|
"--outvox",
|
|
@@ -174,7 +274,17 @@ def mri_warp_convert_execute(
|
|
|
174
274
|
|
|
175
275
|
|
|
176
276
|
def mri_warp_convert(
|
|
277
|
+
inm3z: InputPathType | None = None,
|
|
278
|
+
infsl: InputPathType | None = None,
|
|
279
|
+
inlps: InputPathType | None = None,
|
|
280
|
+
initk: InputPathType | None = None,
|
|
281
|
+
inras: InputPathType | None = None,
|
|
177
282
|
invox: InputPathType | None = None,
|
|
283
|
+
outm3z: str | None = None,
|
|
284
|
+
outfsl: str | None = None,
|
|
285
|
+
outlps: str | None = None,
|
|
286
|
+
outitk: str | None = None,
|
|
287
|
+
outras: str | None = None,
|
|
178
288
|
outvox: str | None = None,
|
|
179
289
|
insrcgeom: InputPathType | None = None,
|
|
180
290
|
downsample: bool = False,
|
|
@@ -188,7 +298,17 @@ def mri_warp_convert(
|
|
|
188
298
|
URL: https://github.com/freesurfer/freesurfer
|
|
189
299
|
|
|
190
300
|
Args:
|
|
301
|
+
inm3z: Input M3Z warp.
|
|
302
|
+
infsl: Input FSL warp.
|
|
303
|
+
inlps: Input LPS-to-LPS displacement field (e.g. ITK, ANTs).
|
|
304
|
+
initk: Input ITK LPS-to-LPS displacement field.
|
|
305
|
+
inras: Input RAS-to-RAS displacement field (e.g. NiftyReg).
|
|
191
306
|
invox: Input file with displacements in source-voxel space.
|
|
307
|
+
outm3z: Output warp (M3Z Freesurfer format).
|
|
308
|
+
outfsl: Output warp (FSL format).
|
|
309
|
+
outlps: Output LPS-to-LPS displacement field (e.g. ITK, ANTs).
|
|
310
|
+
outitk: Output ITK LPS-to-LPS displacement field.
|
|
311
|
+
outras: Output RAS-to-RAS displacement field (e.g. NiftyReg).
|
|
192
312
|
outvox: Output file with displacements in source-voxel space.
|
|
193
313
|
insrcgeom: Specify source image geometry (moving volume).
|
|
194
314
|
downsample: Downsample output M3Z to spacing of 2.
|
|
@@ -199,7 +319,17 @@ def mri_warp_convert(
|
|
|
199
319
|
runner = runner or get_global_runner()
|
|
200
320
|
execution = runner.start_execution(MRI_WARP_CONVERT_METADATA)
|
|
201
321
|
params = mri_warp_convert_params(
|
|
322
|
+
inm3z=inm3z,
|
|
323
|
+
infsl=infsl,
|
|
324
|
+
inlps=inlps,
|
|
325
|
+
initk=initk,
|
|
326
|
+
inras=inras,
|
|
202
327
|
invox=invox,
|
|
328
|
+
outm3z=outm3z,
|
|
329
|
+
outfsl=outfsl,
|
|
330
|
+
outlps=outlps,
|
|
331
|
+
outitk=outitk,
|
|
332
|
+
outras=outras,
|
|
203
333
|
outvox=outvox,
|
|
204
334
|
insrcgeom=insrcgeom,
|
|
205
335
|
downsample=downsample,
|