|
164 | 164 | % map = map.default; |
165 | 165 | % |
166 | 166 |
|
167 | | - prfx_spec = { ... |
168 | | - { obj.bias_cor }, obj.cfg.segment.bias_corrected; ... |
| 167 | + prfx_spec = {{ obj.bias_cor }, obj.cfg.segment.bias_corrected; ... |
169 | 168 | { 'c1' }, obj.cfg.segment.gm; ... |
170 | 169 | { 'c2' }, obj.cfg.segment.wm; ... |
171 | 170 | { 'c3' }, obj.cfg.segment.csf; ... |
172 | 171 | { 'iy_' }, obj.cfg.segment.deformation_field.from_mni; ... |
173 | 172 | { 'y_' }, obj.cfg.segment.deformation_field.to_mni; ... |
174 | | - { 'segparam_' }, obj.cfg.segment.param; ... |
175 | | - { obj.stc, [obj.unwarp, obj.stc]}, obj.cfg.stc; ... |
176 | | - { 'unwarpparam_' }, obj.cfg.realign_unwarp_param; ... |
177 | | - { obj.unwarp }, obj.cfg.realign_unwarp; ... |
178 | | - { 'rp_', ['rp_' obj.stc] }, obj.cfg.real_param; ... |
| 173 | + { 'segparam_' }, obj.cfg.segment.param; ... |
| 174 | + { obj.stc, [obj.unwarp, obj.stc]}, obj.cfg.stc; ... |
| 175 | + { 'unwarpparam_' }, obj.cfg.realign_unwarp_param; ... |
| 176 | + { obj.unwarp }, obj.cfg.realign_unwarp; ... |
| 177 | + { 'rp_', ['rp_' obj.stc] }, obj.cfg.real_param; ... |
179 | 178 | { 'mean', ... |
180 | 179 | ['mean' obj.unwarp], ... |
181 | | - ['mean' obj.unwarp, obj.stc] }, obj.cfg.mean; ... |
| 180 | + ['mean' obj.unwarp, obj.stc] }, obj.cfg.mean; ... |
182 | 181 | { obj.norm, ... |
183 | 182 | [obj.norm, obj.bias_cor], ... |
184 | 183 | [obj.norm, obj.unwarp, obj.stc], ... |
185 | 184 | [obj.norm, obj.realign, obj.stc], ... |
186 | 185 | [obj.norm, obj.unwarp], ... |
187 | | - [obj.norm, obj.realign] }, obj.cfg.preproc_norm; ... |
188 | | - { [obj.norm, 'mean', obj.unwarp] }, obj.cfg.normalized_mean; ... |
189 | | - { [obj.norm, 'c1'] }, obj.cfg.segment.gm_norm; ... |
190 | | - { [obj.norm, 'c2'] }, obj.cfg.segment.wm_norm; ... |
191 | | - { [obj.norm, 'c3'] }, obj.cfg.segment.csf_norm; ... |
| 186 | + [obj.norm, obj.realign] }, obj.cfg.preproc_norm; ... |
| 187 | + { [obj.norm, 'mean', obj.unwarp] }, obj.cfg.normalized_mean; ... |
| 188 | + { [obj.norm, 'c1'] }, obj.cfg.segment.gm_norm; ... |
| 189 | + { [obj.norm, 'c2'] }, obj.cfg.segment.wm_norm; ... |
| 190 | + { [obj.norm, 'c3'] }, obj.cfg.segment.csf_norm; ... |
192 | 191 | {[obj.smooth, obj.norm], ... |
193 | 192 | [obj.smooth, obj.norm, obj.unwarp, obj.stc], ... |
194 | 193 | [obj.smooth, obj.norm, obj.realign, obj.stc], ... |
|
198 | 197 | [obj.smooth, obj.unwarp, obj.stc], ... |
199 | 198 | [obj.smooth, obj.realign, obj.stc], ... |
200 | 199 | [obj.smooth, obj.unwarp], ... |
201 | | - [obj.smooth, obj.realign]}, obj.cfg.smooth |
202 | | - }; |
| 200 | + [obj.smooth, obj.realign]}, obj.cfg.smooth}; |
203 | 201 |
|
204 | 202 | for i_map = 1:size(prfx_spec, 1) |
205 | 203 | obj = obj.add_mapping('prefix', prfx_spec{i_map, 1}, ... |
|
0 commit comments