@@ -29,32 +29,32 @@ d = reconstruction_MP2RAGE(path_bruker; mean_NR=true)
29
29
30
30
31
31
# the result is a dictionnary with the following fields :
32
- # - "im_reco" : (x,y,z,Number of Channel , Number of Repetition,TI) Complex
33
- # - "MP2RAGE" : (x,y,z,Number of Channel , Number of Repetition) Float
34
- # - "T1map" : (x,y,z,Number of Channel , Number of Repetition) Float
32
+ # - "im_reco" : (x,y,z, Number of Repetition,TI) Complex
33
+ # - "MP2RAGE" : (x,y,z , Number of Repetition) Float
34
+ # - "T1map" : (x,y,z , Number of Repetition) Float
35
35
# - "params_prot"
36
36
# - "params_reco"
37
37
# - "params_MP2RAGE"
38
38
#
39
- # im_reco corresponds to the TI₁ and TI₂ images in the complex format with 6 dimensions :
40
- # (x,y,z, Number of Channel , Number of Repetition,TI)
39
+ # im_reco corresponds to the TI₁ and TI₂ images in the complex format with 5 dimensions :
40
+ # (x,y,z , Number of Repetition,TI). Channels are combined during the reconstruction
41
41
42
42
43
43
# We can check the results
44
44
45
45
begin
46
46
f = Figure (size= (500 ,400 ))
47
47
ax= Axis (f[1 ,1 ],title= " TI₁" )
48
- h= heatmap! (ax,abs .(d[" im_reco" ][:,:,60 ,1 ,1 , 1 ]),colormap= :grays )
48
+ h= heatmap! (ax,abs .(d[" im_reco" ][:,:,60 ,1 ,1 ]),colormap= :grays )
49
49
50
50
ax= Axis (f[1 ,2 ],title= " TI₂" )
51
- h= heatmap! (ax,abs .(d[" im_reco" ][:,:,60 ,1 ,1 , 2 ]),colormap= :grays )
51
+ h= heatmap! (ax,abs .(d[" im_reco" ][:,:,60 ,1 ,2 ]),colormap= :grays )
52
52
53
53
ax= Axis (f[2 ,1 ],title= " UNIT1 / MP2RAGE" )
54
- h= heatmap! (ax,d[" MP2RAGE" ][:,:,60 ,1 , 1 ],colormap= :grays )
54
+ h= heatmap! (ax,d[" MP2RAGE" ][:,:,60 ,1 ],colormap= :grays )
55
55
56
56
ax= Axis (f[2 ,2 ],title= " T₁ map" )
57
- h= heatmap! (ax,d[" T1map" ][:,:,60 ,1 , 1 ],colorrange = (500 ,2000 ))
57
+ h= heatmap! (ax,d[" T1map" ][:,:,60 ,1 ],colorrange = (500 ,2000 ))
58
58
59
59
for ax in f. content # hide decoration befor adding colorbar
60
60
hidedecorations! (ax)
0 commit comments