RegisterDataTransform[target,moving,{moving2nd,vox}]
performs the registration exactly as RegisterData. target and moving are the inputs for RegisterData, which can be {data,mask,vox}. After the registration is done the moving2nd data is deformed according to the output of the registration of moving. moving2nd can have the same dimensions of moving or one dimension higher (e.g. 3D and 3D or 3D and 4D). Output is {registered moving, deformed moving2nd}.
RegisterDataTransform
RegisterDataTransform[target,moving,{moving2nd,vox}]
performs the registration exactly as RegisterData. target and moving are the inputs for RegisterData, which can be {data,mask,vox}. After the registration is done the moving2nd data is deformed according to the output of the registration of moving. moving2nd can have the same dimensions of moving or one dimension higher (e.g. 3D and 3D or 3D and 4D). Output is {registered moving, deformed moving2nd}.
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 64 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 10000 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 bspline if the method is "bspline". BsplineDirections {1, 1, 1} BsplineDirections is an option for RegisterData ad RegisterDiffusionData. It gives the direction in which the bspline 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 specifies which registration method to use. Methods 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 written in the TempDirectory as nii file. TempDirectory "Default" TempDirectory is an options for RegisterData, RegisterDiffusionData, RegisterCardiacData and RegisterDataTransform. It specifies the temporary 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 finished. PrintTempDirectory True PrintTempDirectory is an options for RegisterData, RegisterDiffusionData, RegisterCardiacData and RegisterDataTransform. It specifies if the location of the temp directory should be displayed. OutputTransformation False OutputTransformation is an option for RegisterData ad RegisterDiffusionData. It specifies if the transformation parameters (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 specifies 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. TransformMethod "Data" TransformMethod is an option for RegisterDataSplit and RegisterDataTransformSplit. values can be "Data", "Mask", "Segmentation". If set to "Mask" a binary mask is expected as the second moving input. If set to "Segmentation" a multi label segmentation is expected as the second moving input. Uses SplitSegmentations internally then. ImportDeformation False ImportDeformation is an option for TransformData and RegisterTransformData. It specifies if the transformation field which is generated by Transformix should be imported along side the transformation result.