Transforms the time course data of an FMR project into a defined 3D space, typically Talairach space. The result of this transformation is a VTC file.
objDocument.CreateVTC(strFileFMR, strFile2D3DTRF, strFileACPCTRFF, strFileCerebrumTAL, strFileVTC)
Valid only if objDocument is of type VMR. FMR projects contain functional data in the originally recorded slices without any knowledge about where these slices are located with respect to a 3D reference frame, i.e. Talairach space. Transforming the functional data in Talairach space allows to analyze data from the same subject across different scanner sessions as well as to analyze data coming from different subjects. The resulting 4D VTC file consists of a series of 3D volumes aligned in stereotactic space. The file is saved to disk under the name strFileVTC entered as the last parameter. The first parameter strFileFMR specifies the FMR project whose functional data should be transformed in 3D space (the functional data actually resides in STC files which are referenced by the FMR project). The spatial transformation into Talairach space is controlled by three files which must exist prior to calling this method. The strFile2D3DTRF is responsible to align the stack of 2D slices at the correct position of a 3D VMR data set which is typically recorded in the same session as the functional data. If this is the case, the alignment can be done automatically based on the header information of the functional and anatomical data sets (assuming no or only minimal motion between the two data sets). The automatic alignment is currently only possible for Siemens IMA and DICOM files but should be available soon also for Philips and GE scanners (for further information, contact Brain Innovation). If the necessary header information is not available, the alignment has to be performed interactively within BrainVoyager. If the functional data has been registered with a 3D VMR data set, the further alignment information can be obtained from anatomical transformations. The 3D data set to which the functional data has been aligned can be rotated into the AC-PC plane as specified in chapter ?. If you have already once rotated a 3D data set of the same subject into the AC-PC plane, you can use BrainVoyager's automatic 3D-3D alignment routine to do this step. In both cases, a TRF file is produced which transforms the source 3D data set into the AC-PC plane. Since the functional data should undergo exactly the same transformation, you mus enter the obtained file as the strFileACPCTRFF file for the present method. The AC-PC plane space is not Talairach space. The final step is to apply a non-linear scaling operation to bring the data in stereotactic space. This is done for the 3D VMR data set in AC-PC space and results in a TAL file. In order to apply the same transformatio to the functional data, enter the obtained file as the strFileCerebrumTAL file.
' VBScript
Set doc = BrainVoyager.OpenDocument("cg_3DMPR.vmr")
doc.CreateVTC "cg_objects_sc.fmr", "cg_2D3D.trf",
"cg_ACPC.trf", "cg.tal", "cg_objects_sc.vtc"
// JScript
doc = BrainVoyager.OpenDocument("cg_3DMPR.vmr");
doc.CreateVTC("cg_objects_sc.fmr", "cg_2D3D.trf",
"cg_ACPC.trf", "cg.tal", "cg_objects_sc.vtc");
#
PerlScript
$doc = $BrainVoyager->OpenDocument("cg_3DMPR.vmr");
$doc->CreateVTC("cg_objects_sc.fmr", "cg_2D3D.trf",
"cg_ACPC.trf", "cg.tal", "cg_objects_sc.vtc");