QMRITools`
QMRITools`
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 registeration is done the moving2nd data is deformed acording to the output of the registrtion 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 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. 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 segmenation is expected as the second moving input. Uses SplitSegmenations internally then.