vmr.createvtc
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | vmr.createvtc [2010/08/11 13:35] (current) – created jochen | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== vmr.CreateVTC ====== | ||
+ | |||
+ | ===== Motivation ===== | ||
+ | The main motivation for using this function is the ability to flexibly script VTC creation from FMR files using transformation files created in BrainVoyager QX (coregistration initial and fine alignment, as well as ACPC and TAL normalization files). | ||
+ | |||
+ | ===== Method reference (' | ||
+ | < | ||
+ | |||
+ | | ||
+ | |||
+ | Input fields: | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | ===== Usage example ===== | ||
+ | To load files manually and then creating a VTC, the following code can be used: | ||
+ | |||
+ | <code matlab vmr_createvtc_manual.m> | ||
+ | vmr = xff(' | ||
+ | fmr = xff(' | ||
+ | ia = xff(' | ||
+ | fa = xff(' | ||
+ | acpc = {xff(' | ||
+ | if ~isempty(acpc{1}) | ||
+ | tal = {xff(' | ||
+ | if isempty(tal{1}) | ||
+ | tal = {}; | ||
+ | space = ' | ||
+ | else | ||
+ | space = ' | ||
+ | end | ||
+ | else | ||
+ | acpc = {}; | ||
+ | space = ''; | ||
+ | end | ||
+ | |||
+ | % make a call to vmr.CreateVTC (will save VTC already!) | ||
+ | vtc = vmr.CreateVTC(fmr, | ||
+ | strrep(fmr.FilenameOnDisk, | ||
+ | 3, ' | ||
+ | |||
+ | % clear objects | ||
+ | xffclearobjects({vtc, | ||
vmr.createvtc.txt · Last modified: 2010/08/11 13:35 by jochen