-
Notifications
You must be signed in to change notification settings - Fork 0
/
module_tests.json
executable file
·548 lines (546 loc) · 26.4 KB
/
module_tests.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
{
"testlist" : [
{
"command" : "smoothImage --sigma 2.0 --radiusfactor 2.0 --debug true --inmm true --input testdata/MNI_2mm_resliced.nii.gz ",
"test" : "--test_target testdata/newtests/goldsmooth2sigma.nii.gz",
"result" : true,
"dopython": true
},
{
"command" : "smoothImage --sigma 2.0 --radiusfactor 2.0 --debug false --inmm false --input testdata/MNI_2mm_resliced.nii.gz",
"test" : "--test_target testdata/newtests/goldsmooth2sigma.nii.gz",
"result" : false,
"dopython": true
},
{
"command" : "smoothImage --sigma 2.0 --paramfile testdata/smoothParam.json --input testdata/MNI_2mm_resliced.nii.gz",
"test" : "--test_target testdata/newtests/goldsmooth2sigma.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "computeCorrelation -i testdata/ButterWorthOutput.csv --zscore false",
"test" : "--test_target testdata/newtests/goldcorrelation.matr --test_type matrix --test_comparison ssd --test_threshold 0.01",
"result" : true,
"dopython": true
},
{
"command" : "regressOut -i testdata/newtests/drift_input.csv -r testdata/newtests/drift.csv",
"test" : "--test_target testdata/simpleregress.csv --test_type matrix --test_comparison ssd --test_threshold 0.1",
"result" : true,
"dopython": true
},
{
"command" : "regressOut -i testdata/newtests/driftw_input.csv -r testdata/newtests/drift2.csv -w testdata/newtests/drift_weights.matr",
"test" : "--test_target testdata/newtests/weighted_drift_gold.csv --test_type matrix --test_comparison ssd --test_threshold 0.01",
"result" : true,
"dopython": true
},
{
"command" : "regressOut -i testdata/newtests/driftw_input.csv -r testdata/newtests/drift2.csv",
"test" : "--test_target testdata/newtests/weighted_drift_gold.csv --test_type matrix --test_comparison ssd --test_threshold 0.01",
"result" : false,
"dopython": true
},
{
"command" : "regressGlobal -i testdata/newtests/global_inp.matr --debug true ",
"test" : "--test_target testdata/newtests/global_out.matr --test_type matrix --test_comparison ssd --test_threshold 0.001",
"result" : true,
"dopython": true
},
{
"command" : "butterworthFilter -i testdata/newtests/but_low_inp.matr --type low --tr 1.0 --low 0.15",
"test" : "--test_target testdata/newtests/but_low_out.matr --test_type matrix --test_comparison ssd --test_threshold 0.01",
"result" : true,
"dopython": true
},
{
"command" : "butterworthFilter -i testdata/newtests/but_low_inp.matr --type high --tr 1.0 --high 0.03 --debug true",
"test" : "--test_target testdata/newtests/but_high_out.matr --test_type matrix --test_comparison ssd --test_threshold 0.01",
"result" : true,
"dopython": true
},
{
"command" : "butterworthFilter -i testdata/newtests/but_low_inp.matr --type band --tr 1.0 --high 0.03 --low 0.15",
"test" : "--test_target testdata/newtests/but_band_out.matr --test_type matrix --test_comparison ssd --test_threshold 0.4 --debug true" ,
"result" : true,
"dopython": true
},
{
"command" : "computeROI -i testdata/simple4dtest.nii.gz -r testdata/simpleroi.nii.gz --debug true",
"test" : "--test_target testdata/newtests/simpleroi_result.matr --test_type matrix --test_comparison ssd --test_threshold 0.01",
"result" : true,
"dopython": true
},
{
"command" : "thresholdImage -i testdata/MNI_6mm.nii.gz --low 128.0 --high 1000 --debug 1",
"test" : "--test_target testdata/newtests/MNI_thr.nii.gz ",
"result" : true,
"dopython": true
},
{
"command" : "prepareRegistration -i testdata/MNI_6mm.nii.gz --sigma 2.0 --numbins 32 --debug 1",
"test" : "--test_target testdata/newtests/MNI_6mm_prepare.nii.gz",
"result" : true,
"dopython": true
},
{
"command" : "extractFrame -i testdata/simple4dtest.nii.gz --frame 3 --debug true",
"test" : "--test_target testdata/simple4dtest_frame3.nii.gz",
"result" : true,
"dopython": true
},
{
"command" : "extractFrame -i testdata/simple4dtest.nii.gz --frame 5 --debug true",
"test" : "--test_target testdata/simple4dtest_frame3.nii.gz",
"result" : false,
"dopython": true
},
{
"command" : "extractFrame -i testdata/simple4dtest.nii.gz --frame 3 --usewasm false --debug true",
"test" : "--test_target testdata/simple4dtest_frame3.nii.gz",
"result" : true,
"dopython": true
},
{
"command" : "extractSlice -i testdata/ras_avg152T1_LR_nifti.nii.gz --plane 2 --slice 18 --frame 0 --component 0 --debug true",
"test" : "--test_target testdata/ras152_slicek18.nii.gz",
"result" : true,
"dopython": true
},
{
"command" : "extractSlice -i testdata/ras_avg152T1_LR_nifti.nii.gz --plane 1 --slice 54 --frame 0 --component 0 --debug true",
"test" : "--test_target testdata/ras152_slicej54.nii.gz",
"result" : true,
"dopython": true
},
{
"command" : "extractSlice -i testdata/ras_avg152T1_LR_nifti.nii.gz --plane 0 --slice 56",
"test" : "--test_target testdata/ras152_slicei56.nii.gz",
"result" : true,
"dopython": true
},
{
"command" : "normalizeImage -i testdata/avg152T1_LR_nifti.nii.gz --perlow 0.1 --perhigh 0.75 --maxval 255 --debug true",
"test" : "--test_target testdata/avg152T1_LR_nifti_normalized.nii.gz",
"result" : true,
"dopython": true
},
{
"command" : "resliceImage -i testdata/avg152T1_LR_nifti.nii.gz -r testdata/avg152T1_LR_nifti_resampled.nii.gz -x testdata/newtests/reslice_transform.matr --interpolation 1 --debug true --backgroundvalue 0.0",
"test" : "--test_target testdata/avg152T1_LR_nifti_resampled_resliced.nii.gz --test_threshold 0.999 --test_type image --test_comparison cc",
"result" : true,
"dopython": true
},
{
"command" : "resliceImage -i testdata/avg152T1_LR_nifti.nii.gz -r testdata/avg152T1_LR_nifti_resampled.nii.gz -x testdata/newtests/reslice_transform.matr --interpolation 0 --debug false --backgroundvalue 0.0",
"test" : "--test_target testdata/avg152T1_LR_nifti_resampled_resliced_NN.nii.gz --test_threshold 0.999 --test_type image --test_comparison cc",
"result" : true,
"dopython": true
},
{
"command" : "resliceImage -i testdata/avg152T1_LR_nifti.nii.gz -r testdata/avg152T1_LR_nifti_resampled.nii.gz -x testdata/newtests/reslice_transform.matr --interpolation 3 --debug false --backgroundvalue 0.0 --forcefloat true",
"test" : "--test_target testdata/avg152T1_LR_nifti_resampled_resliced_Cubic.nii.gz --test_threshold 0.999 --test_type image --test_comparison cc",
"result" : true,
"dopython": true
},
{
"command" : "resampleImage -i testdata/avg152T1_LR_nifti.nii.gz --interpolation 1 --debug false --backgroundvalue 0.0 --xsp 2.5 --ysp 4.5 --zsp 6.5",
"test" : "--test_target testdata/avg152T1_LR_nifti_resampled.nii.gz --test_threshold 0.999 --test_type image --test_comparison cc",
"result" : true,
"dopython": true
},
{
"command" : "computeGLM -i testdata/glm/Test_allruns.nii.gz --regressor testdata/glm/Test_bis_glm.matr --debug true --numtasks 3",
"test" : "--test_target testdata/glm/test_beta.nii.gz",
"result" : true,
"dopython": true
},
{
"command" : "segmentImage -i testdata/MNI_2mm_orig.nii.gz --numclasses 3 --maxsigmaratio 0.2 --smoothness 0.0 --robust false --debug true --smoothhisto false",
"test" : "--test_target testdata/histo_MNI_2mm_orig.nii.gz --test_comparison cc --test_threshold 0.99",
"result" : true,
"dopython": true
},
{
"command" : "segmentImage -i testdata/MNI_2mm_orig.nii.gz --numclasses 3 --maxsigmaratio 0.2 --smoothness 100.0 --robust false --debug true --smoothhisto false --mrfiterations 8 --noisesigma2 1000.0 --internaliterations 12",
"test" : "--test_target testdata/mrf_MNI_2mm_orig.nii.gz --test_comparison cc --test_threshold 0.98",
"result" : true,
"dopython": true
},
{
"command" : "sliceBiasCorrect -i testdata/MNI_T1_1mm_resampled_biasz.nii.gz --axis z --threshold 0.0002 --returnbiasfield false --debug true",
"test" : "--test_target testdata/MNI_T1_1mm_resampled_biasz_corrected.nii.gz --test_comparison cc --test_threshold 0.95",
"result" : true,
"dopython": true
},
{
"command" : "sliceBiasCorrect -i testdata/MNI_T1_1mm_resampled_triplebias.nii.gz --axis triple --threshold 0.0002 --returnbiasfield false --debug true",
"test" : "--test_target testdata/MNI_T1_1mm_resampled.nii.gz --test_comparison cc --test_threshold 0.85",
"result" : true,
"dopython": true
},
{
"command" : "clusterThreshold -i testdata/glm/Test_deconvolve_stats_beta.nii.gz --threshold 1.0 --size 10 --debug 1 --outclustno false",
"test" : "--test_target testdata/glm/cluster_thr.nii.gz",
"result" : true,
"dopython": true
},
{
"command" : "clusterThreshold -i testdata/glm/Test_deconvolve_stats_beta.nii.gz --threshold 1.0 --size 10 --debug 1 --outclustno true",
"test" : "--test_target testdata/glm/clusterno.nii.gz",
"result" : true,
"dopython": true
},
{
"command" : "displacementField -i testdata/MNI_6mm.nii.gz -x testdata/MNI_2mm_scaled.grd --debug true",
"test" : "--test_target testdata/MNI_6mm_scaleddispfield.nii.gz",
"result" : true,
"dopython": true
},
{
"command" : "displacementField -i testdata/MNI_6mm.nii.gz -x testdata/resample.matr -y testdata/resample.matr --debug true",
"test" : "--test_target testdata/combo_disp.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "displacementField -i testdata/MNI_6mm.nii.gz -x testdata/resample.matr -y testdata/complex.grd --debug true",
"test" : "--test_target testdata/combo_disp2.nii.gz --test_threshold 0.1",
"result" : true,
"dopython": false
},
{
"command" : "displacementField -i testdata/MNI_6mm.nii.gz -x testdata/resample.matr -y testdata/complex.grd -z testdata/2dreslice.matr --debug true",
"test" : "--test_target testdata/combo_disp3.nii.gz --test_threshold 0.1",
"result" : true,
"dopython": false
},
{
"command" : "approximateField -i testdata/MNI_6mm_scaleddispfield.nii.gz --spacing 30.0 --debug false --stepsize 0.25",
"test" : "--test_target testdata/newtests/fitgrid.grd --test_type gridtransform",
"result" : true,
"dopython": true
},
{
"command" : "linearRegistration -t testdata/MNI_2mm_orig.nii.gz -r testdata/newtests/reg_input.nii.gz --intscale 2 --numbins 64 --levels 3 --imagesmoothing 1.0 --optimization ConjugateGradient --stepsize 0.25 --metric NMI --steps 1 --iterations 20 --mode Affine --resolution 1.1 --debug true",
"test" : "--test_target testdata/newtests/linear.matr --test_type matrixtransform ",
"result" : true,
"dopython": true
},
{
"command" : "linearRegistration -t testdata/MNI_2mm_orig.nii.gz -r testdata/newtests/reg_input.nii.gz --intscale 2 --numbins 64 --levels 3 --imagesmoothing 1.0 --optimization ConjugateGradient --stepsize 0.25 --metric NMI --steps 1 --iterations 20 --mode Affine --resolution 1.1 --debug true",
"test" : "--test_target testdata/newtests/reg_input.nii.gz --test_type registration --test_comparison cc --test_threshold 0.99",
"result" : true,
"dopython": true
},
{
"command" : "nonlinearRegistration -r testdata/MNI_2mm_orig.nii.gz -t testdata/MNI_2mm_scaled.nii.gz --intscale 1 --numbins 64 --levels 2 --optimization ConjugateGradient --stepsize 1.0 --metric NMI --steps 1 --iterations 5 --cps 40.0 --linearmode None --resolution 2.0 --lambda 0.1",
"test" : "--test_target testdata/MNI_2mm_orig.nii.gz --test_type registration --test_comparison cc --test_threshold 0.95",
"result" : true,
"dopython": true
},
{ "command" : "nonlinearRegistration -r testdata/MNI_2mm_orig.nii.gz -t testdata/MNI_2mm_scaled.nii.gz --intscale 1 --numbins 64 --levels 2 --optimization ConjugateGradient --stepsize 1.0 --metric NMI --steps 1 --iterations 5 --cps 30.0 --linearmode None --resolution 2.0 --lambda 0.2 --append 0",
"test" : "--test_target testdata/MNI_2mm_orig.nii.gz --test_type registration --test_comparison cc --test_threshold 0.92",
"result" : true,
"dopython": true
},
{
"command" : "nonlinearRegistration -r testdata/MNI_2mm_orig.nii.gz -t testdata/MNI_2mm_scaled.nii.gz --intscale 1 --numbins 64 --levels 1 --optimization ConjugateGradient --stepsize 1.0 --metric NMI --steps 1 --iterations 2 --cps 40.0 --resolution 3.0 --linearmode None --lambda 0.1 --linearmode None --debug false",
"test" : "--test_target testdata/MNI_2mm_orig.nii.gz --test_type registration --test_comparison cc --test_threshold 0.95",
"result" : false,
"dopython": true
},
{
"command" : "resliceImage -i testdata/ras152_slicek18.nii.gz -r testdata/ras152_slicek18.nii.gz -x testdata/2dreslice.matr --interpolation 0 --debug true --forcefloat true --debug true",
"test" : "--test_target testdata/ras152_slicek18_ras152_slicek18_resl_NN.nii.gz --test_comparison cc --test_threshold 0.99",
"result" : true,
"dopython": true
},
{
"command" : "resliceImage -i testdata/ras152_slicek18.nii.gz -r testdata/ras152_slicek18.nii.gz -x testdata/2dreslice.matr --interpolation 1 --debug true --forcefloat true --debug true",
"test" : "--test_target testdata/ras152_slicek18_ras152_slicek18_resl_LN.nii.gz --test_comparison cc --test_threshold 0.99",
"result" : true,
"dopython": true
},
{
"command" : "resliceImage -i testdata/ras152_slicek18.nii.gz -r testdata/ras152_slicek18.nii.gz -x testdata/2dreslice.matr --interpolation 3 --debug true --forcefloat true --debug true",
"test" : "--test_target testdata/ras152_slicek18_ras152_slicek18_resl_CC.nii.gz --test_comparison cc --test_threshold 0.99",
"result" : true,
"dopython": true
},
{
"command" : "motionCorrection -t testdata/test_motion_correction.nii.gz -r testdata/test_motion_correction.nii.gz --doreslice true",
"test" : "--test_target testdata/motioncorrection_result.nii.gz --test_type registration",
"result" : true,
"dopython": false
},
{
"command" : "motionCorrection -t testdata/test_motion_correction.nii.gz -r testdata/test_motion_correction.nii.gz --doreslice true",
"test" : "--test_target testdata/test_motion_correction.nii.gz --test_type registration",
"result" : false,
"dopython": false
},
{
"command" : "flipImage --flipi 1 --debug true -i testdata/MNI_6mm.nii.gz",
"test" : "--test_target testdata/MNI_6mm_flipx.nii.gz",
"result" : true,
"dopython": true
},
{
"command" : "flipImage --flipj 1 --debug false -i testdata/MNI_6mm.nii.gz",
"test" : "--test_target testdata/MNI_6mm_flipy.nii.gz",
"result" : true,
"dopython": true
},
{
"command" : "flipImage --flipk 1 --debug false -i testdata/MNI_6mm.nii.gz",
"test" : "--test_target testdata/MNI_6mm_flipz.nii.gz",
"result" : true,
"dopython": true
},
{
"command" : "flipImage --flipi 1 --flipk 1 --debug true -i testdata/MNI_6mm.nii.gz",
"test" : "--test_target testdata/MNI_6mm_flipxz.nii.gz",
"result" : true,
"dopython": true
},
{
"command" : "cropImage --i0 -5 --i1 15 --di 2 --j0 4 --j1 24 --dj 3 --k0 2 --k1 11 --dk 4 --t0 9 --t1 179 --dt 10 --input testdata/glm/Test_allruns.nii.gz --debug true",
"test" : "--test_target testdata/glm/Test_allruns_crop.nii.gz",
"result" : true,
"dopython": true
},
{
"command" : "blankImage --i0 10 --i1 73 --j0 20 --j1 67 --k0 12 --k1 44 --input testdata/newtests/reg_input.nii.gz --debug true",
"test" : "--test_target testdata/newtests/reg_input_blank.nii.gz",
"result" : true,
"dopython": true
},
{
"command" : "binaryThresholdImage --low 250 --high 256 --debug true --input testdata/morphology/morphology_base.nii.gz",
"test" : "--test_target testdata/morphology/mask_250.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "binaryThresholdImage --low 128 --high 256 --debug true --input testdata/morphology/morphology_base.nii.gz",
"test" : "--test_target testdata/morphology/mask_128.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "binaryThresholdImage --low 384.5 --high 386 --debug true -i testdata/reorient/avg152T1_LR_PSR_ss.nii.gz",
"test" : "--test_target testdata/reorient/avg152T1_LR_PSR_ss_binary.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "morphologyFilter --radius 1 --mode median --debug true --input testdata/morphology/mask_128.nii.gz",
"test" : "--test_target testdata/morphology/median_mask_128.nii.gz --test_comparison cc --test_threshold 0.98",
"result" : true,
"dopython": false
},
{
"command" : "morphologyFilter --radius 1 --mode connect --seedi 25 --seedj 54 --seedk 47 --debug true --input testdata/morphology/mask_250.nii.gz",
"test" : "--test_target testdata/morphology/connect_25_54_47.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "morphologyFilter --radius 1 --mode erode --debug true --input testdata/morphology/connect_25_54_47.nii.gz",
"test" : "--test_target testdata/morphology/erode_connect.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "morphologyFilter --radius 1 --mode dilate --debug true --input testdata/morphology/erode_connect.nii.gz",
"test" : "--test_target testdata/morphology/dilate_erode_connect.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "combineImages --mode add --debug true --input testdata/combine/tt_1.nii.gz --second testdata/combine/tt_2.nii.gz",
"test" : "--test_target testdata/combine/tt_add.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "combineImages --mode subtract --debug true --input testdata/combine/tt_1.nii.gz --second testdata/combine/tt_2.nii.gz",
"test" : "--test_target testdata/combine/tt_subtract.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "combineImages --mode multiply --debug true --input testdata/combine/tt_1.nii.gz --second testdata/combine/tt_2.nii.gz",
"test" : "--test_target testdata/combine/tt_multiply.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "combineImages --mode divide --debug true --input testdata/combine/tt_1.nii.gz --second testdata/combine/tt_2.nii.gz",
"test" : "--test_target testdata/combine/tt_divide.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "combineImages --mode add --weight1 2.0 --weight2 3.0 --debug true --input testdata/combine/tt_1.nii.gz --second testdata/combine/tt_2.nii.gz",
"test" : "--test_target testdata/combine/tt_add23.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "combineImages --mode divide --weight1 4.0 --weight2 2.0 --debug true --input testdata/combine/tt_1.nii.gz --second testdata/combine/tt_2.nii.gz",
"test" : "--test_target testdata/combine/tt_divide42.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "process4DImage --operation mean --debug true --input testdata/combine/4d_inp.nii.gz",
"test" : "--test_target testdata/combine/4d_mean.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "process4DImage --operation meansigma --debug true --input testdata/combine/4d_inp.nii.gz",
"test" : "--test_target testdata/combine/4d_meansigma.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "process4DImage --operation rms --debug true --input testdata/combine/4d_inp.nii.gz",
"test" : "--test_target testdata/combine/4d_rms.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "process4DImage --operation max --debug true --input testdata/combine/4d_inp.nii.gz",
"test" : "--test_target testdata/combine/4d_max.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "process4DImage --operation min --debug true --input testdata/combine/4d_inp.nii.gz",
"test" : "--test_target testdata/combine/4d_min.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "projectImage --paramfile testdata/project/projectImage_2018_03_30.param --input testdata/project/project_base.nii.gz",
"test" : "--test_target testdata/project/project_2mm.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "backProjectImage --paramfile testdata/project/backProjectImage_2018_03_30.param --input testdata/project/project_2mm.nii.gz --target testdata/project/backproject_threed.nii.gz",
"test" : "--test_target testdata/project/backproject.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "maskImage --threshold 0.5 --debug true -i testdata/morphology/morphology_base.nii.gz -m testdata/morphology/mask_128.nii.gz",
"test" : "--test_target testdata/morphology/morphology_base__mask_128__msk.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "manualRegistration --paramfile testdata/morphology/manualRegistration_2018_03_30.param -r testdata/morphology/morphology_base_float.nii.gz -t testdata/morphology/morphology_base_float.nii.gz",
"test" : "--test_target testdata/morphology/manualreg.nii.gz --test_type registration --test_comparison cc --test_threshold 0.999",
"result" : true,
"dopython": false
},
{
"command" : "resliceImage -i testdata/MNI_6mm.nii.gz --r testdata/MNI_6mm.nii.gz -x testdata/resample.matr -y testdata/2dreslice.matr --interpolation 1 --debug true --backgroundvalue 0.0",
"test" : "--test_target testdata/dualreslice.nii.gz --test_threshold 0.999 --test_type image --test_comparison cc",
"result" : true,
"dopython": false
},
{
"command" : "motionReslice -r testdata/MNI_2mm_orig.nii.gz -i testdata/test_motion_correction.nii.gz -x testdata/2dreslice.matr --res 1.0 -m testdata/motionparams.json --debug true",
"test" : "--test_target testdata/atlasmotion.nii.gz --test_threshold 0.999 --test_type image --test_comparison cc",
"result" : true,
"dopython": false
},
{
"command" : "regularizeObjectmap --smoothness 16 --convergence 0.2 --iterations 8 --internaliterations 4 --debug true -i testdata/thr_obj.nii.gz",
"test" : "--test_target testdata/thr_regobj.nii.gz --test_threshold 30.0 --test_comparison ssd",
"result" : true,
"dopython": true
},
{
"command" : "regularizeObjectmap --smoothness 16 --convergence 0.2 --iterations 8 --internaliterations 4 --debug true -i testdata/thr_obj.nii.gz",
"test" : "--test_target testdata/thr_obj.nii.gz --test_threshold 30.0 --test_comparison ssd",
"result" : false,
"dopython": true
},
{
"command" : "defaceImage --levels 3 --iterations 5 --resolution 2.0 --imagesmoothing 1.0 --debug true -i testdata/deface/sag_2mm.nii.gz",
"test" : "--test_target testdata/deface/sag_2mm_defaced.nii.gz --test_threshold 0.9999 --test_comparison cc",
"result" : true,
"dopython": false,
"webworker": false
},
{
"command" : "reorientImage --orient RAS --debug true -i testdata/reorient/avg152T1_LR_PSR.nii.gz",
"test" : "--test_target testdata/reorient/avg152T1_LR_RAS.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "reorientImage --orient RAS --debug true -i testdata/reorient/avg152T1_LR_LIP.nii.gz",
"test" : "--test_target testdata/reorient/avg152T1_LR_RAS.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "reorientImage --orient RAS --debug true -i testdata/reorient/avg152T1_LR_LPS.nii.gz",
"test" : "--test_target testdata/reorient/avg152T1_LR_RAS.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "reorientImage --orient LPS --debug true -i testdata/reorient/avg152T1_LR_PSR.nii.gz",
"test" : "--test_target testdata/reorient/avg152T1_LR_LPS.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "reorientImage --orient LPS --debug true -i testdata/reorient/avg152T1_LR_LIP.nii.gz",
"test" : "--test_target testdata/reorient/avg152T1_LR_LPS.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "reorientImage --orient LPS --debug true -i testdata/reorient/avg152T1_LR_RAS.nii.gz",
"test" : "--test_target testdata/reorient/avg152T1_LR_LPS.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "reorientImage --orient LAS --debug true -i testdata/reorient/avg152T1_LR_RAS.nii.gz",
"test" : "--test_target testdata/reorient/avg152T1_LR_LPS.nii.gz",
"result" : false,
"dopython": false
},
{
"command" : "shiftScaleImage --shift 2.0 --scale 1.5 --outtype Float --debug true -i testdata/reorient/avg152T1_LR_PSR.nii.gz",
"test" : "--test_target testdata/reorient/avg152T1_LR_PSR_ss.nii.gz",
"result" : true,
"dopython": false
},
{
"command" : "tfrecon -i testdata/tfjs64/sample1.nii.gz --modelname testdata/tfjs64 --padding 8 --batchsize 1",
"test" : "--test_target testdata/tfjs64/sampleout.nii.gz --test_type tfjs --test_comparison ssd --test_threshold 0.5",
"result" : true,
"dopython" : false,
"webworker": false
},
{
"command" : "tfrecon -i testdata/sanitytf/0001_1_Y__crp.nii.gz --modelname testdata/sanitytf --padding 16 --batchsize 4",
"test" : "--test_target testdata/sanitytf/0001_1_Y__shsc__crp.nii.gz --test_type tfjs --test_comparison ssd --test_threshold 0.01",
"result" : true,
"dopython" : false,
"webworker": false
}
]
}