Skip to content

Commit 439354a

Browse files
authored
Merge pull request #75 from oesteban/rf/more-lta-work
ENH: Improved testing of LTA handling - ITK-to-LTA, ``mri_concatenate_lta``
2 parents 111c52a + e52389d commit 439354a

17 files changed

+191
-18
lines changed
Binary file not shown.
Binary file not shown.

nitransforms/tests/data/regressions/bbregister.tfm

Lines changed: 0 additions & 5 deletions
This file was deleted.
Binary file not shown.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This file was generated with bbregister, with fMRIPrep-20.0.5's settings
2+
type = 0 # LINEAR_VOX_TO_VOX
3+
nxforms = 1
4+
mean = 0.0000 0.0000 0.0000
5+
sigma = 10000.0000
6+
1 4 4
7+
3.124095916748047e+00 -2.993918396532536e-02 -8.824434876441956e-02 3.380017089843750e+01
8+
-7.292380183935165e-02 -1.901555061340332e+00 -3.172848463058472e+00 2.405808868408203e+02
9+
-1.820227503776550e-02 2.479679346084595e+00 -2.434180974960327e+00 7.082101440429688e+01
10+
0.000000000000000e+00 0.000000000000000e+00 0.000000000000000e+00 1.000000000000000e+00
11+
src volume info
12+
valid = 1 # volume info valid
13+
filename = /home/oesteban/tmp/fmriprep-ds005/fprep-work/fmriprep_wf/single_subject_01_wf/func_preproc_task_mixedgamblestask_run_01_wf/bold_reg_wf/bbreg_wf/bbregister/uni_xform_masked.nii.gz
14+
volume = 64 64 34
15+
voxelsize = 3.125000000000000e+00 3.125000000000000e+00 4.000000000000000e+00
16+
xras = -1.000000000000000e+00 0.000000000000000e+00 0.000000000000000e+00
17+
yras = 0.000000000000000e+00 1.000000000000000e+00 0.000000000000000e+00
18+
zras = 0.000000000000000e+00 0.000000000000000e+00 1.000000000000000e+00
19+
cras = 1.000000000000000e+00 2.800000000000000e+01 -3.100000000000000e+01
20+
dst volume info
21+
valid = 1 # volume info valid
22+
filename = /oak/stanford/groups/russpold/data/openfmri/derivatives/ds000005/freesurfer-6.0.1/sub-01/mri/orig.mgz
23+
volume = 256 256 256
24+
voxelsize = 1.000000000000000e+00 1.000000000000000e+00 1.000000000000000e+00
25+
xras = -9.999999403953552e-01 0.000000000000000e+00 0.000000000000000e+00
26+
yras = 0.000000000000000e+00 0.000000000000000e+00 -9.999999403953552e-01
27+
zras = 0.000000000000000e+00 9.999999403953552e-01 0.000000000000000e+00
28+
cras = -9.999847412109375e-01 -5.000015258789062e+00 -1.000038146972656e+00
29+
subject sub-01
30+
fscale 0.100000
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#Insight Transform File V1.0
2+
#Transform 0
3+
Transform: AffineTransform_double_3_3
4+
Parameters: 0.99971085786819458 0.0058247237466275692 0.023335624486207962 0.0095805395394563675 0.79349809885025024 -0.608498215675354 -0.022061100229620934 0.60854566097259521 0.79321271181106567 -5.5388064384460449 -45.559787750244141 -48.801029205322266
5+
FixedParameters: 0 0 0
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Created with lta_convert
2+
# lta_convert --inlta from-fsnative_to-bold_mode-image.lta --outlta from-fsnative_to-bold_mode-image_type-ras2ras.lta
3+
type = 1 # LINEAR_RAS_TO_RAS
4+
nxforms = 1
5+
mean = 0.0000 0.0000 0.0000
6+
sigma = 10000.0000
7+
1 4 4
8+
9.997106194496155e-01 9.580537676811218e-03 2.206108532845974e-02 -4.897087097167969e+00
9+
5.824727471917868e-03 7.934973239898682e-01 -6.085451841354370e-01 -6.588146209716797e+01
10+
-2.333561331033707e-02 6.084975600242615e-01 7.932120561599731e-01 1.111579895019531e+01
11+
0.000000000000000e+00 0.000000000000000e+00 0.000000000000000e+00 1.000000000000000e+00
12+
src volume info
13+
valid = 1 # volume info valid
14+
filename = /home/oesteban/tmp/fmriprep-ds005/fprep-work/fmriprep_wf/single_subject_01_wf/func_preproc_task_mixedgamblestask_run_01_wf/bold_reg_wf/bbreg_wf/bbregister/uni_xform_masked.nii.gz
15+
volume = 64 64 34
16+
voxelsize = 3.125000000000000e+00 3.125000000000000e+00 4.000000000000000e+00
17+
xras = -1.000000000000000e+00 0.000000000000000e+00 0.000000000000000e+00
18+
yras = 0.000000000000000e+00 1.000000000000000e+00 0.000000000000000e+00
19+
zras = 0.000000000000000e+00 0.000000000000000e+00 1.000000000000000e+00
20+
cras = 1.000000000000000e+00 2.800000000000000e+01 -3.100000000000000e+01
21+
dst volume info
22+
valid = 1 # volume info valid
23+
filename = /oak/stanford/groups/russpold/data/openfmri/derivatives/ds000005/freesurfer-6.0.1/sub-01/mri/orig.mgz
24+
volume = 256 256 256
25+
voxelsize = 1.000000000000000e+00 1.000000000000000e+00 1.000000000000000e+00
26+
xras = -9.999999403953552e-01 0.000000000000000e+00 0.000000000000000e+00
27+
yras = 0.000000000000000e+00 0.000000000000000e+00 -9.999999403953552e-01
28+
zras = 0.000000000000000e+00 9.999999403953552e-01 0.000000000000000e+00
29+
cras = -9.999847412109375e-01 -5.000015258789062e+00 -1.000038146972656e+00
30+
subject sub-01
31+
fscale 0.100000

0 commit comments

Comments
 (0)