RegisterData
RegisterData[data]
registers the data series. If data is 3D it performs multiple 2D registration,if data is 4D it performs multipe 3D registration. The input data can be in the forms: data,{data,vox},{data,mask} or {data,mask,vox}.
RegisterData[target,moving]
registers the moving data to the target data. target can be 2D or 3D. moving can be the same of one dimension higher than the target. The inputs target and moving can be in the forms: data, {data, vox}, {data, mask} or {data, mask, vox}. Output is the registered data with the dimensions of the moving data. If OutputTransformation is True it also outputs the translation, rotation scale and skew of all images or volumes.
is based on DOI: 10.1109/TMI.2009.2035616 and 10.3389/fninf.2013.00050.
Details
- The following options can be given:
-
Iterations 250 Iterations is an options for RegisterData, RegisterDiffusionData, and RegisterDataTransform. It specifies the number of iterations used by the registration functions. Resolutions 1 Resolutions is an options for RegisterData, RegisterDiffusionData, and RegisterDataTransform. It specifies the number of scale space resolutions used by the registration functions. HistogramBins 32 HistogramBins is an options for RegisterData, RegisterDiffusionData, and RegisterDataTransform. It specifies the number of bins of the joined histogram used by the registration functions. NumberSamples 5000 NumberSamples is an options for RegisterData, RegisterDiffusionData, and RegisterDataTransform. It specifies the number of random samples that are taken each iteration used by the registration functions. InterpolationOrderReg 3 InterpolationOrderReg is an options for RegisterData, RegisterDiffusionData, and RegisterDataTransform. It specifies the interpolation order used in the registration functions. BsplineSpacing 30 BsplineSpacing is an options for RegisterData, RegisterDiffusionData, RegisterCardiacData and RegisterDataTransform. It specifies the spacing of the bsplines if the method is "bspline". BsplineDirections {1, 1, 1} BsplineDirections is an option for RegisterData ad RegisterDiffusionData. It gives the direction in which the bsplines are allowed to move when registering diffusion data to anatomical space. AffineDirections {1, 1, 1} AffineDirections is an option for RegisterData ad RegisterDiffusionData. It gives the directions in which data can be moved when registering diffusion data to anatomical space. MethodReg "affine" MethodReg is an options for RegisterData, RegisterDiffusionData, RegisterCardiacData and RegisterDataTransform. It spefifies which registration method to use. Mehtods can be be "translation", "rigid", "affine", "bspline", "rigidDTI", "affineDTI", "PCAtranslation", "PCArigid", "PCAaffine", or "PCAbspline". OutputImage True OutputImage is an options for RegisterData, RegisterDiffusionData, and RegisterDataTransform. It specifies if the result image should be writen in the TempDirectory as nii file. TempDirectory "Default" TempDirectory is an options for RegisterData, RegisterDiffusionData, RegisterCardiacData and RegisterDataTransform. It specifies the temprary directory used to perform and output the registration. DeleteTempDirectory True DeleteTempDirectory an options for RegisterData, RegisterDiffusionData, RegisterCardiacData and RegisterDataTransform. It specifies if the temp directory should be deleted after the registration is finisched. PrintTempDirectory True PrintTempDirectory is an options for RegisterData, RegisterDiffusionData, RegisterCardiacData and RegisterDataTransform. It spefifies if the location of the temp directory should be deplayed. OutputTransformation False OutputTransformation is an option for RegisterData ad RegisterDiffusionData. It specifies if the tranformation paramters (translation, rotation, scale and skew) should be given as output in the registration functions. UseGPU {False, Automatic} UseGPU is an option for RegisterData. The value is {bool, gpu} where bool is True or False, and gpu is the gpu ID which is an integer or Automatic. PCAComponents 1 PCAComponents is an option for RegisterData. It speciefies how many PCA components are used if method is set to "PCA". ShowMetric False ShowMetric is an option for RegisterData. If set to True it will print a plot of the Metric.