--
You received this message because you are subscribed to the Google Groups "gerardus-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gerardus-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "gerardus-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gerardus-users+unsubscribe@googlegroups.com.
import SimpleITK as sitk # Compute the transformation from moving image to the fixed image elastixImageFilter = sitk.ElastixImageFilter() elastixImageFilter.SetFixedImage(sitk.ReadImage("fixedImage.nii") elastixImageFilter.SetMovingImage(sitk.ReadImage("movingImage.nii") elastixImageFilter.Execute() # Warp point set. The transformed points will be written to a file named # outputpoints.txt in the output directory determined by SetOutputDirectory() # (defaults to working directory) transformixImageFilter = sitk.TransformixImageFilter() transformixImageFilter.SetTransformParameterMap(elastixImageFilter.GetTransformParameterMap()) transformixImageFilter.SetFixedPointSet("fixedPointSet.pts") transformixImageFilter.Execute()
--
You received this message because you are subscribed to the Google Groups "gerardus-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gerardus-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.