vmrspmcoreg
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | vmrspmcoreg [2010/06/22 19:58] (current) – created jochen | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== vmrspmcoreg ====== | ||
| + | ===== Motivation ===== | ||
| + | The main motivation for this function is to cross-check BrainVoyager' | ||
| + | |||
| + | ===== Requirements ===== | ||
| + | For this function to work, either SPM5 or SPM8 must be available on the path. For SPM8, it is important that all required subfolders (e.g. matlabbatch, | ||
| + | |||
| + | Also, Matlab must have write access to the temporary folder (on Unix-ish systems, that usually is ''/ | ||
| + | |||
| + | W.r.t. to the VMRs, you must have two objects loaded which you want to bring into the same space (whereas the reference/ | ||
| + | |||
| + | ===== Function reference ('help vmrspmcoreg' | ||
| + | < | ||
| + | |||
| + | FORMAT: | ||
| + | |||
| + | Input fields: | ||
| + | |||
| + | srcvmr | ||
| + | refvmr | ||
| + | |||
| + | Output fields: | ||
| + | |||
| + | vmrtrf | ||
| + | |||
| + | ===== Notes ===== | ||
| + | These are the steps taken by vmrspmcoreg: | ||
| + | * load the required batch/job file for the available SPM version | ||
| + | * write both VMRs as Analyze files (using the [[vmr.WriteAnalyzeVol]] method) | ||
| + | * putting the two filenames into the job | ||
| + | * passing control to SPM's job manager | ||
| + | * read back the Analyze file headers | ||
| + | * delete the temporary Analyze files | ||
| + | * determine the required transformation (incl. taking care of origin difference) | ||
| + | * create TRF object and settings all required fields | ||
| + | |||
| + | ===== Example ===== | ||
| + | For an example, check the reference page of [[vmr.ApplyTRF]], | ||
vmrspmcoreg.txt · Last modified: 2010/06/22 19:58 by jochen
